diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2010-04-01 21:24:38 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-04-02 16:28:25 -0300 |
commit | 71cf8b8ff7d6a79af086be9e4c72628da9d62d58 (patch) | |
tree | 8a8d6f97995133971d8f8bec3f4a885070ce103f /tools/perf/scripts/python/check-perf-trace.py | |
parent | e727ca73f85d4c5be3547eda674168219d1c22d8 (diff) |
perf kmem: Fixup the symbol address before using it
We get absolute addresses in the events, but relative ones from the
symbol subsystem, so calculate the absolute address by asking for the
map where the symbol was found, that has the place where the DSO was
actually loaded.
For the core kernel this poses no problems if the kernel is not
relocated by things like kexec, or if we use /proc/kallsyms, but for
modules we were getting really large, negative offsets.
LKML-Reference: <new-submission>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions