Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace.h140 struct trace_array;
175 struct trace_array *tr;
199 struct trace_array { struct
276 extern int trace_array_get(struct trace_array *tr); argument
277 extern void trace_array_put(struct trace_array *tr);
283 static inline struct trace_array *top_trace_array(void) in top_trace_array()
285 struct trace_array *tr; in top_trace_array()
372 struct trace_array *tr;
398 int (*init)(struct trace_array *tr);
399 void (*reset)(struct trace_array *tr);
[all …]
Dtrace_sched_wakeup.c21 static struct trace_array *wakeup_trace;
35 static void wakeup_reset(struct trace_array *tr);
36 static void __wakeup_reset(struct trace_array *tr);
41 static int wakeup_display_graph(struct trace_array *tr, int set);
44 static inline int wakeup_display_graph(struct trace_array *tr, int set) in wakeup_display_graph()
74 func_prolog_preempt_disable(struct trace_array *tr, in func_prolog_preempt_disable()
113 struct trace_array *tr = wakeup_trace; in wakeup_tracer_call()
129 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function()
149 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function()
162 static int wakeup_function_set(struct trace_array *tr, u32 mask, int set) in wakeup_function_set()
[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()
194 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_return()
[all …]
Dtrace_nop.c34 static struct trace_array *ctx_trace;
36 static void start_nop_trace(struct trace_array *tr) in start_nop_trace()
41 static void stop_nop_trace(struct trace_array *tr) in stop_nop_trace()
46 static int nop_trace_init(struct trace_array *tr) in nop_trace_init()
53 static void nop_trace_reset(struct trace_array *tr) in nop_trace_reset()
63 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag()
Dtrace_functions.c21 static void tracing_start_function_trace(struct trace_array *tr);
22 static void tracing_stop_function_trace(struct trace_array *tr);
36 static int allocate_ftrace_ops(struct trace_array *tr) in allocate_ftrace_ops()
54 int ftrace_create_function_files(struct trace_array *tr, in ftrace_create_function_files()
75 void ftrace_destroy_function_files(struct trace_array *tr) in ftrace_destroy_function_files()
82 static int function_trace_init(struct trace_array *tr) in function_trace_init()
111 static void function_trace_reset(struct trace_array *tr) in function_trace_reset()
118 static void function_trace_start(struct trace_array *tr) in function_trace_start()
127 struct trace_array *tr = op->private; in function_trace_call()
160 struct trace_array *tr = op->private; in function_stack_trace_call()
[all …]
Dtrace_events.c238 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid()
367 struct trace_array *tr; in trace_event_enable_cmd_record()
390 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable()
498 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
513 struct trace_array *tr = data; in event_filter_pid_sched_process_exit()
525 struct trace_array *tr = data; in event_filter_pid_sched_process_fork()
531 void trace_event_follow_fork(struct trace_array *tr, bool enable) in trace_event_follow_fork()
550 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_pre()
564 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_post()
576 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_pre()
[all …]
Dtrace.c78 dummy_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in dummy_set_flag()
157 static int tracing_set_tracer(struct trace_array *tr, const char *buf);
272 static struct trace_array global_trace = {
278 int trace_array_get(struct trace_array *this_tr) in trace_array_get()
280 struct trace_array *tr; in trace_array_get()
296 static void __trace_array_put(struct trace_array *this_tr) in __trace_array_put()
302 void trace_array_put(struct trace_array *this_tr) in trace_array_put()
721 static inline void ftrace_trace_stack(struct trace_array *tr,
732 static inline void ftrace_trace_stack(struct trace_array *tr, in ftrace_trace_stack()
741 static void tracer_tracing_on(struct trace_array *tr) in tracer_tracing_on()
[all …]
Dtrace_mmiotrace.c24 static struct trace_array *mmio_trace_array;
29 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()
293 static void __trace_mmiotrace_rw(struct trace_array *tr, in __trace_mmiotrace_rw()
318 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw()
323 static void __trace_mmiotrace_map(struct trace_array *tr, in __trace_mmiotrace_map()
348 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping()
Dtrace_functions_graph.c107 static struct trace_array *graph_array;
121 print_graph_duration(struct trace_array *tr, unsigned long long duration,
349 int __trace_graph_entry(struct trace_array *tr, in __trace_graph_entry()
381 struct trace_array *tr = graph_array; in trace_graph_entry()
433 __trace_graph_function(struct trace_array *tr, in __trace_graph_function()
453 trace_graph_function(struct trace_array *tr, in trace_graph_function()
460 void __trace_graph_return(struct trace_array *tr, in __trace_graph_return()
482 struct trace_array *tr = graph_array; in trace_graph_return()
501 void set_graph_array(struct trace_array *tr) in set_graph_array()
519 static int graph_trace_init(struct trace_array *tr) in graph_trace_init()
[all …]
Dtrace_hwlat.c49 static struct trace_array *hwlat_trace;
106 struct trace_array *tr = hwlat_trace; in trace_hwlat_sample()
170 struct trace_array *tr = hwlat_trace; in get_sample()
367 static int start_kthread(struct trace_array *tr) in start_kthread()
559 static void hwlat_tracer_start(struct trace_array *tr) in hwlat_tracer_start()
568 static void hwlat_tracer_stop(struct trace_array *tr) in hwlat_tracer_stop()
575 static int hwlat_tracer_init(struct trace_array *tr) in hwlat_tracer_init()
600 static void hwlat_tracer_reset(struct trace_array *tr) in hwlat_tracer_reset()
Dtrace_selftest.c183 static int trace_selftest_ops(struct trace_array *tr, int cnt) in trace_selftest_ops()
324 struct trace_array *tr, in trace_selftest_startup_dynamic_tracing()
651 trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_function()
748 struct trace_array *tr) in trace_selftest_startup_function_graph()
812 trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_irqsoff()
861 trace_selftest_startup_preemptoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptoff()
923 trace_selftest_startup_preemptirqsoff(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_preemptirqsoff()
1024 trace_selftest_startup_nop(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_nop()
1076 trace_selftest_startup_wakeup(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_wakeup()
1154 trace_selftest_startup_sched_switch(struct tracer *trace, struct trace_array *tr) in trace_selftest_startup_sched_switch()
[all …]
Dtrace_branch.c27 static struct trace_array *branch_tracer;
33 struct trace_array *tr = branch_tracer; in probe_likely_condition()
100 int enable_branch_tracing(struct trace_array *tr) in enable_branch_tracing()
128 static int branch_trace_init(struct trace_array *tr) in branch_trace_init()
133 static void branch_trace_reset(struct trace_array *tr) in branch_trace_reset()
Dtrace_syscalls.c124 struct trace_array *tr = iter->tr; in print_syscall_enter()
309 struct trace_array *tr = data; in ftrace_syscall_enter()
357 struct trace_array *tr = data; in ftrace_syscall_exit()
404 struct trace_array *tr = file->tr; in reg_event_syscall_enter()
425 struct trace_array *tr = file->tr; in unreg_event_syscall_enter()
442 struct trace_array *tr = file->tr; in reg_event_syscall_exit()
463 struct trace_array *tr = file->tr; in unreg_event_syscall_exit()
Dftrace.c94 struct trace_array *tr; in ftrace_pids_enabled()
182 struct trace_array *tr = op->private; in ftrace_pid_func()
5225 __init void ftrace_init_global_array_ops(struct trace_array *tr) in ftrace_init_global_array_ops()
5231 void ftrace_init_array_ops(struct trace_array *tr, ftrace_func_t func) in ftrace_init_array_ops()
5243 void ftrace_reset_array_ops(struct trace_array *tr) in ftrace_reset_array_ops()
5374 struct trace_array *tr = data; in ftrace_filter_pid_sched_switch_probe()
5383 static void clear_ftrace_pids(struct trace_array *tr) in clear_ftrace_pids()
5406 void ftrace_clear_pids(struct trace_array *tr) in ftrace_clear_pids()
5415 static void ftrace_pid_reset(struct trace_array *tr) in ftrace_pid_reset()
5433 struct trace_array *tr = m->private; in fpid_start()
[all …]
Dblktrace.c39 static struct trace_array *blk_tr;
1314 static void blk_tracer_start(struct trace_array *tr) in blk_tracer_start()
1319 static int blk_tracer_init(struct trace_array *tr) in blk_tracer_init()
1326 static void blk_tracer_stop(struct trace_array *tr) in blk_tracer_stop()
1331 static void blk_tracer_reset(struct trace_array *tr) in blk_tracer_reset()
1360 struct trace_array *tr = iter->tr; in print_one_line()
1427 blk_tracer_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in blk_tracer_set_flag()
Dtrace_kdb.c24 struct trace_array *tr; in ftrace_dump_buf()
Dtrace_output.c483 struct trace_array *tr = iter->tr; in lat_print_timestamp()
527 struct trace_array *tr = iter->tr; in trace_print_context()
565 struct trace_array *tr = iter->tr; in trace_print_lat_context()
1223 struct trace_array *tr = iter->tr; in trace_user_stack_print()
Dtrace_events_filter.c888 struct trace_array *tr) in filter_free_subsystem_preds()
906 struct trace_array *tr) in filter_free_subsystem_filters()
1752 struct trace_array *tr, in replace_system_preds()
1956 struct trace_array *tr, in create_system_filter()
2036 struct trace_array *tr = dir->tr; in apply_subsystem_event_filter()
Dtrace_events_trigger.c479 clear_event_triggers(struct trace_array *tr) in clear_event_triggers()
1318 struct trace_array *tr = file->tr; in event_enable_trigger_func()
Dtrace_kprobe.c1364 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()