diff options
author | Ian Rogers <irogers@google.com> | 2023-10-25 17:31:49 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2023-10-28 00:45:27 -0700 |
commit | c43c64f8a1c68da370bf8d458ba52e24183a5264 (patch) | |
tree | a3b3085ca489bbce5280c032e3ee9ce8a8e158c2 /tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json | |
parent | c44c31185923637e672c10e60142e1e1106d1600 (diff) | |
download | linux-c43c64f8a1c68da370bf8d458ba52e24183a5264.tar.gz linux-c43c64f8a1c68da370bf8d458ba52e24183a5264.tar.bz2 linux-c43c64f8a1c68da370bf8d458ba52e24183a5264.zip |
perf vendor events intel: Update tsx_cycles_per_elision metrics
Update tsx_cycles_per_elision as per:
https://github.com/intel/perfmon/pull/116
Prefer the el-start event rather than cycles-t for detecting whether
the metric will work as HLE may be disabled. Remove the metric from
sapphirerapids that has no el-start event.
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Edward Baker <edward.baker@intel.com>
Cc: Zhengjun Xing <zhengjun.xing@linux.intel.com>
Link: https://lore.kernel.org/r/20231026003149.3287633-9-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json')
-rw-r--r-- | tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json b/tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json index 2795a404bb58..faa615c57893 100644 --- a/tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json +++ b/tools/perf/pmu-events/arch/x86/skylake/skl-metrics.json @@ -1473,7 +1473,7 @@ }, { "BriefDescription": "Number of cycles within a transaction divided by the number of elisions.", - "MetricExpr": "(cycles\\-t / el\\-start if has_event(cycles\\-t) else 0)", + "MetricExpr": "(cycles\\-t / el\\-start if has_event(el\\-start) else 0)", "MetricGroup": "transaction", "MetricName": "tsx_cycles_per_elision", "ScaleUnit": "1cycles / elision" |