Subject: Re: [PATCH v2 bpf-next 4/7] selftests/bpf: split off tracing-only helpers into bpf_tracing.h

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Thu, 03 Oct 2019 09:35:31 +0200

Andrii Nakryiko <[email-masked]> writes:

> +/* a helper structure used by eBPF C program
> + * to describe BPF map attributes to libbpf loader
> + */
> +struct bpf_map_def {
> +	unsigned int type;
> +	unsigned int key_size;
> +	unsigned int value_size;
> +	unsigned int max_entries;
> +	unsigned int map_flags;
> +};

Why is this still here? There's already an identical definition in libbpf.h...

-Toke