[PATCHv2 00/15] perf tools: Several memory events updates

From: Jiri Olsa
Date: Wed Feb 24 2016 - 03:47:07 EST

this is generic part of the c2c patchset. It contains
several enhancements for perf mem and script commands:

- display memory events properties in perf script
- perf mem DATALA events support
- few other assorted fixes/options

v2 changes:
- changed the output of perf mem record -e list [Arnaldo]
- rebased, some of the patches got already pulled in

Also available in here:


Jiri Olsa (15):
perf mem: Check for memory events support
perf mem: Introduce perf_mem_events__name function
perf mem: Add -l/--ldlat option
perf mem: Add -u/-k options
perf tools: Introduce perf_mem__tlb_scnprintf function
perf tools: Introduce perf_mem__lvl_scnprintf function
perf tools: Introduce perf_mem__snp_scnprintf function
perf tools: Introduce perf_mem__lck_scnprintf function
perf tools: Change perf_mem__tlb_scnprintf to return nb of displayed bytes
perf tools: Change perf_mem__lvl_scnprintf to return nb of displayed bytes
perf tools: Change perf_mem__snp_scnprintf to return nb of displayed bytes
perf tools: Change perf_mem__lck_scnprintf to return nb of displayed bytes
perf script: Display data_src values
perf x86 intel: Add DATALA events into sysfs
perf mem: Add Intel DATALA memory events

arch/x86/events/intel/core.c | 39 ++++++++++++++++++++
tools/perf/builtin-mem.c | 34 ++++++++++++++---
tools/perf/builtin-script.c | 20 +++++++++-
tools/perf/util/mem-events.c | 244 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
tools/perf/util/mem-events.h | 33 +++++++++++++++++
tools/perf/util/sort.c | 139 +++------------------------------------------------------------------
6 files changed, 366 insertions(+), 143 deletions(-)