summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-version.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2024-02-28 09:05:29 -0800
committerNamhyung Kim <namhyung@kernel.org>2024-02-29 18:08:13 -0800
commitdd267d056fed323f1684fa52d2a864fc93ca3be0 (patch)
tree6e8213cf5cc7a7b670ed242b515c692ea9931c39 /tools/perf/builtin-version.c
parentec42d3d56819688537ec7ee37ce97f695fb8e6d7 (diff)
downloadlinux-dd267d056fed323f1684fa52d2a864fc93ca3be0.tar.gz
linux-dd267d056fed323f1684fa52d2a864fc93ca3be0.tar.bz2
linux-dd267d056fed323f1684fa52d2a864fc93ca3be0.zip
perf vendor events intel: Add umasks/occ_sel to PCU events.
UMasks were being dropped leading to all PCU UNC_P_POWER_STATE_OCCUPANCY events having the same encoding. Don't drop the umask trying to be consistent with other sources of events like libpfm4 [1]. Older models need to use occ_sel rather than umask, correct these values too. This applies the change from [2]. [1] https://sourceforge.net/p/perfmon2/libpfm4/ci/master/tree/lib/events/intel_skx_unc_pcu_events.h#l30 [2] https://github.com/captain5050/perfmon/commit/cbd4aee81023e5bfa09677b1ce170ff69e9c423d Signed-off-by: Ian Rogers <irogers@google.com> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240228170529.4035675-1-irogers@google.com
Diffstat (limited to 'tools/perf/builtin-version.c')
0 files changed, 0 insertions, 0 deletions