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

Chore at large #3979

Merged
merged 7 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pkg/cmd/cobra/cobra.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@ func GetTraceeRunner(c *cobra.Command, version string) (cmd.Runner, error) {
}
cfg.Output = output.TraceeConfig

if err != nil {
return runner, err
}
cfg.Output = output.TraceeConfig

// Create printer

p, err := printer.NewBroadcast(output.PrinterConfigs, cmd.GetContainerMode(cfg))
Expand Down
9 changes: 0 additions & 9 deletions pkg/ebpf/tracee.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,15 +779,6 @@ func (t *Tracee) initDerivationTable() error {
return nil
}

// RegisterEventDerivation registers an event derivation handler for tracee to use in the event pipeline
func (t *Tracee) RegisterEventDerivation(deriveFrom events.ID, deriveTo events.ID, deriveCondition func() bool, deriveLogic derive.DeriveFunction) error {
if t.eventDerivations == nil {
return errfmt.Errorf("tracee not initialized yet")
}

return t.eventDerivations.Register(deriveFrom, deriveTo, deriveCondition, deriveLogic)
geyslan marked this conversation as resolved.
Show resolved Hide resolved
}

// options config should match defined values in ebpf code
const (
optExecEnv uint32 = 1 << iota
Expand Down