summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/bpf_skel/vmlinux/vmlinux.h')
-rw-r--r--tools/perf/util/bpf_skel/vmlinux/vmlinux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/util/bpf_skel/vmlinux/vmlinux.h b/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
index 7b81d3173917..a59ce912be18 100644
--- a/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
+++ b/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
@@ -203,4 +203,13 @@ struct bpf_iter__kmem_cache {
struct kmem_cache *s;
} __attribute__((preserve_access_index));
+struct zone {
+ spinlock_t lock;
+} __attribute__((preserve_access_index));
+
+struct pglist_data {
+ struct zone node_zones[6]; /* value for all possible config */
+ int nr_zones;
+} __attribute__((preserve_access_index));
+
#endif // __VMLINUX_H