Skip to content

Commit 5c6e623

Browse files
Ravi BangoriaPeter Zijlstra
authored andcommitted
perf/mem: Add PERF_MEM_LVLNUM_NA to PERF_MEM_NA
Add PERF_MEM_LVLNUM_NA wherever PERF_MEM_NA is used to set default values. Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20230725150206.184-3-ravi.bangoria@amd.com
1 parent 526fffa commit 5c6e623

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/perf_event.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,8 @@ struct perf_sample_data {
11941194
PERF_MEM_S(LVL, NA) |\
11951195
PERF_MEM_S(SNOOP, NA) |\
11961196
PERF_MEM_S(LOCK, NA) |\
1197-
PERF_MEM_S(TLB, NA))
1197+
PERF_MEM_S(TLB, NA) |\
1198+
PERF_MEM_S(LVLNUM, NA))
11981199

11991200
static inline void perf_sample_data_init(struct perf_sample_data *data,
12001201
u64 addr, u64 period)

0 commit comments

Comments
 (0)