Two new fields for mem_lvl_num has been introduced: PERF_MEM_LVLNUM_IO and PERF_MEM_LVLNUM_CXL which are required to support perf mem/c2c on AMD platform.
Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -1327,7 +1327,9 @@ union perf_mem_data_src { · 1326 unmodified lines | |||
| 1327 | #define PERF_MEM_LVLNUM_L2 0x02 /* L2 */ | 1327 | #define PERF_MEM_LVLNUM_L2 0x02 /* L2 */ |
| 1328 | #define PERF_MEM_LVLNUM_L3 0x03 /* L3 */ | 1328 | #define PERF_MEM_LVLNUM_L3 0x03 /* L3 */ |
| 1329 | #define PERF_MEM_LVLNUM_L4 0x04 /* L4 */ | 1329 | #define PERF_MEM_LVLNUM_L4 0x04 /* L4 */ |
| 1330 | /* 5-0xa available */ | 1330 | /* 5-0x8 available */ |
| 1331 | #define PERF_MEM_LVLNUM_CXL 0x09 /* CXL */ | ||
| 1332 | #define PERF_MEM_LVLNUM_IO 0x0a /* I/O */ | ||
| 1331 | #define PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */ | 1333 | #define PERF_MEM_LVLNUM_ANY_CACHE 0x0b /* Any cache */ |
| 1332 | #define PERF_MEM_LVLNUM_LFB 0x0c /* LFB */ | 1334 | #define PERF_MEM_LVLNUM_LFB 0x0c /* LFB */ |
| 1333 | #define PERF_MEM_LVLNUM_RAM 0x0d /* RAM */ | 1335 | #define PERF_MEM_LVLNUM_RAM 0x0d /* RAM */ |