diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2009-10-05 23:35:03 -0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-06 12:08:08 +0200 |
commit | 818331303bc7cb914351c992d3da00aae957eba7 (patch) | |
tree | 64a2023fb783dcd241bbeb84793112c6a23e8f98 /tools/perf/scripts/python/check-perf-trace.py | |
parent | ee949a86b3aef15845ea677aa60231008de62672 (diff) |
perf tools: elf_sym__is_function() should accept "zero" sized functions
Asm routines that end up having size equal to zero are not really
zero sized, and as now we do kernel_maps__fixup_sym_end, at least
for kernel routines this gets fixed.
A similar fixup needs to be done for the userspace bits as well,
but as this fixup started only because in /proc/kallsyms we don't
have the end address nor the function size, it appeared here first.
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions