Commit 72c6ff25 authored by Andi Kleen's avatar Andi Kleen Committed by Arnaldo Carvalho de Melo

perf jevents: Fix Intel JSON fixed counter conversions

Intel fixed counters are special cases in the JSON conversion process
because their decoding differs between perf and the event files.  Add
some missing entries in the conversion table.
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1475696832-9188-4-git-send-email-andi@firstfloor.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a1303479
...@@ -312,6 +312,8 @@ static struct fixed { ...@@ -312,6 +312,8 @@ static struct fixed {
const char *event; const char *event;
} fixed[] = { } fixed[] = {
{ "inst_retired.any", "event=0xc0" }, { "inst_retired.any", "event=0xc0" },
{ "inst_retired.any_p", "event=0xc0" },
{ "cpu_clk_unhalted.ref", "event=0x0,umask=0x03" },
{ "cpu_clk_unhalted.thread", "event=0x3c" }, { "cpu_clk_unhalted.thread", "event=0x3c" },
{ "cpu_clk_unhalted.thread_any", "event=0x3c,any=1" }, { "cpu_clk_unhalted.thread_any", "event=0x3c,any=1" },
{ NULL, NULL}, { NULL, NULL},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment