Lines Matching defs:instance

13  * enable_tracer_by_name - enable a tracer on the given instance
50 * create_instance - create a trace instance with *instance_name
58 * destroy_instance - remove a trace instance and free the data
67 * save_trace_to_file - save the trace output of the instance to the file
160 * trace_instance_destroy - destroy and free a rtla trace instance
182 * trace_instance_init - create an rtla trace instance
184 * It is more than the tracefs instance, as it contains other
188 * Note that the trace instance is returned disabled. This allows
233 * trace_instance_start - start tracing a given rtla instance
241 * trace_instance_stop - stop tracing a given rtla instance
329 static void trace_event_disable_filter(struct trace_instance *instance,
346 retval = tracefs_event_file_write(instance->inst, tevent->system,
358 static void trace_event_save_hist(struct trace_instance *instance,
388 hist = tracefs_event_file_read(instance->inst, tevent->system, tevent->event, "hist", 0);
407 static void trace_event_disable_trigger(struct trace_instance *instance,
422 trace_event_save_hist(instance, tevent);
426 retval = tracefs_event_file_write(instance->inst, tevent->system,
436 void trace_events_disable(struct trace_instance *instance,
447 trace_event_disable_filter(instance, tevent);
448 trace_event_disable_trigger(instance, tevent);
449 tracefs_event_disable(instance->inst, tevent->system, tevent->event);
460 static int trace_event_enable_filter(struct trace_instance *instance,
480 retval = tracefs_event_file_write(instance->inst, tevent->system,
495 static int trace_event_enable_trigger(struct trace_instance *instance,
515 retval = tracefs_event_file_write(instance->inst, tevent->system,
531 int trace_events_enable(struct trace_instance *instance,
539 retval = tracefs_event_enable(instance->inst, tevent->system, tevent->event);
546 retval = trace_event_enable_filter(instance, tevent);
550 retval = trace_event_enable_trigger(instance, tevent);
564 void trace_events_destroy(struct trace_instance *instance,
570 trace_events_disable(instance, events);