Merge tag 'drm-next-2021-05-10' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / tools / perf / util / bpf_skel / bperf.h
1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 // Copyright (c) 2021 Facebook
3
4 #ifndef __BPERF_STAT_H
5 #define __BPERF_STAT_H
6
7 typedef struct {
8         __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
9         __uint(key_size, sizeof(__u32));
10         __uint(value_size, sizeof(struct bpf_perf_event_value));
11         __uint(max_entries, 1);
12 } reading_map;
13
14 #endif /* __BPERF_STAT_H */