perf jevents: Support FCMask and PortMask
authorAndi Kleen <ak@linux.intel.com>
Wed, 16 Aug 2017 22:02:00 +0000 (15:02 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Aug 2017 19:39:14 +0000 (16:39 -0300)
Skylake server uncore IIO events need new FCMask/PortMask fields. Support
those in the json parser and pass it through as a filter.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170816220201.19182-2-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/jevents.c

index 2350f60..d51dc9c 100644 (file)
@@ -137,6 +137,8 @@ static struct field {
        { "AnyThread",  "any=" },
        { "EdgeDetect", "edge=" },
        { "SampleAfterValue", "period=" },
+       { "FCMask",     "fc_mask=" },
+       { "PortMask",   "ch_mask=" },
        { NULL, NULL }
 };