Lines Matching defs:handler
252 static void perf_event_ops__fill_defaults(struct perf_event_ops *handler)
254 if (handler->sample == NULL)
255 handler->sample = process_event_stub;
256 if (handler->mmap == NULL)
257 handler->mmap = process_event_stub;
258 if (handler->comm == NULL)
259 handler->comm = process_event_stub;
260 if (handler->fork == NULL)
261 handler->fork = process_event_stub;
262 if (handler->exit == NULL)
263 handler->exit = process_event_stub;
264 if (handler->lost == NULL)
265 handler->lost = process_event_stub;
266 if (handler->read == NULL)
267 handler->read = process_event_stub;
268 if (handler->throttle == NULL)
269 handler->throttle = process_event_stub;
270 if (handler->unthrottle == NULL)
271 handler->unthrottle = process_event_stub;
272 if (handler->attr == NULL)
273 handler->attr = process_event_stub;
274 if (handler->event_type == NULL)
275 handler->event_type = process_event_stub;
276 if (handler->tracing_data == NULL)
277 handler->tracing_data = process_event_stub;
278 if (handler->build_id == NULL)
279 handler->build_id = process_event_stub;
280 if (handler->finished_round == NULL) {
281 if (handler->ordered_samples)
282 handler->finished_round = process_finished_round;
284 handler->finished_round = process_finished_round_stub;