aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_tracing.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-12-30 03:12:17 +0000
committerAlexei Starovoitov <[email protected]>2022-12-30 03:18:08 +0000
commitbb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8 (patch)
treed5bc0780aa6ae6d11b1f172031fcd0753f0a13ba /tools/lib/bpf/bpf_tracing.h
parentlibbpf: Added the description of some API functions (diff)
downloadkernel-bb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8.tar.gz
kernel-bb5747cfbc4b7fe29621ca6cd4a695d2723bf2e8.zip
libbpf: Restore errno after pr_warn.
pr_warn calls into user-provided callback, which can clobber errno, so `errno = saved_errno` should happen after pr_warn. Fixes: 07453245620c ("libbpf: fix errno is overwritten after being closed.") Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_tracing.h')
0 files changed, 0 insertions, 0 deletions