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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I've seen the @lizrice talk where she used |
Beta Was this translation helpful? Give feedback.
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 entrybpf_trace_printk
.