]> git.baikalelectronics.ru Git - kernel.git/commit
perf pmu: Support MetricExpr header in JSON event list
authorAndi Kleen <ak@linux.intel.com>
Mon, 20 Mar 2017 20:17:07 +0000 (13:17 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 23 Mar 2017 14:42:29 +0000 (11:42 -0300)
commitdd1894025f4e9fcb3e54422b9b31b7b5d2c12095
treedef464f6f5061f0238df4a77349db6785cadf34e
parent6a3569832a013a7c551e18b6f57cd56952d3c758
perf pmu: Support MetricExpr header in JSON event list

Add support for parsing the MetricExpr header in the JSON event lists
and storing them in the alias structure.

Used in the next patch.

v2: Change DividedBy to MetricExpr
v3: Really catch all uses of DividedBy

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