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 <ravi.bangoria@amd.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ali Saidi <alisaidi@amazon.com> Cc: Ananth Narayan <ananth.narayan@amd.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Joe Mario <jmario@redhat.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Kim Phillips <kim.phillips@amd.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sandipan Das <sandipan.das@amd.com> Cc: Santosh Shukla <santosh.shukla@amd.com> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86@kernel.org Link: https://lore.kernel.org/r/20221006153946.7816-8-ravi.bangoria@amd.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 2c5f652 commit c72de11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)