Debugging using bpf_printk / bpf_trace_printk? #1083
|
Hello, I want to do some simple observations first before developing tools. However, it seems that the |
Answered by
lmb
Jul 3, 2023
Replies: 2 comments 3 replies
|
|
0 replies
Answer selected by
XieGuochao
|
I've seen the @lizrice talk where she used |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bpf_printkdoesn'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 entrybpf_trace_printk.