]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Add support for printing new mem_info encodings
authorAndi Kleen <ak@linux.intel.com>
Wed, 16 Aug 2017 22:21:55 +0000 (15:21 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Aug 2017 15:30:25 +0000 (12:30 -0300)
commit819c50269aa55f2b09be00b3d84ccd6f273b2e23
tree60751abf140f76d14d15cd86b155ea296150d4a3
parentfbfc02df85b00d71810d2c13f4e70ce44d44c68c
perf tools: Add support for printing new mem_info encodings

Add decoding for the new "lvlx" and "snoopx" meminfo fields added
earlier to the kernel so that "perf mem report" and other tools can
print it properly.

v2: Merge with persistent memory patch.
Switch to new bit encoding for each combination.

v3: Switch to generic lvlnum field.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170816222156.19953-4-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/linux/perf_event.h
tools/perf/util/mem-events.c