Skip to content

Commit 923396f

Browse files
Ravi Bangoriaacmel
authored andcommitted
perf mem: Add support for printing PERF_MEM_LVLNUM_{CXL|IO}
Add support for printing these new fields in perf mem report. Signed-off-by: Ravi Bangoria <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ali Saidi <[email protected]> Cc: Ananth Narayan <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Joe Mario <[email protected]> Cc: Kan Liang <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sandipan Das <[email protected]> Cc: Santosh Shukla <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 160ae99 commit 923396f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/perf/util/mem-events.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ static const char * const mem_lvl[] = {
294294
};
295295

296296
static const char * const mem_lvlnum[] = {
297+
[PERF_MEM_LVLNUM_CXL] = "CXL",
298+
[PERF_MEM_LVLNUM_IO] = "I/O",
297299
[PERF_MEM_LVLNUM_ANY_CACHE] = "Any cache",
298300
[PERF_MEM_LVLNUM_LFB] = "LFB",
299301
[PERF_MEM_LVLNUM_RAM] = "RAM",

0 commit comments

Comments
 (0)