projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
526fffa
)
perf/mem: Add PERF_MEM_LVLNUM_NA to PERF_MEM_NA
author
Ravi Bangoria
<ravi.bangoria@amd.com>
Tue, 25 Jul 2023 15:02:05 +0000
(20:32 +0530)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 26 Jul 2023 10:28:45 +0000
(12:28 +0200)
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
include/linux/perf_event.h
patch
|
blob
|
history
diff --git
a/include/linux/perf_event.h
b/include/linux/perf_event.h
index 2166a69e3bf2e7dcd17f303a3d5ccafa61b0f34d..dd92b4f5d370d3783db3968a849f13324129e0c8 100644
(file)
--- 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)