Skip to contentSkip to conversation

perf amd: PERF_MEM_LVLNUM_CXL -> PERF_MEM_LVLNUM_EXTN_MEM

PATCH Arnaldo Carvalho de Melo 2 participants 4 messages Oct 25, 2022 – Oct 26, 2022 perf events

lore
Share & tools
lore

Arnaldo Carvalho de Melo

author maintainer
#0 lore raw

Ravi,

I'm updating the tools header copies and noticed that a previous
sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of tools/uapi/linux/perf_event.h, please ack.

Thanks,

- Arnaldo

⬢[acme@toolbox perf-urgent]$ git diff tools/perf/util/mem-events.c

tools/perf/util/mem-events.c +1 -1
index b3a91093069a5715..c80fce18025051ae 100644
@@ -295,7 +295,7 @@ static const char * const mem_lvl[] = {
 };
 
 static const char * const mem_lvlnum[] = {
-       [PERF_MEM_LVLNUM_CXL] = "CXL",
+       [PERF_MEM_LVLNUM_EXTN_MEM] = "Extension mem",
        [PERF_MEM_LVLNUM_IO] = "I/O",
        [PERF_MEM_LVLNUM_ANY_CACHE] = "Any cache",
        [PERF_MEM_LVLNUM_LFB] = "LFB/MAB",

⬢[acme@toolbox perf-urgent]$

Signature · 1 line
- Arnaldo
author maintainer
#2 lore raw

Em Wed, Oct 26, 2022 at 11:16:24AM +0530, Ravi Bangoria escreveu:

Quoted 5 lines

Arnaldo,

Quoted 2 lines · Arnaldo Carvalho de Melo

Ravi,

Quoted 7 lines
Quoted 4 lines

I'm updating the tools header copies and noticed that a previous
sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of tools/uapi/linux/perf_event.h, please ack.

Kernel header needs to be fixed as discussed here:
https://lore.kernel.org/lkml/[email protected]

Gotcha, will leave the tools/ copy with CXL then.

- Arnaldo

#3 lore raw
Quoted 13 lines · Arnaldo Carvalho de Melo

Em Wed, Oct 26, 2022 at 11:16:24AM +0530, Ravi Bangoria escreveu:

Quoted 12 lines

Arnaldo,

Quoted 6 lines · Arnaldo Carvalho de Melo

Ravi,

I'm updating the tools header copies and noticed that a previous
sync brought PERF_MEM_LVLNUM_CXL but now this got renamed to PERF_MEM_LVLNUM_EXTN_MEM, so I had to add this change to the sync of tools/uapi/linux/perf_event.h, please ack.

Kernel header needs to be fixed as discussed here:
https://lore.kernel.org/lkml/[email protected]

Peter, can you please pick up this patch.

Quoted 4 lines

Gotcha, will leave the tools/ copy with CXL then.

- Arnaldo