Lines Matching refs:instance
14 * enable_tracer_by_name - enable a tracer on the given instance
51 * create_instance - create a trace instance with *instance_name
59 * destroy_instance - remove a trace instance and free the data
68 * save_trace_to_file - save the trace output of the instance to the file
130 * trace_instance_destroy - destroy and free a rtla trace instance
152 * trace_instance_init - create an rtla trace instance
154 * It is more than the tracefs instance, as it contains other
158 * Note that the trace instance is returned disabled. This allows
192 * trace_instance_start - start tracing a given rtla instance
280 static void trace_event_disable_filter(struct trace_instance *instance,
297 retval = tracefs_event_file_write(instance->inst, tevent->system,
309 static void trace_event_save_hist(struct trace_instance *instance,
339 hist = tracefs_event_file_read(instance->inst, tevent->system, tevent->event, "hist", 0);
358 static void trace_event_disable_trigger(struct trace_instance *instance,
373 trace_event_save_hist(instance, tevent);
377 retval = tracefs_event_file_write(instance->inst, tevent->system,
387 void trace_events_disable(struct trace_instance *instance,
398 trace_event_disable_filter(instance, tevent);
399 trace_event_disable_trigger(instance, tevent);
400 tracefs_event_disable(instance->inst, tevent->system, tevent->event);
411 static int trace_event_enable_filter(struct trace_instance *instance,
431 retval = tracefs_event_file_write(instance->inst, tevent->system,
446 static int trace_event_enable_trigger(struct trace_instance *instance,
466 retval = tracefs_event_file_write(instance->inst, tevent->system,
482 int trace_events_enable(struct trace_instance *instance,
490 retval = tracefs_event_enable(instance->inst, tevent->system, tevent->event);
497 retval = trace_event_enable_filter(instance, tevent);
501 retval = trace_event_enable_trigger(instance, tevent);
515 void trace_events_destroy(struct trace_instance *instance,
521 trace_events_disable(instance, events);
528 * The tool instance is always present, it is the one used to collect
535 * The trace instance is only enabled when -t is set. IOW, when the system