CpuEvent.filter

classmethod CpuEvent.filter(event_params, event)

Event filter function

This function should be implemented for each event. The default implementation ignores the event_params and simply passes if the type matches.