aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-04-08 18:14:24 +0000
committerDaniel Borkmann <[email protected]>2022-04-08 20:24:15 +0000
commit2fa5b0f290e19bb34393e1983be511aab18b683e (patch)
treebacc2e96588fa36ac21f3cac2cf2e091b608e9be /tools/bpf/bpftool/prog.c
parentlibbpf: Don't error out on CO-RE relos for overriden weak subprogs (diff)
downloadkernel-2fa5b0f290e19bb34393e1983be511aab18b683e.tar.gz
kernel-2fa5b0f290e19bb34393e1983be511aab18b683e.zip
libbpf: Use weak hidden modifier for USDT BPF-side API functions
Use __weak __hidden for bpf_usdt_xxx() APIs instead of much more confusing `static inline __noinline`. This was previously impossible due to libbpf erroring out on CO-RE relocations pointing to eliminated weak subprogs. Now that previous patch fixed this issue, switch back to __weak __hidden as it's a more direct way of specifying the desired behavior. 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/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions