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

Method SetDropMask

pkg/config/eventsource.go:182–184  ·  view source on GitHub ↗

SetDropMask inserts the event mask in the bitset to instruct the given event type should be dropped from the event stream.

(typ event.Type)

Source from the content-addressed store, hash-verified

180// instruct the given event type should be dropped from
181// the event stream.
182func (c *EventSourceConfig) SetDropMask(typ event.Type) {
183 c.dropMasks.Set(typ.ID())
184}
185
186// TestDropMask checks if the specified event type has
187// the drop mask in the bitset.

Callers 1

OpenMethod · 0.80

Calls 2

SetMethod · 0.65
IDMethod · 0.45

Tested by

no test coverage detected