diff options
author | Anton Blanchard <[email protected]> | 2011-08-24 16:40:15 +1000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-09-23 14:36:12 -0300 |
commit | 3f5a42722b9e78a434d5a4ee5e607dc33c69ac80 (patch) | |
tree | 9e6afedc145ecb85a3cd80916cac5717547e9755 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | adb091846318f86e4f46c7d6a7b40d2f478abdbe (diff) |
perf symbols: /proc/kallsyms does not sort module symbols
kallsyms__parse assumes that /proc/kallsyms is sorted and sets the end
of the previous symbol to the start of the current one.
Unfortunately module symbols are not sorted, eg:
ffffffffa0081f30 t e1000_clean_rx_irq [e1000e]
ffffffffa00817a0 t e1000_alloc_rx_buffers [e1000e]
Some symbols end up with a negative length and others have a length
larger than they should. This results in confusing perf output.
We already have a function to fixup the end of zero length symbols so
use that instead.
Cc: Eric B Munson <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions