diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-01-20 23:08:59 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-01-23 22:53:00 +0300 |
commit | ac4afd6e6fa4d4f9a0ab6ca76f4953545e4da7e6 (patch) | |
tree | be43253fff3756be84eef7e740beeb1bc0296c3d /tools/testing/selftests/bpf/progs/user_ringbuf_success.c | |
parent | 55ff00d5393b6d6f6cb90530aac546f5aa52456d (diff) | |
download | linux-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