Re: [PATCH 0/7 V4] perf: Enable mmap2 and add dcacheline sorting

2014-05-30 Thread Namhyung Kim
On Tue, 27 May 2014 12:28:00 -0400, Don Zickus wrote:
> These patches enable mmap2 support in the kernel and perf to
> allow support for data cacheline sorting.
>
> Note: I haven't been able to reproduce Jiri's perf hang yet, so I don't
> have a patch for that particular problem yet.

I have no idea what the hang case is, but from a quick look, the code
for the tooling part (beside few nitpicks) looks good to me.

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/7 V4] perf: Enable mmap2 and add dcacheline sorting

2014-05-27 Thread Don Zickus
These patches enable mmap2 support in the kernel and perf to
allow support for data cacheline sorting.

Note: I haven't been able to reproduce Jiri's perf hang yet, so I don't
have a patch for that particular problem yet.

V4: reworked setting up cacheline size (Jiri Olsa)

V3: added patch to get cacheline size at runtime
updated some changelogs
fix a test failure (after install libunwind-devel)
fix header column length

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

Don Zickus (7):
  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 support to dynamically get cacheline size
  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/perf.c|   5 ++
 tools/perf/tests/dwarf-unwind.c  |   2 +-
 tools/perf/util/cpumap.c |  27 
 tools/perf/util/cpumap.h |   3 +
 tools/perf/util/event.c  |  59 +++--
 tools/perf/util/event.h  |   2 +
 tools/perf/util/evsel.c  |   1 +
 tools/perf/util/hist.c   |   9 ++-
 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   | 108 +++
 tools/perf/util/sort.h   |   2 +
 tools/perf/util/util.c   |   1 +
 tools/perf/util/util.h   |   1 +
 20 files changed, 265 insertions(+), 31 deletions(-)

-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/