diff options
| author | Kumar Kartikeya Dwivedi <[email protected]> | 2025-07-03 20:48:15 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-07-04 02:30:07 +0000 |
| commit | 21a3afc76a317b9fb214c5afcfd5e1587b2ae9b3 (patch) | |
| tree | ae96587b69145b4d1f1e383c516e7916d6be93d9 /tools/lib/bpf/bpf.c | |
| parent | bpf: Report rqspinlock deadlocks/timeout to BPF stderr (diff) | |
| download | kernel-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
