Home
last modified time | relevance | path

Searched refs:trace_array (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/kernel/trace/
Dtrace.h143 struct trace_array;
178 struct trace_array *tr;
202 struct trace_array { struct
289 extern int trace_array_get(struct trace_array *tr); argument
290 extern void trace_array_put(struct trace_array *tr);
292 extern int tracing_set_time_stamp_abs(struct trace_array *tr, bool abs);
293 extern int tracing_set_clock(struct trace_array *tr, const char *clockstr);
295 extern bool trace_clock_in_ns(struct trace_array *tr);
301 static inline struct trace_array *top_trace_array(void) in top_trace_array()
303 struct trace_array *tr; in top_trace_array()
[all …]
Dtrace_irqsoff.c23 static struct trace_array *irqsoff_trace __read_mostly;
39 static void stop_irqsoff_tracer(struct trace_array *tr, int graph);
40 static int start_irqsoff_tracer(struct trace_array *tr, int graph);
64 static int irqsoff_display_graph(struct trace_array *tr, int set);
67 static inline int irqsoff_display_graph(struct trace_array *tr, int set) in irqsoff_display_graph()
98 static int func_prolog_dec(struct trace_array *tr, in func_prolog_dec()
142 struct trace_array *tr = irqsoff_trace; in irqsoff_tracer_call()
156 static int irqsoff_display_graph(struct trace_array *tr, int set) in irqsoff_display_graph()
176 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_entry()
206 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_return()
[all …]
Dtrace_functions.c22 static void tracing_start_function_trace(struct trace_array *tr);
23 static void tracing_stop_function_trace(struct trace_array *tr);
37 static int allocate_ftrace_ops(struct trace_array *tr) in allocate_ftrace_ops()
55 int ftrace_create_function_files(struct trace_array *tr, in ftrace_create_function_files()
76 void ftrace_destroy_function_files(struct trace_array *tr) in ftrace_destroy_function_files()
83 static int function_trace_init(struct trace_array *tr) in function_trace_init()
112 static void function_trace_reset(struct trace_array *tr) in function_trace_reset()
119 static void function_trace_start(struct trace_array *tr) in function_trace_start()
128 struct trace_array *tr = op->private; in function_trace_call()
179 struct trace_array *tr = op->private; in function_stack_trace_call()
[all …]
Dtrace_sched_wakeup.c22 static struct trace_array *wakeup_trace;
36 static void wakeup_reset(struct trace_array *tr);
37 static void __wakeup_reset(struct trace_array *tr);
42 static int wakeup_display_graph(struct trace_array *tr, int set);
45 static inline int wakeup_display_graph(struct trace_array *tr, int set) in wakeup_display_graph()
75 func_prolog_preempt_disable(struct trace_array *tr, in func_prolog_preempt_disable()
114 struct trace_array *tr = wakeup_trace; in wakeup_tracer_call()
130 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function()
150 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function()
163 static int wakeup_function_set(struct trace_array *tr, u32 mask, int set) in wakeup_function_set()
[all …]
Dtrace_nop.c35 static struct trace_array *ctx_trace;
37 static void start_nop_trace(struct trace_array *tr) in start_nop_trace()
42 static void stop_nop_trace(struct trace_array *tr) in stop_nop_trace()
47 static int nop_trace_init(struct trace_array *tr) in nop_trace_init()
54 static void nop_trace_reset(struct trace_array *tr) in nop_trace_reset()
64 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag()
Dtrace_events.c239 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid()
328 struct trace_array *tr; in trace_event_enable_cmd_record()
350 struct trace_array *tr; in trace_event_enable_tgid_record()
373 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable()
499 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
514 struct trace_array *tr = data; in event_filter_pid_sched_process_exit()
526 struct trace_array *tr = data; in event_filter_pid_sched_process_fork()
532 void trace_event_follow_fork(struct trace_array *tr, bool enable) in trace_event_follow_fork()
551 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_pre()
565 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_post()
[all …]
Dtrace.c82 dummy_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in dummy_set_flag()
161 static int tracing_set_tracer(struct trace_array *tr, const char *buf);
268 static struct trace_array global_trace = {
274 int trace_array_get(struct trace_array *this_tr) in trace_array_get()
276 struct trace_array *tr; in trace_array_get()
292 static void __trace_array_put(struct trace_array *this_tr) in __trace_array_put()
298 void trace_array_put(struct trace_array *this_tr) in trace_array_put()
715 static inline void ftrace_trace_stack(struct trace_array *tr,
726 static inline void ftrace_trace_stack(struct trace_array *tr, in ftrace_trace_stack()
760 void tracer_tracing_on(struct trace_array *tr) in tracer_tracing_on()
[all …]
Dtrace_mmiotrace.c25 static struct trace_array *mmio_trace_array;
30 static void mmio_reset_data(struct trace_array *tr) in mmio_reset_data()
38 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init()
48 static void mmio_trace_reset(struct trace_array *tr) in mmio_trace_reset()
57 static void mmio_trace_start(struct trace_array *tr) in mmio_trace_start()
295 static void __trace_mmiotrace_rw(struct trace_array *tr, in __trace_mmiotrace_rw()
320 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw()
325 static void __trace_mmiotrace_map(struct trace_array *tr, in __trace_mmiotrace_map()
350 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping()
Dtrace_functions_graph.c103 static struct trace_array *graph_array;
117 print_graph_duration(struct trace_array *tr, unsigned long long duration,
345 int __trace_graph_entry(struct trace_array *tr, in __trace_graph_entry()
377 struct trace_array *tr = graph_array; in trace_graph_entry()
429 __trace_graph_function(struct trace_array *tr, in __trace_graph_function()
449 trace_graph_function(struct trace_array *tr, in trace_graph_function()
456 void __trace_graph_return(struct trace_array *tr, in __trace_graph_return()
478 struct trace_array *tr = graph_array; in trace_graph_return()
497 void set_graph_array(struct trace_array *tr) in set_graph_array()
515 static int graph_trace_init(struct trace_array *tr) in graph_trace_init()
[all …]
Dtrace_hwlat.c48 static struct trace_array *hwlat_trace;
105 struct trace_array *tr = hwlat_trace; in trace_hwlat_sample()
169 struct trace_array *tr = hwlat_trace; in get_sample()
349 static int start_kthread(struct trace_array *tr) in start_kthread()
558 static void hwlat_tracer_start(struct trace_array *tr) in hwlat_tracer_start()
567 static void hwlat_tracer_stop(struct trace_array *tr) in hwlat_tracer_stop()
574 static int hwlat_tracer_init(struct trace_array *tr) in hwlat_tracer_init()
599 static void hwlat_tracer_reset(struct trace_array *tr) in hwlat_tracer_reset()
Dtrace_selftest.c185 static int trace_selftest_ops(struct trace_array *tr, int cnt) in trace_selftest_ops()
326 struct trace_array *tr, in trace_selftest_startup_dynamic_tracing()
653 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
750 struct trace_array *tr) in trace_selftest_startup_function_graph()
814 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff()
863 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff()
925 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff()
1026 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop()
1078 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup()
1156 trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_branch()
Dtrace_branch.c28 static struct trace_array *branch_tracer;
34 struct trace_array *tr = branch_tracer; in probe_likely_condition()
102 int enable_branch_tracing(struct trace_array *tr) in enable_branch_tracing()
130 static int branch_trace_init(struct trace_array *tr) in branch_trace_init()
135 static void branch_trace_reset(struct trace_array *tr) in branch_trace_reset()
Dtrace_syscalls.c125 struct trace_array *tr = iter->tr; in print_syscall_enter()
310 struct trace_array *tr = data; in ftrace_syscall_enter()
358 struct trace_array *tr = data; in ftrace_syscall_exit()
405 struct trace_array *tr = file->tr; in reg_event_syscall_enter()
426 struct trace_array *tr = file->tr; in unreg_event_syscall_enter()
443 struct trace_array *tr = file->tr; in reg_event_syscall_exit()
464 struct trace_array *tr = file->tr; in unreg_event_syscall_exit()
Dftrace.c97 struct trace_array *tr; in ftrace_pids_enabled()
164 struct trace_array *tr = op->private; in ftrace_pid_func()
1052 struct trace_array *tr;
1322 static int ftrace_add_mod(struct trace_array *tr, in ftrace_add_mod()
3075 struct trace_array *tr;
3086 struct trace_array *tr = iter->ops->private; in t_probe_next()
3209 struct trace_array *tr = iter->tr; in t_mod_next()
3262 struct trace_array *tr = iter->tr; in t_mod_show()
3549 struct trace_array *tr = ops->private; in ftrace_regex_open()
3879 static int cache_mod(struct trace_array *tr, in cache_mod()
[all …]
Dtrace_kdb.c25 struct trace_array *tr; in ftrace_dump_buf()
Dblktrace.c30 static struct trace_array *blk_tr;
1420 static void blk_tracer_start(struct trace_array *tr) in blk_tracer_start()
1425 static int blk_tracer_init(struct trace_array *tr) in blk_tracer_init()
1432 static void blk_tracer_stop(struct trace_array *tr) in blk_tracer_stop()
1437 static void blk_tracer_reset(struct trace_array *tr) in blk_tracer_reset()
1467 struct trace_array *tr = iter->tr; in print_one_line()
1536 blk_tracer_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in blk_tracer_set_flag()
Dtrace_events_filter.c1029 struct trace_array *tr) in filter_free_subsystem_preds()
1047 struct trace_array *tr) in filter_free_subsystem_filters()
1562 struct trace_array *tr, in process_system_preds()
1742 struct trace_array *tr, in create_system_filter()
1820 struct trace_array *tr = dir->tr; in apply_subsystem_event_filter()
Dtrace_output.c545 struct trace_array *tr = iter->tr; in lat_print_timestamp()
589 struct trace_array *tr = iter->tr; in trace_print_context()
627 struct trace_array *tr = iter->tr; in trace_print_lat_context()
1108 struct trace_array *tr = iter->tr; in trace_user_stack_print()
Dtrace_events_hist.c579 struct trace_array *tr = iter->tr; in print_synth_event()
1238 struct trace_array *tr = hist_data->event_file->tr; in hist_field_timestamp()
1337 struct trace_array *tr = hist_data->event_file->tr; in find_any_var_ref()
1373 struct trace_array *tr = hist_data->event_file->tr; in find_hist_vars()
1428 struct trace_array *tr = hist_data->event_file->tr; in save_hist_vars()
1452 struct trace_array *tr = hist_data->event_file->tr; in remove_hist_vars()
1511 static struct trace_event_file *find_var_file(struct trace_array *tr, in find_var_file()
1564 struct trace_array *tr = hist_data->event_file->tr; in find_match_var()
1598 struct trace_array *tr = hist_data->event_file->tr; in find_event_var()
2872 static struct trace_event_file *event_file(struct trace_array *tr, in event_file()
[all …]
Dtrace_events_trigger.c468 clear_event_triggers(struct trace_array *tr) in clear_event_triggers()
1343 struct trace_array *tr = file->tr; in event_enable_trigger_func()
Dtrace_kprobe.c1585 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
/Linux-v4.19/include/linux/
Dtrace_events.h13 struct trace_array;
75 struct trace_array *tr;
320 struct trace_array;
371 struct trace_array *tr;