-
Notifications
You must be signed in to change notification settings - Fork 98
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
scx_lib: use the proper bpftool #1071
Conversation
btw #1067 (being merged atm) fixes this also |
Hm.. nope, it's still broken:
I think bash doesn't like the double quotes around "$bpftool". |
0e31e8e
to
ae0d924
Compare
Updated on top of #1067, @likewhatevs can you check if this works for you as well? |
@likewhatevs actually scratch that, it's still not working, something else is broken now... looking. Now I need to run |
this worked for me without needing to run compile twice?:
|
Make sure to use the right bpftool when building scx_lib, instead of always relying on the system's bpftool. Fixes: 3d72a8e ("add library infrastructure and turn allocator into a library") Signed-off-by: Andrea Righi <arighi@nvidia.com>
ae0d924
to
21cf3cc
Compare
@likewhatevs I see the problem, scx_lib should depend on bpftool_target. It seems to be fixed now. |
I tested the latest commit on my system and it worked also (but it worked before for me so maybe there's something non-standard on my system making this always work). |
It could be also a timing / parallelization issue and in your case it was always building bpftool before any scheduler (or you are using the system's bpftool). |
Make sure to use the right bpftool when building scx_lib, instead of always relying on the system's bpftool.
Fixes: 3d72a8e ("add library infrastructure and turn allocator into a library")