You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As there are more and more reasons for an eBPF program to fail while loading,
it seems that a more flexible approach to a failure is needed - instead of exiting, tracee should log that it failed to load the event and move on.
This dynamic loading should be both for failure in the loading itself, or because of some missing dependency.
It is critical to unload/prevent the loading of eBPF programs which depends on failed one, and also unload/prevent the loading of programs which the failed one depends on would be beneficial (for reducing performance for unneeded programs).
Examples for failing reasons because of dependencies:
Failed loading kernel symbols
Failed loading critical kconfigs
The text was updated successfully, but these errors were encountered:
yanivagman
changed the title
Dynamic loading of eBPF programs
Gracefully fail setting up individual events
Apr 10, 2022
As there are more and more reasons for an eBPF program to fail while loading,
it seems that a more flexible approach to a failure is needed - instead of exiting, tracee should log that it failed to load the event and move on.
This dynamic loading should be both for failure in the loading itself, or because of some missing dependency.
It is critical to unload/prevent the loading of eBPF programs which depends on failed one, and also unload/prevent the loading of programs which the failed one depends on would be beneficial (for reducing performance for unneeded programs).
Examples for failing reasons because of dependencies:
The text was updated successfully, but these errors were encountered: