Open rafaeldtinoco opened 1 year ago
@AsafEitani assigned you since this was a request back then when those functions were added (just read the TODO in the code and issue was missing).
The package already exists, but currently it only holds the trigger context object and not the event triggering mechanism itself.
As a start, we could move the mostly empty go:noinline
annotated methods from the tracee
object to an exported method in the package. From that point I believe we'd find more stuff that should be moved alongside.
Similar to the move we did in the derive
package, any dependencies from tracee that were required for the trigger can be carried along with the trigger function using dependency inversion.
Description
The uprobe triggering logic added to tracee.go should go into its own package and tracee.go should be refactored/cleaned.
Output of
tracee -v
: