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.
Answered by
lmb
Jul 3, 2023
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
XieGuochao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
.