linux-stable/tools/perf/tests
Arnaldo Carvalho de Melo 54359d3340 perf test: Check for linking problems in the python binding
It just will add the O= builddir to PYTHONPATH and try to 'use perf',
which will, in verbose mode show the python backtrace with the missing
symbols, such as in the problem fixed in the patch after this one:

  # perf test -v 15
  15: Try 'use perf' in python, checking link problems       :
  --- start ---
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  ImportError: /home/acme/git/build/perf//python/perf.so: undefined symbol: test_attr__enabled
  ---- end ----
  Try 'use perf' in python, checking link problems: FAILED!
  #

Loooong overdue, done.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-zmd2oq9gz6t1u145ub7qm2nv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-24 16:40:09 -03:00
..
attr perf test: Remove leftover temp file left by one of the attr tests 2013-01-24 16:40:07 -03:00
attr.c
attr.py perf tests: Adjust some message log levels to help diagnosing problems in attr tests 2013-01-24 16:40:08 -03:00
builtin-test.c perf test: Check for linking problems in the python binding 2013-01-24 16:40:09 -03:00
dso-data.c
evsel-roundtrip-name.c
evsel-tp-sched.c
hists_link.c perf test: Add a test case for hists__{match,link} 2013-01-24 16:40:07 -03:00
mmap-basic.c perf evsel: Introduce method to request IDs be used 2012-12-10 15:21:30 -03:00
open-syscall-all-cpus.c perf test: Use perf_evsel__newtp constructor in the tracepoint tests 2012-12-10 15:11:43 -03:00
open-syscall-tp-fields.c
open-syscall.c perf test: Use perf_evsel__newtp constructor in the tracepoint tests 2012-12-10 15:11:43 -03:00
parse-events.c perf evsel: Convert to _is_group_leader method 2012-12-09 08:46:06 -03:00
perf-record.c perf evlist: Set the leader in the perf_evlist__config method 2012-12-11 17:19:01 -03:00
pmu.c
python-use.c perf test: Check for linking problems in the python binding 2013-01-24 16:40:09 -03:00
rdpmc.c
tests.h perf test: Check for linking problems in the python binding 2013-01-24 16:40:09 -03:00
vmlinux-kallsyms.c