]> git.karo-electronics.de Git - linux-beck.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)
commitb55ae0a976f2927ea8f15a85c43bbe6d25a68a41
treecc698532742f02295d114f271c6c175d5d04ec62
parent3445432b7b24665cf4693fc4794c62d4d768a978
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