summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/user_ringbuf_success.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2023-01-20 23:08:59 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2023-01-23 22:53:00 +0300
commitac4afd6e6fa4d4f9a0ab6ca76f4953545e4da7e6 (patch)
treebe43253fff3756be84eef7e740beeb1bc0296c3d /tools/testing/selftests/bpf/progs/user_ringbuf_success.c
parent55ff00d5393b6d6f6cb90530aac546f5aa52456d (diff)
downloadlinux-ac4afd6e6fa4d4f9a0ab6ca76f4953545e4da7e6.tar.xz
libbpf: Add BPF_UPROBE and BPF_URETPROBE macro aliases
Add BPF_UPROBE and BPF_URETPROBE macros, aliased to BPF_KPROBE and BPF_KRETPROBE, respectively. This makes uprobe-based BPF program code much less confusing, especially to people new to tracing, at no cost in terms of maintainability. We'll use this macro in selftests in subsequent patch. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20230120200914.3008030-11-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/progs/user_ringbuf_success.c')
0 files changed, 0 insertions, 0 deletions