bpftrace not working on centos 7 #3032
Replies: 2 comments 6 replies
-
@the-prachi Do you have the script you were trying to run? |
Beta Was this translation helpful? Give feedback.
-
It sounds like there's a missing header on your machine. Have you got your kernel headers installed? (although I don't think The two scripts both include headers in this snippet:
I don't know why or which of these headers would be requesting Once you know which root header is the problem, we'll need to understand if it's a problem with bpftrace or with your system: if you try including these headers in a C program, does it compile or error out with a similar message? |
Beta Was this translation helpful? Give feedback.
-
Hi Team - I was trying to run bpftrace v0.20.0 in centos7 and getting below error:
[stderr]
definitions.h:3:10: fatal error: 'net/tcp_states.h' file not found
Could you suggest what could be the issue?
Beta Was this translation helpful? Give feedback.
All reactions