-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work on kernel 4.15 #1
Comments
I have the same problem at 4.15. |
As a workaround you can disable the warnings as error option. Comment this line in Makefile (put EXTRA_CFLAGS=-Werror |
I resolved this by 2 things on kernel 5.3
This compiles well but gives an error when I run it such as: |
In bpf_load.c:
this apparently results in the following:
the error is complaining that the tracing is not enabled. By doing the following:
Prior to starting the program, I was able to get past the IO error (failed to open event...error). The code is missing the command to turn on tracing. Correction: |
Unfortunately this code does not work on kernel 4.15, with the following error:
This is the full log:
The text was updated successfully, but these errors were encountered: