diff options
| author | Andi Kleen <[email protected]> | 2017-04-19 17:49:40 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-24 15:33:32 +0000 |
| commit | 166ebdd2442660e7f942d657fc5e629000e58ec3 (patch) | |
| tree | 566e6548905768ed5065640064097b91266af53d /tools/perf/util/python.c | |
| parent | perf debug: Move dump_stack() and sighandler_dump_stack() to debug.h (diff) | |
| download | kernel-166ebdd2442660e7f942d657fc5e629000e58ec3.tar.gz kernel-166ebdd2442660e7f942d657fc5e629000e58ec3.zip | |
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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
