Lines Matching refs:test_ftracer

17 struct test_ftracer {  struct
24 void (*destructor)(struct test_ftracer *tracer); argument
34 struct test_ftracer *next; argument
37 static struct test_ftracer *ftracers;
147 static int setup_ftrace_instance(struct test_ftracer *tracer, const char *name) in setup_ftrace_instance()
164 static void remove_ftrace_instance(struct test_ftracer *tracer) in remove_ftrace_instance()
174 struct test_ftracer *tracer = arg; in tracer_cleanup()
179 static void tracer_set_error(struct test_ftracer *tracer, int error) in tracer_set_error()
185 const size_t tracer_get_savedlines_nr(struct test_ftracer *tracer) in tracer_get_savedlines_nr()
190 const char **tracer_get_savedlines(struct test_ftracer *tracer) in tracer_get_savedlines()
197 struct test_ftracer *tracer = arg; in tracer_thread_func()
239 static int setup_trace_thread(struct test_ftracer *tracer) in setup_trace_thread()
265 static void stop_trace_thread(struct test_ftracer *tracer) in stop_trace_thread()
285 static void final_wait_for_events(struct test_ftracer *tracer, in final_wait_for_events()
306 int setup_trace_event(struct test_ftracer *tracer, in setup_trace_event()
332 struct test_ftracer *create_ftracer(const char *name, in create_ftracer()
334 void (*destructor)(struct test_ftracer *tracer), in create_ftracer()
338 struct test_ftracer *tracer; in create_ftracer()
421 static void __destroy_ftracer(struct test_ftracer *tracer) in __destroy_ftracer()
437 void destroy_ftracer(struct test_ftracer *tracer) in destroy_ftracer()
443 struct test_ftracer *f = ftracers; in destroy_ftracer()
459 struct test_ftracer *f; in destroy_all_ftracers()
467 struct test_ftracer *n = f->next; in destroy_all_ftracers()