Is there any way to print the complete file path using bpftrace? #3109
Answered
by
danobi
carbonvibes
asked this question in
Q&A
-
If my file path is greater than a certain limit, it is getting truncated, is there any way to obtain the full file path ??
I'm using openat to print the file location with create flag
|
Beta Was this translation helpful? Give feedback.
Answered by
danobi
Apr 9, 2024
Replies: 1 comment 1 reply
-
Hi, you can try increasing the max string length: https://github.com/bpftrace/bpftrace/blob/master/man/adoc/bpftrace.adoc#max_strlen |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
carbonvibes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, you can try increasing the max string length: https://github.com/bpftrace/bpftrace/blob/master/man/adoc/bpftrace.adoc#max_strlen