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

Method TestDropMask

pkg/config/eventsource.go:188–190  ·  view source on GitHub ↗

TestDropMask checks if the specified event type has the drop mask in the bitset.

(typ event.Type)

Source from the content-addressed store, hash-verified

186// TestDropMask checks if the specified event type has
187// the drop mask in the bitset.
188func (c *EventSourceConfig) TestDropMask(typ event.Type) bool {
189 return c.dropMasks.IsSet(typ.ID())
190}
191
192// ExcludeEvent determines whether the supplied short
193// event ID exists in the bitset of excluded events.

Calls 2

IsSetMethod · 0.80
IDMethod · 0.45