linux-mainline/tools/perf/pmu-events/arch/x86
Ian Rogers ccc66c6092 perf metric: JSON flag to not group events if gathering a metric group
Some metric groups have metrics that don't have fully overlapping
events, meaning that the group's events become unique event groups that
may need to multiplex with each other. This can be particularly
unfortunate when the groups wouldn't need to multiplex because there are
sufficient hardware counters.

Add a flag so that if recording a metric group then the metrics within
the group needn't use groups for their events. The flag is added to
Intel TopdownL1 and TopdownL2 metrics.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ahmad Yasin <ahmad.yasin@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Cc: Caleb Biggers <caleb.biggers@intel.com>
Cc: Edward Baker <edward.baker@intel.com>
Cc: Florian Fischer <florian.fischer@muhq.space>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Kang Minchul <tegongkang@gmail.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Perry Taylor <perry.taylor@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Samantha Alt <samantha.alt@intel.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Sumanth Korikkar <sumanthk@linux.ibm.com>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Weilin Wang <weilin.wang@intel.com>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Cc: Yang Jihong <yangjihong1@huawei.com>
Link: https://lore.kernel.org/r/20230502223851.2234828-4-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-05-10 12:35:02 -03:00
..
alderlake perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
alderlaken perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
amdzen1
amdzen2
amdzen3
amdzen4 perf vendor events amd: Add Zen 4 metrics 2022-12-21 14:52:42 -03:00
bonnell perf vendor events intel: Refresh bonnell events 2022-12-21 14:52:40 -03:00
broadwell perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
broadwellde perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
broadwellx perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
cascadelakex perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
elkhartlake perf vendor events intel: Refresh elkhartlake events 2022-12-21 14:52:41 -03:00
goldmont perf vendor events intel: Refresh goldmont events 2022-12-21 14:52:41 -03:00
goldmontplus perf vendor events intel: Refresh goldmontplus events 2022-12-21 14:52:41 -03:00
grandridge perf vendor events intel: Add grandridge 2023-04-13 18:47:07 -03:00
graniterapids perf vendor events intel: Update graniterapids events 2023-03-14 18:31:03 -03:00
haswell perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
haswellx perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
icelake perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
icelakex perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
ivybridge perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
ivytown perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
jaketown perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
knightslanding perf vendor events intel: Fix uncore topics for knightslanding 2023-04-13 18:52:34 -03:00
meteorlake perf vendor events intel: Update meteorlake events 2023-03-14 18:31:37 -03:00
nehalemep perf vendor events intel: Refresh nehalemep events 2022-12-21 14:52:41 -03:00
nehalemex perf vendor events intel: Refresh nehalemex events 2022-12-21 14:52:41 -03:00
sandybridge perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
sapphirerapids perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
sierraforest perf vendor events intel: Add sierraforest 2023-04-13 18:47:20 -03:00
silvermont perf vendor events intel: Refresh silvermont events 2023-02-19 08:06:10 -03:00
skylake perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
skylakex perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
snowridgex perf vendor events intel: Fix uncore topics for snowridgex 2023-04-13 18:56:03 -03:00
tigerlake perf metric: JSON flag to not group events if gathering a metric group 2023-05-10 12:35:02 -03:00
westmereep-dp perf vendor events intel: Refresh westmereep-dp events 2023-02-19 08:06:30 -03:00
westmereep-sp perf vendor events intel: Refresh westmereep-sp events 2022-12-21 14:52:42 -03:00
westmereex perf vendor events intel: Refresh westmereex events 2022-12-21 14:52:42 -03:00
mapfile.csv perf vendor events intel: Add sierraforest 2023-04-13 18:47:20 -03:00