diff options
author | Andrii Nakryiko <[email protected]> | 2023-01-20 12:08:59 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-01-23 20:53:00 +0100 |
commit | ac4afd6e6fa4d4f9a0ab6ca76f4953545e4da7e6 (patch) | |
tree | be43253fff3756be84eef7e740beeb1bc0296c3d /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 55ff00d5393b6d6f6cb90530aac546f5aa52456d (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions