]> git.baikalelectronics.ru Git - kernel.git/commit
perf tests: Add test for reading object code
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 7 Aug 2013 11:38:45 +0000 (14:38 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 7 Aug 2013 20:35:30 +0000 (17:35 -0300)
commit80bfb407a73a65d9766da7b6d13a5b5fe651424e
treecc698532742f02295d114f271c6c175d5d04ec62
parent97a230ba4ba83fe8c4366c86f3472c4712f9a11e
perf tests: Add test for reading object code

Using the information in mmap events, perf tools can read object code
associated with sampled addresses.  A test is added that compares bytes
read by perf with the same bytes read using objdump.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
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/r/1375875537-4509-2-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/tests/builtin-test.c
tools/perf/tests/code-reading.c [new file with mode: 0644]
tools/perf/tests/tests.h