diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-01-25 18:04:47 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-01-26 11:52:52 -0300 |
commit | ab414dcda8fa307388c40a540b35e3c98a9da5ae (patch) | |
tree | 6c19f6dc18976afe47797c93c2251bda8c13b174 /tools/perf/tests/bpf-script-test-relocation.c | |
parent | 8acd3da03c3f6e4e31472c5c73402b95a5d0f6cb (diff) | |
download | linux-ab414dcda8fa307388c40a540b35e3c98a9da5ae.tar.gz linux-ab414dcda8fa307388c40a540b35e3c98a9da5ae.tar.bz2 linux-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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-jj1vlljg7ol4i713l60rt5ai@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/bpf-script-test-relocation.c')
0 files changed, 0 insertions, 0 deletions