path: root/tools/perf/Documentation/perf.txt
diff options
authorArnaldo Carvalho de Melo <>2010-01-13 13:22:17 -0200
committerIngo Molnar <>2010-01-13 17:39:43 +0100
commitb7cece76783c68fb391f9882235b4b0c9c300c46 (patch)
tree8a0224493acc3cf74c218384a3b76b3e47c131a2 /tools/perf/Documentation/perf.txt
parentff314d3903c2843de65c2148f66f277f2440ed26 (diff)
perf tools: Encode kernel module mappings in
We were always looking at the running machine /proc/modules, even when processing a file, which only makes sense when we're doing 'perf record' and 'perf report' on the same machine, and in close sucession, or if we don't use modules at all, right Peter? ;-) Now, at 'perf record' time we read /proc/modules, find the long path for modules, and put them as PERF_MMAP events, just like we did to encode the reloc reference symbol for vmlinux. Talking about that now it is encoded in .pgoff, so that we can use .{start,len} to store the address boundaries for the kernel so that when we reconstruct the kmaps tree we can do lookups right away, without having to fixup the end of the kernel maps like we did in the past (and now only in perf record). One more step in the 'perf archive' direction when we'll finally be able to collect data in one machine and analyse in another. Signed-off-by: Arnaldo Carvalho de Melo <> Cc: Frédéric Weisbecker <> Cc: Mike Galbraith <> Cc: Peter Zijlstra <> Cc: Paul Mackerras <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'tools/perf/Documentation/perf.txt')
0 files changed, 0 insertions, 0 deletions