Skip to content

Commit c72de11

Browse files
Ravi Bangoriaacmel
authored andcommitted
perf mem: Print "LFB/MAB" for PERF_MEM_LVLNUM_LFB
A hw component to track outstanding L1 Data Cache misses is called LFB (Line Fill Buffer) on Intel and Arm. However similar component exists on other arch with different names, for ex, it's called MAB (Miss Address Buffer) on AMD. Use 'LFB/MAB' instead of just 'LFB'. Signed-off-by: Ravi Bangoria <[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: Jiri Olsa <[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 2c5f652 commit c72de11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/perf/util/mem-events.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static const char * const mem_lvl[] = {
282282
"HIT",
283283
"MISS",
284284
"L1",
285-
"LFB",
285+
"LFB/MAB",
286286
"L2",
287287
"L3",
288288
"Local RAM",
@@ -298,7 +298,7 @@ static const char * const mem_lvlnum[] = {
298298
[PERF_MEM_LVLNUM_CXL] = "CXL",
299299
[PERF_MEM_LVLNUM_IO] = "I/O",
300300
[PERF_MEM_LVLNUM_ANY_CACHE] = "Any cache",
301-
[PERF_MEM_LVLNUM_LFB] = "LFB",
301+
[PERF_MEM_LVLNUM_LFB] = "LFB/MAB",
302302
[PERF_MEM_LVLNUM_RAM] = "RAM",
303303
[PERF_MEM_LVLNUM_PMEM] = "PMEM",
304304
[PERF_MEM_LVLNUM_NA] = "N/A",

0 commit comments

Comments
 (0)