mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 14:33:24 -04:00
perf jevents: Add Intel OMR MSR mappings
New OMR MSRs are introduced for OMR events on DMR and NVL. Perf continues to reuse the existing offcore_rsp attribute to encode the MSR value, similar to existing OCR event handling. Add the corresponding OMR MSR mappings in lookup_msr() so jevents can translate these events and generate the correct offcore_rsp attribute. Link: https://lore.kernel.org/all/20260114011750.350569-2-dapeng1.mi@linux.intel.com/ Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
@@ -249,6 +249,10 @@ class JsonEvent:
|
||||
0x3F6: 'ldlat=',
|
||||
0x1A6: 'offcore_rsp=',
|
||||
0x1A7: 'offcore_rsp=',
|
||||
0x3E0: 'offcore_rsp=',
|
||||
0x3E1: 'offcore_rsp=',
|
||||
0x3E2: 'offcore_rsp=',
|
||||
0x3E3: 'offcore_rsp=',
|
||||
0x3F7: 'frontend=',
|
||||
}
|
||||
return msrmap[int(num.split(',', 1)[0], 0)]
|
||||
|
||||
Reference in New Issue
Block a user