https://github.com/cilium/cilium
Raw File
Tip revision: 40d94ada16de4ab0c2757598c4eee3f7bfcdb3cd authored by Joe Stringer on 15 December 2022, 23:58:31 UTC
Prepare for release v1.11.12
Tip revision: 40d94ad
events.h
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2016-2021 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