diff options
author | Kajol Jain <[email protected]> | 2020-09-07 12:11:31 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-09-10 09:18:33 -0300 |
commit | 560ccbc4a52c567096023e0c6a9b920048e59017 (patch) | |
tree | 4ace66e6847cef369ba5040fbd970efca3ec53d0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 71a374bb1847824b60a3bfdd3af8a13b6ec3a22d (diff) |
perf jevents: Add support for parsing perchip/percore events
Initially, every time we want to add new terms like chip, core thread etc,
we need to create corrsponding fields in pmu_events and event struct.
This patch adds an enum called 'aggr_mode_class' which store all these
aggregation like perchip/percore. It also adds new field 'aggr_mode'
to capture these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: John Garry <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Clarke <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions