History

tools headers UAPI: Sync include/uapi/linux/perf_event.h header with the kernel

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.

Ravi Bangoria committed 4 years ago

Commit b7ddd381 parent cad3b681 file · +3 −1Browse files

Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all

Unified · Split

tools/include/uapi/linux/perf_event.h+3−1
@@ -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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t