diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-09-01 11:00:23 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-09-01 12:42:24 -0300 |
commit | 432746f8e0b6a82ba832b771afe31abd51af6752 (patch) | |
tree | fd97512e09ccf8aefea9e68620835f850e146f00 /scripts/gdb/linux/lists.py | |
parent | c97b40e4d15f13a36cd037d598e45cbe9e1e5757 (diff) |
perf symbols: Fixup symbol sizes before picking best ones
When we call symbol__fixup_duplicate() we use algorithms to pick the
"best" symbols for cases where there are various functions/aliases to an
address, and those check zero size symbols, which, before calling
symbol__fixup_end() are _all_ symbols in a just parsed kallsyms file.
So first fixup the end, then fixup the duplicates.
Found while trying to figure out why 'perf test vmlinux' failed, see the
output of 'perf test -v vmlinux' to see cases where the symbols picked
as best for vmlinux don't match the ones picked for kallsyms.
Cc: Anton Blanchard <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Fixes: 694bf407b061 ("perf symbols: Add some heuristics for choosing the best duplicate symbol")
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions