Skip to content

perf: Enable mmap2 and add dcacheline sorting

Don Zickus lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 23 repliesIn review
  2. v16 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6events, perf: Pass protection and flags bits through mmap2 interfaceinclude/uapi/linux/perf_event.h kernel/events/core.c+34 -04 replies
2/6Revert "perf: Disable PERF_RECORD_MMAP2 support"kernel/events/core.c tools/perf/util/event.c tools/perf/util/evsel.c+20 -214 replies
3/6perf: Update mmap2 interface with protection and flag bitstools/perf/util/event.c tools/perf/util/event.h tools/perf/util/machine.c +2 more+32 -50 replies
4/6perf report: Add mem-mode documentation to report commandtools/perf/Documentation/perf-report.txt+22 -00 replies
5/6perf: Add cpumode to struct hist_entrytools/perf/util/hist.c tools/perf/util/sort.h+5 -30 replies
6/6perf: Add dcacheline sorttools/perf/Documentation/perf-report.txt tools/perf/builtin-report.c tools/perf/util/hist.h +2 more+110 -214 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH 0/6 V2] perf: Enable mmap2 and add dcacheline sorting

These patches enable mmap2 support in the kernel and perf to allow support for data cacheline sorting.

V2: change cacheline to dcacheline (Namhyung Kim)
change dcacheline alogorithm a bit
re-order mmap2 patches (Namhyung Kim)
provide documentation (Andi Kleen)

Don Zickus (6):
events, perf: Pass protection and flags bits through mmap2 interface Revert "perf: Disable PERF_RECORD_MMAP2 support"
perf: Update mmap2 interface with protection and flag bits perf report: Add mem-mode documentation to report command
perf: Add cpumode to struct hist_entry
perf: Add dcacheline sort

 include/uapi/linux/perf_event.h          |   1 +
 kernel/events/core.c                     |  37 +++++++++--
 tools/perf/Documentation/perf-report.txt |  23 +++++++
 tools/perf/builtin-report.c              |   2 +-
 tools/perf/util/event.c                  |  59 +++++++++++------
 tools/perf/util/event.h                  |   2 +
 tools/perf/util/evsel.c                  |   1 +
 tools/perf/util/hist.c                   |   7 ++-
 tools/perf/util/hist.h                   |   1 +
 tools/perf/util/machine.c                |   4 +-
 tools/perf/util/map.c                    |   4 +-
 tools/perf/util/map.h                    |   4 +-
 tools/perf/util/sort.c                   | 105 +++++++++++++++++++++++++++++++
 tools/perf/util/sort.h                   |   2 +
 14 files changed, 222 insertions(+), 30 deletions(-)
Signature · 1 line
1.7.11.7