https://github.com/cilium/cilium
Raw File
Tip revision: b773bc2bea8c5a72dee6cbd42e9a07fc1f9bcb4b authored by Maciej Kwiek on 11 December 2023, 13:46:42 UTC
Prepare for release v1.13.10
Tip revision: b773bc2
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