Can we set the path of kernel probe symbol files? #2336
fripSide
started this conversation in
Development
Replies: 1 comment 1 reply
-
Unfortunately, that won't be possible here. The tracing subsystem (
Yes, it is always a good idea to do so for anything potentially useful :-) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to run bpftrace on container. It cannot access the /sys/kernel/debug/tracing directories. The bpftrace failed to install hooks due to cannot resolve the correct symbol name from the kernel probe symbol files. In fact, it does not need to parse these files if we just use the correct symbol names exactly the same with the kernel symbols.
Can the bpftrace use another path to get these symbols?
Such that we dump the tracing symbols and put it in the same path with bpftrace. I think some people may also have this need.
Is it a good idea to modify the source code and implement my own version and send a pull request to bpftrace?
Beta Was this translation helpful? Give feedback.
All reactions