https://github.com/cilium/cilium
Raw File
Tip revision: 87d85617d1385ba9cce4c6471c32d7302f2648ab authored by Maciej Kwiek on 15 March 2023, 18:28:16 UTC
Prepare for release v1.12.8
Tip revision: 87d8561
events.h
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
/* Copyright Authors of Cilium */

#ifndef __LIB_EVENTS_H_
#define __LIB_EVENTS_H_

#include <bpf/api.h>

struct {
	__uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
	__uint(key_size, sizeof(__u32));
	__uint(value_size, sizeof(__u32));
	__uint(pinning, LIBBPF_PIN_BY_NAME);
	__uint(max_entries, __NR_CPUS__);
} EVENTS_MAP __section_maps_btf;

#endif /* __LIB_EVENTS_H_ */
back to top