]> git.ipfire.org Git - people/arne_f/kernel.git/commit
perf c2c: Fix remote HITM detection for Skylake
authorJiri Olsa <jolsa@kernel.org>
Thu, 24 Aug 2017 08:57:32 +0000 (10:57 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Aug 2017 14:05:10 +0000 (11:05 -0300)
commit12c15302dd4b768105d4b7a487ed4858ccab94fc
treecfcfa68d9610d7c152d847c10e7e958e3f8c3822
parent6bd76b8fabe157233e498931c3f9298ee7128a28
perf c2c: Fix remote HITM detection for Skylake

Skylake introduced new mem_remote bit in union perf_mem_data_src [1].
It applies to any other memory level to express Remote unknown level, as
is reported by Skylake.

Adding this extra check to c2c_decode_stats to properly decode remote
HITMs on Skylake.

[1] http://lkml.kernel.org/r/20170816222156.19953-4-andi@firstfloor.org

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Andi Kleen <ak@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20170824085732.28481-1-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/mem-events.c