diff options
author | Ian Rogers <[email protected]> | 2024-02-28 09:05:29 -0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-02-29 18:08:13 -0800 |
commit | dd267d056fed323f1684fa52d2a864fc93ca3be0 (patch) | |
tree | 6e8213cf5cc7a7b670ed242b515c692ea9931c39 /tools/perf/util/trace-event-scripting.c | |
parent | ec42d3d56819688537ec7ee37ce97f695fb8e6d7 (diff) |
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 <[email protected]>
Reviewed-by: Kan Liang <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions