OpenCloudOS-Kernel/kernel/bpf/preload
Florent Revest d6a6a55518 libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h
These macros are convenient wrappers around the bpf_seq_printf and
bpf_snprintf helpers. They are currently provided by bpf_tracing.h which
targets low level tracing primitives. bpf_helpers.h is a better fit.

The __bpf_narg and __bpf_apply are needed in both files and provided
twice. __bpf_empty isn't used anywhere and is removed from bpf_tracing.h

Reported-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210526164643.2881368-1-revest@chromium.org
2021-05-26 10:45:41 -07:00
..
iterators libbpf: Move BPF_SEQ_PRINTF and BPF_SNPRINTF to bpf_helpers.h 2021-05-26 10:45:41 -07:00
.gitignore bpf/preload: Make sure Makefile cleans up after itself, and add .gitignore 2020-09-29 11:15:01 -07:00
Kconfig bpf: BPF_PRELOAD depends on BPF_SYSCALL 2020-11-05 18:49:29 -08:00
Makefile bpf, preload: Fix build when $(O) points to a relative path 2021-01-26 23:13:25 +01:00
bpf_preload.h bpf: Add kernel module with user mode driver that populates bpffs. 2020-08-20 16:02:36 +02:00
bpf_preload_kern.c bpf: Fix umd memory leak in copy_process() 2021-03-19 22:23:19 +01:00
bpf_preload_umd_blob.S bpf: Add kernel module with user mode driver that populates bpffs. 2020-08-20 16:02:36 +02:00