Skip to content
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

Gracefully fail setting up individual events #1622

Closed
AlonZivony opened this issue Mar 30, 2022 · 1 comment · Fixed by #1791
Closed

Gracefully fail setting up individual events #1622

AlonZivony opened this issue Mar 30, 2022 · 1 comment · Fixed by #1791
Assignees

Comments

@AlonZivony
Copy link
Contributor

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
@yanivagman yanivagman changed the title Dynamic loading of eBPF programs Gracefully fail setting up individual events Apr 10, 2022
@rafaeldtinoco
Copy link
Contributor

Related: #1588

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants