| /Linux-v5.4/kernel/trace/ | 
| D | trace.h | 142 struct trace_array;177 	struct trace_array		*tr;
 196 typedef bool (*cond_update_fn_t)(struct trace_array *tr, void *cond_data);
 246 struct trace_array {  struct
 339 extern int trace_array_get(struct trace_array *tr);  argument
 340 extern void trace_array_put(struct trace_array *tr);
 341 extern int tracing_check_open_get_tr(struct trace_array *tr);
 343 extern int tracing_set_time_stamp_abs(struct trace_array *tr, bool abs);
 344 extern int tracing_set_clock(struct trace_array *tr, const char *clockstr);
 346 extern bool trace_clock_in_ns(struct trace_array *tr);
 [all …]
 
 | 
| D | trace_irqsoff.c | 24 static struct trace_array		*irqsoff_trace __read_mostly;40 static void stop_irqsoff_tracer(struct trace_array *tr, int graph);
 41 static int start_irqsoff_tracer(struct trace_array *tr, int graph);
 65 static int irqsoff_display_graph(struct trace_array *tr, int set);
 68 static inline int irqsoff_display_graph(struct trace_array *tr, int set)  in irqsoff_display_graph()
 99 static int func_prolog_dec(struct trace_array *tr,  in func_prolog_dec()
 143 	struct trace_array *tr = irqsoff_trace;  in irqsoff_tracer_call()
 157 static int irqsoff_display_graph(struct trace_array *tr, int set)  in irqsoff_display_graph()
 177 	struct trace_array *tr = irqsoff_trace;  in irqsoff_graph_entry()
 207 	struct trace_array *tr = irqsoff_trace;  in irqsoff_graph_return()
 [all …]
 
 | 
| D | trace_functions.c | 22 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 …]
 
 | 
| D | trace_sched_wakeup.c | 22 static struct trace_array	*wakeup_trace;36 static void wakeup_reset(struct trace_array *tr);
 37 static void __wakeup_reset(struct trace_array *tr);
 38 static int start_func_tracer(struct trace_array *tr, int graph);
 39 static void stop_func_tracer(struct trace_array *tr, int graph);
 68 func_prolog_preempt_disable(struct trace_array *tr,  in func_prolog_preempt_disable()
 102 static int wakeup_display_graph(struct trace_array *tr, int set)  in wakeup_display_graph()
 117 	struct trace_array *tr = wakeup_trace;  in wakeup_graph_entry()
 147 	struct trace_array *tr = wakeup_trace;  in wakeup_graph_return()
 217 	struct trace_array *tr = wakeup_trace;  in wakeup_tracer_call()
 [all …]
 
 | 
| D | trace_nop.c | 35 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()
 
 | 
| D | trace_events.c | 232 	struct trace_array *tr = trace_file->tr;  in trace_event_ignore_this_pid()321 	struct trace_array *tr;  in trace_event_enable_cmd_record()
 343 	struct trace_array *tr;  in trace_event_enable_tgid_record()
 366 	struct trace_array *tr = file->tr;  in __ftrace_event_enable_disable()
 492 static void ftrace_clear_events(struct trace_array *tr)  in ftrace_clear_events()
 507 	struct trace_array *tr = data;  in event_filter_pid_sched_process_exit()
 519 	struct trace_array *tr = data;  in event_filter_pid_sched_process_fork()
 525 void trace_event_follow_fork(struct trace_array *tr, bool enable)  in trace_event_follow_fork()
 544 	struct trace_array *tr = data;  in event_filter_pid_sched_switch_probe_pre()
 558 	struct trace_array *tr = data;  in event_filter_pid_sched_switch_probe_post()
 [all …]
 
 | 
| D | trace.c | 83 dummy_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set)  in dummy_set_flag()162 static int tracing_set_tracer(struct trace_array *tr, const char *buf);
 271 static struct trace_array global_trace = {
 277 int trace_array_get(struct trace_array *this_tr)  in trace_array_get()
 279 	struct trace_array *tr;  in trace_array_get()
 295 static void __trace_array_put(struct trace_array *this_tr)  in __trace_array_put()
 301 void trace_array_put(struct trace_array *this_tr)  in trace_array_put()
 308 int tracing_check_open_get_tr(struct trace_array *tr)  in tracing_check_open_get_tr()
 738 static inline void ftrace_trace_stack(struct trace_array *tr,
 749 static inline void ftrace_trace_stack(struct trace_array *tr,  in ftrace_trace_stack()
 [all …]
 
 | 
| D | trace_mmiotrace.c | 25 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()
 
 | 
| D | trace_functions_graph.c | 80 static struct trace_array *graph_array;94 print_graph_duration(struct trace_array *tr, unsigned long long duration,
 97 int __trace_graph_entry(struct trace_array *tr,  in __trace_graph_entry()
 129 	struct trace_array *tr = graph_array;  in trace_graph_entry()
 190 __trace_graph_function(struct trace_array *tr,  in __trace_graph_function()
 210 trace_graph_function(struct trace_array *tr,  in trace_graph_function()
 217 void __trace_graph_return(struct trace_array *tr,  in __trace_graph_return()
 239 	struct trace_array *tr = graph_array;  in trace_graph_return()
 265 void set_graph_array(struct trace_array *tr)  in set_graph_array()
 300 static int graph_trace_init(struct trace_array *tr)  in graph_trace_init()
 [all …]
 
 | 
| D | trace_hwlat.c | 48 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()
 351 static int start_kthread(struct trace_array *tr)  in start_kthread()
 560 static void hwlat_tracer_start(struct trace_array *tr)  in hwlat_tracer_start()
 569 static void hwlat_tracer_stop(struct trace_array *tr)  in hwlat_tracer_stop()
 576 static int hwlat_tracer_init(struct trace_array *tr)  in hwlat_tracer_init()
 601 static void hwlat_tracer_reset(struct trace_array *tr)  in hwlat_tracer_reset()
 
 | 
| D | trace_selftest.c | 185 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()
 755 					struct trace_array *tr)  in trace_selftest_startup_function_graph()
 821 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr)  in trace_selftest_startup_irqsoff()
 870 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr)  in trace_selftest_startup_preemptoff()
 932 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr)  in trace_selftest_startup_preemptirqsoff()
 1033 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr)  in trace_selftest_startup_nop()
 1085 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr)  in trace_selftest_startup_wakeup()
 1163 trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr)  in trace_selftest_startup_branch()
 
 | 
| D | trace_branch.c | 28 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()
 
 | 
| D | trace_syscalls.c | 125 	struct trace_array *tr = iter->tr;  in print_syscall_enter()310 	struct trace_array *tr = data;  in ftrace_syscall_enter()
 360 	struct trace_array *tr = data;  in ftrace_syscall_exit()
 407 	struct trace_array *tr = file->tr;  in reg_event_syscall_enter()
 428 	struct trace_array *tr = file->tr;  in unreg_event_syscall_enter()
 445 	struct trace_array *tr = file->tr;  in reg_event_syscall_exit()
 466 	struct trace_array *tr = file->tr;  in unreg_event_syscall_exit()
 
 | 
| D | ftrace.c | 100 	struct trace_array *tr;  in ftrace_pids_enabled()147 	struct trace_array *tr = op->private;  in ftrace_pid_func()
 1029 	struct trace_array	*tr;
 1299 static int ftrace_add_mod(struct trace_array *tr,  in ftrace_add_mod()
 3061 	struct trace_array		*tr;
 3072 	struct trace_array *tr = iter->ops->private;  in t_probe_next()
 3203 	struct trace_array *tr = iter->tr;  in t_mod_next()
 3256 	struct trace_array *tr = iter->tr;  in t_mod_show()
 3557 	struct trace_array *tr = ops->private;  in ftrace_regex_open()
 3926 static int cache_mod(struct trace_array *tr,  in cache_mod()
 [all …]
 
 | 
| D | trace_events_hist.c | 627 static void hist_err(struct trace_array *tr, u8 err_type, u8 err_pos)  in hist_err()816 	struct trace_array *tr = iter->tr;  in print_synth_event()
 1489 	struct trace_array *tr = hist_data->event_file->tr;  in hist_field_timestamp()
 1579 	struct trace_array *tr = hist_data->event_file->tr;  in find_any_var_ref()
 1628 	struct trace_array *tr = hist_data->event_file->tr;  in find_hist_vars()
 1683 	struct trace_array *tr = hist_data->event_file->tr;  in save_hist_vars()
 1707 	struct trace_array *tr = hist_data->event_file->tr;  in remove_hist_vars()
 1766 static struct trace_event_file *find_var_file(struct trace_array *tr,  in find_var_file()
 1819 	struct trace_array *tr = hist_data->event_file->tr;  in find_match_var()
 1854 	struct trace_array *tr = hist_data->event_file->tr;  in find_event_var()
 [all …]
 
 | 
| D | trace_events_filter.c | 929 static void append_filter_err(struct trace_array *tr,  in append_filter_err()1052 					struct trace_array *tr)  in filter_free_subsystem_preds()
 1070 					  struct trace_array *tr)  in filter_free_subsystem_filters()
 1591 				struct trace_array *tr,  in process_system_preds()
 1732 static int create_filter(struct trace_array *tr,  in create_filter()
 1756 int create_event_filter(struct trace_array *tr,  in create_event_filter()
 1774 				struct trace_array *tr,  in create_system_filter()
 1852 	struct trace_array *tr = dir->tr;  in apply_subsystem_event_filter()
 
 | 
| D | trace_kdb.c | 25 	struct trace_array *tr;  in ftrace_dump_buf()
 | 
| D | blktrace.c | 30 static struct trace_array *blk_tr;1415 static void blk_tracer_start(struct trace_array *tr)  in blk_tracer_start()
 1420 static int blk_tracer_init(struct trace_array *tr)  in blk_tracer_init()
 1427 static void blk_tracer_stop(struct trace_array *tr)  in blk_tracer_stop()
 1432 static void blk_tracer_reset(struct trace_array *tr)  in blk_tracer_reset()
 1462 	struct trace_array *tr = iter->tr;  in print_one_line()
 1531 blk_tracer_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set)  in blk_tracer_set_flag()
 
 | 
| D | trace_output.c | 523 	struct trace_array *tr = iter->tr;  in lat_print_timestamp()567 	struct trace_array *tr = iter->tr;  in trace_print_context()
 605 	struct trace_array *tr = iter->tr;  in trace_print_lat_context()
 1086 	struct trace_array *tr = iter->tr;  in trace_user_stack_print()
 
 | 
| D | trace_events_trigger.c | 474 clear_event_triggers(struct trace_array *tr)  in clear_event_triggers()1352 	struct trace_array *tr = file->tr;  in event_enable_trigger_func()
 
 | 
| D | trace_kprobe.c | 1630 	struct trace_array *tr = top_trace_array();  in enable_boot_kprobe_events()1709 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr)  in find_trace_probe_file()
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | trace_events.h | 13 struct trace_array;75 	struct trace_array	*tr;
 329 struct trace_array;
 380 	struct trace_array		*tr;
 551 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set);
 
 |