aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMichael Petlan <[email protected]>2021-09-22 17:27:06 +0200
committerArnaldo Carvalho de Melo <[email protected]>2021-09-29 14:13:42 -0300
commit2b775152bbe838c9de0055eb5bdb530c2c88235b (patch)
treecbdc75c6275fcbb85b78d3795a0f7b3696c6c57e /tools/perf/scripts/python/bin/stackcollapse-report
parent94886961e324d5b6bae8e206b227c6eeb0f22c2c (diff)
perf tests vmlinux-kallsyms: Ignore hidden symbols
Certain kernel symbols are purposely hidden from kallsyms. The function is_ignored_symbol() from scripts/kallsyms.c decides if a symbol should be hidden or not. The perf test "vmlinux symtab matches kallsyms" fails in case perf finds some of the hidden symbols in its machine image and can't match them to kallsyms. Let's add a filter to check if a symbol not found isn't one of these before failing the test. The function is_ignored_symbol() has been copied from scripts/kallsyms.c and needs to be updated along with the original. Signed-off-by: Michael Petlan <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> LPU-Reference: [email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions