mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 15:22:18 +00:00
15 lines
358 B
C
15 lines
358 B
C
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
// Copyright (c) 2021 Facebook
|
|
|
|
#ifndef __BPERF_STAT_H
|
|
#define __BPERF_STAT_H
|
|
|
|
typedef struct {
|
|
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
|
|
__uint(key_size, sizeof(__u32));
|
|
__uint(value_size, sizeof(struct bpf_perf_event_value));
|
|
__uint(max_entries, 1);
|
|
} reading_map;
|
|
|
|
#endif /* __BPERF_STAT_H */
|