aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-01-25 21:04:47 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-01-26 14:52:52 +0000
commitab414dcda8fa307388c40a540b35e3c98a9da5ae (patch)
tree6c19f6dc18976afe47797c93c2251bda8c13b174 /tools/perf/scripts/python
parentperf machine: Introduce machine__find_kernel_symbol_by_name() (diff)
downloadkernel-ab414dcda8fa307388c40a540b35e3c98a9da5ae.tar.gz
kernel-ab414dcda8fa307388c40a540b35e3c98a9da5ae.zip
perf test: Fixup aliases checking in the 'vmlinux matches kallsyms' test
There are cases where looking at just the next and prev entries is not enough, like with: $ readelf -sW /usr/lib/debug/lib/modules/4.3.3-301.fc23.x86_64/vmlinux | grep ffffffff81065ec0 4979: ffffffff81065ec0 53 FUNC LOCAL DEFAULT 1 try_to_free_pud_page 4980: ffffffff81065ec0 53 FUNC LOCAL DEFAULT 1 try_to_free_pte_page 4981: ffffffff81065ec0 53 FUNC LOCAL DEFAULT 1 try_to_free_pmd_page So just search by name to see if the symbol is in kallsyms. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions