From: Ravi Bangoria Date: Tue, 25 Jul 2023 15:02:05 +0000 (+0530) Subject: perf/mem: Add PERF_MEM_LVLNUM_NA to PERF_MEM_NA X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5c6e623f1b8ebca39eeefba4b18d574eb5acf0bd;p=linux.git 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 Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20230725150206.184-3-ravi.bangoria@amd.com --- diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 2166a69e3bf2e..dd92b4f5d370d 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -1194,7 +1194,8 @@ struct perf_sample_data { PERF_MEM_S(LVL, NA) |\ PERF_MEM_S(SNOOP, NA) |\ PERF_MEM_S(LOCK, NA) |\ - PERF_MEM_S(TLB, NA)) + PERF_MEM_S(TLB, NA) |\ + PERF_MEM_S(LVLNUM, NA)) static inline void perf_sample_data_init(struct perf_sample_data *data, u64 addr, u64 period)