Skip to content

perf tools: Additional works for memory access sampling

Namhyung Kim lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6perf tools: Synthesize data mmap events for threadstools/perf/util/event.c+35 -431 reply
2/6perf tools: Set kernel data mapping lengthtools/perf/util/machine.c+13 -91 reply
3/6perf tools: Fix detection of stack areatools/perf/util/map.c+1 -11 reply
4/6perf tools: Ignore ABS symbols when loading data mapstools/perf/util/symbol-elf.c+3 -00 replies
5/6perf tools: Fix output of symbol_daddr offsettools/perf/util/sort.c+1 -10 replies
6/6perf tools: Free {branch,mem}_info when freeing hist_entrytools/perf/util/hist.c+2 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/6] perf tools: Additional works for memory access sampling

Hi,

During playing with the Stephane's memory access sampling series [1], I needed to have these patches to make perf mem work properly.

It still gets a segfult when analyzing system wide sample data, and needs more work on dealing with kernel's percpu symbols and rodata symbols in user app, it worked well for my toy application at least sometimes. ;-) I'll continue to chasing it down but before doing it I'd like to share what I have now.

Thanks,
Namhyung

[1] https://lkml.org/lkml/2012/11/5/485

Namhyung Kim (6):
perf tools: Synthesize data mmap events for threads perf tools: Set kernel data mapping length
perf tools: Fix detection of stack area
perf tools: Ignore ABS symbols when loading data maps perf tools: Fix output of symbol_daddr offset perf tools: Free {branch,mem}_info when freeing hist_entry

 tools/perf/util/event.c      | 78 ++++++++++++++++++++------------------------
 tools/perf/util/hist.c       |  2 ++
 tools/perf/util/machine.c    | 22 ++++++++-----
 tools/perf/util/map.c        |  2 +-
 tools/perf/util/sort.c       |  2 +-
 tools/perf/util/symbol-elf.c |  3 ++
 6 files changed, 55 insertions(+), 54 deletions(-)
Signature · 1 line
1.7.11.7