'struct __kernel_timespec' does not contain a field named 'tv_nsec' - but it does! #2205
-
My
...has a
Perhaps this is also related - I can't "see" the contents of the struct:
System specs:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It seems that your kernel doesn't have BTF, which is why you can't see the struct fields. The solution is to use a kernel with BTF or to include the proper header with your script:
|
Beta Was this translation helpful? Give feedback.
-
Using |
Beta Was this translation helpful? Give feedback.
It seems that your kernel doesn't have BTF, which is why you can't see the struct fields. The solution is to use a kernel with BTF or to include the proper header with your script: