diff options
author | Andi Kleen <ak@linux.intel.com> | 2017-04-19 20:49:40 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 18:33:32 +0300 |
commit | 166ebdd2442660e7f942d657fc5e629000e58ec3 (patch) | |
tree | 566e6548905768ed5065640064097b91266af53d /tools/perf/util/thread_map.c | |
parent | 8c2b7cac78e17886e8089389a570a290c9b5ca67 (diff) | |
download | linux-166ebdd2442660e7f942d657fc5e629000e58ec3.tar.xz |
perf mem: Fix display of data source snoop indication
'perf mem report' doesn't display the data source snoop indication correctly.
In the kernel API the definition is:
#define PERF_MEM_SNOOP_NONE 0x02 /* no snoop */
#define PERF_MEM_SNOOP_HIT 0x04 /* snoop hit */
#define PERF_MEM_SNOOP_MISS 0x08 /* snoop miss */
but the table used by the perf tools exchanged "Hit" and "Miss":
"None",
"Miss",
"Hit",
Fix the table in perf.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20170419174940.13641-1-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread_map.c')
0 files changed, 0 insertions, 0 deletions