Skip to content

Debugging using bpf_printk / bpf_trace_printk? #1083

Closed Answered by lmb
XieGuochao asked this question in Q&A
Discussion options

You must be logged in to vote

bpf_printk doesn't write to the console, it writes to the kernel's trace pipe. Take a look at https://man7.org/linux/man-pages/man7/bpf-helpers.7.html for entry bpf_trace_printk.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by XieGuochao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants