-
Notifications
You must be signed in to change notification settings - Fork 1
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
[daemon] Implement ebpf loading/unloading on config change #78
Conversation
The function is held very generic so that it can load any epbf function. Co-authored-by: Mr-Kanister <[email protected]> Co-authored-by: der-whity <[email protected]> Signed-off-by: ffranzgitHub <[email protected]>
We had to redesign load_function() to save the ebpf information for unloading Co-authored-by: Mr-Kanister <[email protected]> Signed-off-by: ffranzgitHub <[email protected]>
Co-authored-by: Mr-Kanister <[email protected]> Signed-off-by: ffranzgitHub <[email protected]>
Each time the configuration gets set, all its entries will get attached or dettached according to their "attach" boolean. Co-authored-by: Mr-Kanister <[email protected]> Signed-off-by: ffranzgitHub <[email protected]>
Signed-off-by: Mr-Kanister <[email protected]>
LGTM
|
Yes we should, we currently have to keep the example folders because I do not think everything is ported to the other yet, right? |
Most of it is ported, but I don't know about the example-ebpf one. As that one is linked to the other ones, too, it was not possible to delete only some folders. We have to delete all at one point, I think. |
Also toms new PR adds something to |
Closes #77