MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Run

Method Run

pkg/filter/filter.go:246–251  ·  view source on GitHub ↗
(e *event.Event)

Source from the content-addressed store, hash-verified

244}
245
246func (f *filter) Run(e *event.Event) bool {
247 if f.expr == nil {
248 return false
249 }
250 return ql.Eval(f.expr, f.mapValuer(e), f.hasFunctions)
251}
252
253// evalBoundSequence evaluates the sequence with bound fields
254// and returns true if the sequence expression matches or false

Callers

nothing calls this directly

Calls 2

mapValuerMethod · 0.95
EvalFunction · 0.92

Tested by

no test coverage detected