Home
last modified time | relevance | path

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

/linux/kernel/trace/
H A Dtrace.h184 struct trace_array;
218 struct trace_array *tr;
265 typedef bool (*cond_update_fn_t)(struct trace_array *tr, void *cond_data);
333 struct trace_array { struct
492 extern int trace_array_get(struct trace_array *tr);
493 extern int tracing_check_open_get_tr(struct trace_array *tr);
494 extern struct trace_array *trace_array_find(const char *instance);
495 extern struct trace_array *trace_array_find_get(const char *instance);
498 extern int tracing_set_clock(struct trace_array *tr, const char *clockstr);
500 extern bool trace_clock_in_ns(struct trace_array *tr);
[all …]
H A Dtrace_irqsoff.c24 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()
160 static int irqsoff_display_graph(struct trace_array *tr, int set) in irqsoff_display_graph()
182 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_entry()
219 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_return()
[all …]
H A 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);
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()
119 struct trace_array *tr = wakeup_trace; in wakeup_graph_entry()
155 struct trace_array *tr = wakeup_trace; in wakeup_graph_return()
230 struct trace_array *tr = wakeup_trace; in wakeup_tracer_call()
[all …]
H A Dtrace_functions.c22 static void tracing_start_function_trace(struct trace_array *tr);
23 static void tracing_stop_function_trace(struct trace_array *tr);
56 int ftrace_allocate_ftrace_ops(struct trace_array *tr) in ftrace_allocate_ftrace_ops()
78 void ftrace_free_ftrace_ops(struct trace_array *tr) in ftrace_free_ftrace_ops()
84 int ftrace_create_function_files(struct trace_array *tr, in ftrace_create_function_files()
109 void ftrace_destroy_function_files(struct trace_array *tr) in ftrace_destroy_function_files()
134 static bool handle_func_repeats(struct trace_array *tr, u32 flags_val) in handle_func_repeats()
146 static int function_trace_init(struct trace_array *tr) in function_trace_init()
173 static void function_trace_reset(struct trace_array *tr) in function_trace_reset()
180 static void function_trace_start(struct trace_array *tr) in function_trace_start()
[all …]
H A 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()
H A Dtrace.c213 int tracing_set_tracer(struct trace_array *tr, const char *buf);
214 static void ftrace_trace_userstack(struct trace_array *tr,
523 static struct trace_array global_trace = {
527 struct trace_array *printk_trace = &global_trace;
532 static void update_printk_trace(struct trace_array *tr) in update_printk_trace()
543 static bool update_marker_trace(struct trace_array *tr, int enabled) in update_marker_trace()
564 void trace_set_ring_buffer_expanded(struct trace_array *tr) in trace_set_ring_buffer_expanded()
573 struct trace_array *tr = container_of(work, struct trace_array, autoremove_work); in trace_array_autoremove()
580 static void trace_array_kick_autoremove(struct trace_array *tr) in trace_array_kick_autoremove()
586 static void trace_array_cancel_autoremove(struct trace_array *tr) in trace_array_cancel_autoremove()
[all …]
H A Dtrace_functions_graph.c107 static bool tracer_flags_is_set(struct trace_array *tr, u32 flags) in tracer_flags_is_set()
124 print_graph_duration(struct trace_array *tr, unsigned long long duration,
127 static int __graph_entry(struct trace_array *tr, struct ftrace_graph_ent *trace, in __graph_entry()
157 int __trace_graph_entry(struct trace_array *tr, in __trace_graph_entry()
165 int __trace_graph_retaddr_entry(struct trace_array *tr, in __trace_graph_retaddr_entry()
199 int __trace_graph_retaddr_entry(struct trace_array *tr, in __trace_graph_retaddr_entry()
209 static inline int ftrace_graph_ignore_irqs(struct trace_array *tr) in ftrace_graph_ignore_irqs()
230 struct trace_array *tr = gops->private; in graph_entry()
309 __trace_graph_function(struct trace_array *tr, in __trace_graph_function()
327 trace_graph_function(struct trace_array *t
[all...]
H A Dtrace_mmiotrace.c23 static struct trace_array *mmio_trace_array;
28 static void mmio_reset_data(struct trace_array *tr) in mmio_reset_data()
37 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init()
47 static void mmio_trace_reset(struct trace_array *tr) in mmio_trace_reset()
56 static void mmio_trace_start(struct trace_array *tr) in mmio_trace_start()
297 static void __trace_mmiotrace_rw(struct trace_array *tr, in __trace_mmiotrace_rw()
324 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw()
328 static void __trace_mmiotrace_map(struct trace_array *tr, in __trace_mmiotrace_map()
355 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping()
H A Dtrace_events.c661 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid()
770 struct trace_array *tr; in trace_event_enable_cmd_record()
792 struct trace_array *tr; in trace_event_enable_tgid_record()
815 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable()
956 static void clear_mod_events(struct trace_array *tr) in clear_mod_events()
965 static int remove_cache_mod(struct trace_array *tr, const char *mod, in remove_cache_mod()
993 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
1043 static inline void clear_mod_events(struct trace_array *tr) { } in clear_mod_events()
1044 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
1051 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
[all …]
H A Dtrace_boot.c26 trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_instance_options()
85 trace_boot_enable_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_events()
551 trace_boot_init_one_event(struct trace_array *tr, struct xbc_node *gnode, in trace_boot_init_one_event()
616 trace_boot_init_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_events()
658 trace_boot_set_ftrace_filter(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_ftrace_filter()
690 trace_boot_enable_tracer(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_tracer()
710 trace_boot_init_one_instance(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_one_instance()
722 struct trace_array *tr; in trace_boot_init_instances()
747 struct trace_array *tr; in trace_boot_init()
H A Dtrace_selftest.c183 static int trace_selftest_ops(struct trace_array *tr, int cnt) in trace_selftest_ops()
358 struct trace_array *tr, in trace_selftest_startup_dynamic_tracing()
692 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
1063 struct trace_array *tr) in trace_selftest_startup_function_graph()
1196 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff()
1245 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff()
1307 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff()
1408 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop()
1460 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup()
1538 trace_selftest_startup_branch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_branch()
H A Dtrace_osnoise.c81 struct trace_array *tr;
89 struct trace_array *tr; in osnoise_print()
112 static int osnoise_instance_registered(struct trace_array *tr) in osnoise_instance_registered()
133 static int osnoise_register_instance(struct trace_array *tr) in osnoise_register_instance()
161 static void osnoise_unregister_instance(struct trace_array *tr) in osnoise_unregister_instance()
1198 struct trace_array *tr; in osnoise_stop_exception()
1371 struct trace_array *tr; in osnoise_stop_tracing()
1409 struct trace_array *tr; in notify_new_max_latency()
3012 static void osnoise_tracer_start(struct trace_array *tr) in osnoise_tracer_start()
3030 static void osnoise_tracer_stop(struct trace_array *tr) in osnoise_tracer_stop()
[all …]
H A Dftrace.c104 struct trace_array *tr; in ftrace_pids_enabled()
175 struct trace_array *tr = op->private; in ftrace_pid_func()
536 struct trace_array *tr = trace_get_global_array(); in function_stat_show()
1073 struct trace_array *tr;
1380 static int ftrace_add_mod(struct trace_array *tr, in ftrace_add_mod()
3985 struct trace_array *tr;
3996 struct trace_array *tr = iter->ops->private; in t_probe_next()
4127 struct trace_array *tr = iter->tr; in t_mod_next()
4180 struct trace_array *tr = iter->tr; in t_mod_show()
4703 struct trace_array *tr = ops->private; in ftrace_regex_open()
[all …]
H A Dtrace_events_hist.c809 static void hist_err(struct trace_array *tr, u8 err_type, u16 err_pos) in hist_err()
875 struct trace_array *tr = hist_data->event_file->tr; in hist_field_timestamp()
975 struct trace_array *tr = hist_data->event_file->tr; in find_any_var_ref()
1024 struct trace_array *tr = hist_data->event_file->tr; in find_hist_vars()
1079 struct trace_array *tr = hist_data->event_file->tr; in save_hist_vars()
1103 struct trace_array *tr = hist_data->event_file->tr; in remove_hist_vars()
1164 static struct trace_event_file *find_var_file(struct trace_array *tr, in find_var_file()
1219 struct trace_array *tr = hist_data->event_file->tr; in find_match_var()
1254 struct trace_array *tr = hist_data->event_file->tr; in find_event_var()
1478 static int parse_assignment(struct trace_array *tr, in parse_assignment()
[all …]
H A Dtrace_syscalls.c244 struct trace_array *tr = iter->tr; in print_syscall_enter()
863 struct trace_array *tr = data; in ftrace_syscall_enter()
929 struct trace_array *tr = data; in ftrace_syscall_exit()
973 struct trace_array *tr = file->tr; in reg_event_syscall_enter()
1003 struct trace_array *tr = file->tr; in unreg_event_syscall_enter()
1021 struct trace_array *tr = file->tr; in reg_event_syscall_exit()
1042 struct trace_array *tr = file->tr; in unreg_event_syscall_exit()
H A Dtrace_kdb.c25 struct trace_array *tr; in ftrace_dump_buf()
H A Dblktrace.c33 static struct trace_array *blk_tr;
1687 static void blk_tracer_start(struct trace_array *tr) in blk_tracer_start()
1692 static int blk_tracer_init(struct trace_array *tr) in blk_tracer_init()
1699 static void blk_tracer_stop(struct trace_array *tr) in blk_tracer_stop()
1704 static void blk_tracer_reset(struct trace_array *tr) in blk_tracer_reset()
1733 struct trace_array *tr = iter->tr; in print_one_line()
1803 blk_tracer_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in blk_tracer_set_flag()
H A Dtrace_events_filter.c1205 static void append_filter_err(struct trace_array *tr, in append_filter_err()
1330 struct trace_array *tr) in filter_free_subsystem_preds()
1439 struct trace_array *tr, in filter_free_subsystem_filters()
2254 struct trace_array *tr, in process_system_preds()
2392 static int create_filter(struct trace_array *tr, in create_filter()
2416 int create_event_filter(struct trace_array *tr, in create_event_filter()
2509 struct trace_array *tr = dir->tr; in apply_subsystem_event_filter()
H A Dtrace_eprobe.c579 struct trace_array *tr = eprobe_file->tr; in enable_eprobe()
601 struct trace_array *tr) in disable_eprobe()
H A Dtrace_events_trigger.c637 clear_event_triggers(struct trace_array *tr) in clear_event_triggers()
1758 struct trace_array *tr = file->tr; in event_enable_trigger_parse()
H A Dfgraph.c1200 struct trace_array *tr = gops->ops.private; in fgraph_pid_func()
H A Dtrace_kprobe.c1999 struct trace_array *tr = top_trace_array(); in enable_boot_kprobe_events()
2086 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
H A Dtrace_events_synth.c348 struct trace_array *tr = iter->tr; in print_synth_event()
/linux/samples/ftrace/
H A Dsample-trace-array.c20 struct trace_array *tr;
/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c41 static struct trace_array *qla_trc_array;