aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2025-07-03 20:48:15 +0000
committerAlexei Starovoitov <[email protected]>2025-07-04 02:30:07 +0000
commit21a3afc76a317b9fb214c5afcfd5e1587b2ae9b3 (patch)
treeae96587b69145b4d1f1e383c516e7916d6be93d9 /tools/lib/bpf/bpf.c
parentbpf: Report rqspinlock deadlocks/timeout to BPF stderr (diff)
downloadkernel-21a3afc76a317b9fb214c5afcfd5e1587b2ae9b3.tar.gz
kernel-21a3afc76a317b9fb214c5afcfd5e1587b2ae9b3.zip
libbpf: Add bpf_stream_printk() macro
Add a convenience macro to print data to the BPF streams. BPF_STDOUT and BPF_STDERR stream IDs in the vmlinux.h can be passed to the macro to print to the respective streams. Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf.c')
0 files changed, 0 insertions, 0 deletions