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

Method ExcludeEvent

pkg/config/eventsource.go:194–196  ·  view source on GitHub ↗

ExcludeEvent determines whether the supplied short event ID exists in the bitset of excluded events.

(id uint)

Source from the content-addressed store, hash-verified

192// ExcludeEvent determines whether the supplied short
193// event ID exists in the bitset of excluded events.
194func (c *EventSourceConfig) ExcludeEvent(id uint) bool {
195 return c.dropMasks.IsSet(id)
196}
197
198// EventExists determines if the provided event ID exists
199// in the internal event catalog by checking the event ID

Callers 2

TestEventSourceConfigFunction · 0.80
ProcessEventMethod · 0.80

Calls 1

IsSetMethod · 0.80

Tested by 1

TestEventSourceConfigFunction · 0.64