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

trace only relevant events for loaded signatures #935

Closed
itaysk opened this issue Aug 19, 2021 · 8 comments
Closed

trace only relevant events for loaded signatures #935

itaysk opened this issue Aug 19, 2021 · 8 comments

Comments

@itaysk
Copy link
Collaborator

itaysk commented Aug 19, 2021

based on the loaded signatures, get the relevant set of "event selectors" and use that to configure tracee-ebpf to trace just the relevant events for the loaded signatures

related: #936 #636

@itaysk
Copy link
Collaborator Author

itaysk commented Aug 19, 2021

I think that in the current design (2 processes) we need to add add a pre-step tot the entrypoint like tracee-rules --list-events or something similar, then use this as flags to tracee-ebpf.

@yanivagman
Copy link
Collaborator

@itaysk @simar7 can this be closed now that #1045 was merged?

@simar7
Copy link
Member

simar7 commented Oct 14, 2021

I believe so. Correct me if I'm wrong @itaysk

@itaysk
Copy link
Collaborator Author

itaysk commented Oct 16, 2021

I don't think so since signatures can be loaded/unloaded which is currently unhandled

@rafaeldtinoco
Copy link
Contributor

@NDStrahilevitz this is one issue you should keep track of (for the major 'filtering improvement' effort you're handling).

@yanivagman
Copy link
Collaborator

yanivagman commented Jan 30, 2023

Using the new experience, rule events select their dependencies automatically.
modifying selected events at runtime will be handled as part of #636

@itaysk
Copy link
Collaborator Author

itaysk commented Jan 30, 2023

@yanivagman AFAIR tracee-rules today already has the capability to load/unload rules

@yanivagman
Copy link
Collaborator

@yanivagman AFAIR tracee-rules today already has the capability to load/unload rules

It does. But to work it requires the event dependencies to be chosen at Tracee init time, or otherwise it won't work. This will be fixed as part of #636

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

No branches or pull requests

4 participants