Home
last modified time | relevance | path

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

12

/linux-6.15/kernel/trace/
H A Dtrace.h178 struct trace_array;
213 struct trace_array *tr;
326 struct trace_array { struct
485 struct trace_array *tr; in top_trace_array()
579 struct trace_array *tr;
835 struct trace_array *tr);
837 struct trace_array *tr);
1196 struct trace_array *tr,
1200 struct trace_array *tr,
1204 struct trace_array *tr,
[all …]
H A Dtrace_irqsoff.c24 static struct trace_array *irqsoff_trace __read_mostly;
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()
182 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_entry()
221 struct trace_array *tr = irqsoff_trace; in irqsoff_graph_return()
280 struct trace_array *tr = irqsoff_trace; in irqsoff_print_header()
289 __trace_function(struct trace_array *tr, in __trace_function()
301 __trace_function(struct trace_array *tr, in __trace_function()
345 check_critical_timing(struct trace_array *tr, in check_critical_timing()
398 struct trace_array *tr = irqsoff_trace; in start_critical_timing()
[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);
68 func_prolog_preempt_disable(struct trace_array *tr, in func_prolog_preempt_disable()
119 struct trace_array *tr = wakeup_trace; in wakeup_graph_entry()
157 struct trace_array *tr = wakeup_trace; in wakeup_graph_return()
234 struct trace_array *tr = wakeup_trace; in wakeup_tracer_call()
321 __trace_function(struct trace_array *tr, in __trace_function()
392 tracing_sched_switch_trace(struct trace_array *tr, in tracing_sched_switch_trace()
418 tracing_sched_wakeup_trace(struct trace_array *tr, in tracing_sched_wakeup_trace()
[all …]
H A Dtrace_functions.c56 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()
146 static int function_trace_init(struct trace_array *tr) in function_trace_init()
211 struct trace_array *tr = op->private; in function_trace_call()
238 struct trace_array *tr = op->private; in function_args_trace_call()
283 struct trace_array *tr = op->private; in function_stack_trace_call()
354 struct trace_array *tr = op->private; in function_no_repeats_trace_call()
397 struct trace_array *tr = op->private; in function_stack_no_repeats_trace_call()
515 struct trace_array *tr, bool on, in update_traceon_count()
[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.c548 struct trace_array *tr; in trace_array_get()
1847 struct trace_array *tr = container_of(work, struct trace_array, in latency_fsnotify_workfn()
1854 struct trace_array *tr = container_of(iwork, struct trace_array, in latency_fsnotify_workfn_irq()
2394 struct trace_array *tr; in tracing_reset_all_online_cpus_unlocked()
9020 struct trace_array *tr; in trace_options_core_read()
9039 struct trace_array *tr; in trace_options_core_write()
9664 struct trace_array *tr; in trace_array_find_get()
9700 struct trace_array *tr; in trace_array_create_systems()
9795 struct trace_array *tr; in instance_mkdir()
9861 struct trace_array *tr; in trace_array_get_by_name()
[all …]
H A Dtrace_hwlat.c48 static struct trace_array *hwlat_trace;
132 struct trace_array *tr = hwlat_trace; in trace_hwlat_sample()
187 struct trace_array *tr = hwlat_trace; \
202 struct trace_array *tr = hwlat_trace; in get_sample()
315 struct trace_array *tr = hwlat_trace; in move_to_next_cpu()
511 struct trace_array *tr = hwlat_trace; in hwlat_hotplug_workfn()
663 static void hwlat_tracer_stop(struct trace_array *tr);
683 struct trace_array *tr = hwlat_trace; in hwlat_mode_write()
810 static void hwlat_tracer_start(struct trace_array *tr) in hwlat_tracer_start()
822 static void hwlat_tracer_stop(struct trace_array *tr) in hwlat_tracer_stop()
[all …]
H A Dtrace_events.c714 struct trace_array *tr; in trace_event_enable_cmd_record()
736 struct trace_array *tr; in trace_event_enable_tgid_record()
1011 struct trace_array *tr = data; in event_filter_pid_sched_process_exit()
3056 struct trace_array *tr; in remove_event_from_tracers()
3075 struct trace_array *tr; in event_remove()
3564 struct trace_array *tr; in probe_remove_event_call()
3644 struct trace_array *tr; in update_cache_events()
4231 struct trace_array *tr; in __add_event_to_tracers()
4492 struct trace_array *tr; in event_trace_enable_again()
4519 struct trace_array *tr; in event_trace_init()
[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()
36 static int mmio_trace_init(struct trace_array *tr) in mmio_trace_init()
46 static void mmio_trace_reset(struct trace_array *tr) in mmio_trace_reset()
55 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()
317 struct trace_array *tr = mmio_trace_array; in mmio_trace_rw()
322 static void __trace_mmiotrace_map(struct trace_array *tr, in __trace_mmiotrace_map()
346 struct trace_array *tr = mmio_trace_array; in mmio_trace_mapping()
H A Dtrace_functions_graph.c204 struct trace_array *tr = gops->private; in graph_entry()
312 trace_graph_function(struct trace_array *tr, in trace_graph_function()
353 struct trace_array *tr = gops->private; in trace_graph_return()
441 void free_fgraph_ops(struct trace_array *tr) in free_fgraph_ops()
700 struct trace_array *tr = iter->tr; in print_graph_irq()
918 struct trace_array *tr = iter->tr; in print_graph_entry_leaf()
991 struct trace_array *tr = iter->tr; in print_graph_entry_nested()
1051 struct trace_array *tr = iter->tr; in print_graph_prologue()
1256 struct trace_array *tr = iter->tr; in print_graph_return()
1335 struct trace_array *tr = iter->tr; in print_graph_comment()
[all …]
H A Dtrace_boot.c25 trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_instance_options()
83 trace_boot_enable_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_events()
462 trace_boot_init_one_event(struct trace_array *tr, struct xbc_node *gnode, in trace_boot_init_one_event()
518 trace_boot_init_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_events()
560 trace_boot_set_ftrace_filter(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_ftrace_filter()
592 trace_boot_enable_tracer(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_tracer()
612 trace_boot_init_one_instance(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_one_instance()
624 struct trace_array *tr; in trace_boot_init_instances()
649 struct trace_array *tr; in trace_boot_init()
H A Dtrace_branch.c28 static struct trace_array *branch_tracer;
33 struct trace_array *tr = branch_tracer; in probe_likely_condition()
98 int enable_branch_tracing(struct trace_array *tr) in enable_branch_tracing()
126 static int branch_trace_init(struct trace_array *tr) in branch_trace_init()
131 static void branch_trace_reset(struct trace_array *tr) in branch_trace_reset()
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_syscalls.c130 struct trace_array *tr = iter->tr; in print_syscall_enter()
293 struct trace_array *tr = data; in ftrace_syscall_enter()
341 struct trace_array *tr = data; in ftrace_syscall_exit()
385 struct trace_array *tr = file->tr; in reg_event_syscall_enter()
406 struct trace_array *tr = file->tr; in unreg_event_syscall_enter()
423 struct trace_array *tr = file->tr; in reg_event_syscall_exit()
444 struct trace_array *tr = file->tr; in unreg_event_syscall_exit()
H A Dtrace_osnoise.c78 struct trace_array *tr;
93 static int osnoise_instance_registered(struct trace_array *tr) in osnoise_instance_registered()
114 static int osnoise_register_instance(struct trace_array *tr) in osnoise_register_instance()
1170 struct trace_array *tr; in osnoise_stop_exception()
1343 struct trace_array *tr; in osnoise_stop_tracing()
1381 struct trace_array *tr; in notify_new_max_latency()
2944 static void osnoise_tracer_start(struct trace_array *tr) in osnoise_tracer_start()
2962 static void osnoise_tracer_stop(struct trace_array *tr) in osnoise_tracer_stop()
2968 static int osnoise_tracer_init(struct trace_array *tr) in osnoise_tracer_init()
2983 static void osnoise_tracer_reset(struct trace_array *tr) in osnoise_tracer_reset()
[all …]
H A Dftrace.c105 struct trace_array *tr; in ftrace_pids_enabled()
176 struct trace_array *tr = op->private; in ftrace_pid_func()
1052 struct trace_array *tr;
3910 struct trace_array *tr;
5081 struct trace_array *tr; in process_cached_mods()
7357 struct trace_array *tr; in clear_mod_from_hashes()
7738 struct trace_array *tr; in clear_func_from_hashes()
8104 struct trace_array *tr = data; in ftrace_filter_pid_sched_switch_probe()
8125 struct trace_array *tr = data; in ftrace_pid_follow_sched_process_fork()
8138 struct trace_array *tr = data; in ftrace_pid_follow_sched_process_exit()
[all …]
H A Dtrace_events_hist.c867 struct trace_array *tr = hist_data->event_file->tr; in hist_field_timestamp()
958 struct trace_array *tr = hist_data->event_file->tr; in find_any_var_ref()
1007 struct trace_array *tr = hist_data->event_file->tr; in find_hist_vars()
1062 struct trace_array *tr = hist_data->event_file->tr; in save_hist_vars()
1086 struct trace_array *tr = hist_data->event_file->tr; in remove_hist_vars()
1456 static int parse_assignment(struct trace_array *tr, in parse_assignment()
2296 struct trace_array *tr = file->tr; in parse_field()
3231 struct trace_array *tr = file->tr; in create_field_var()
3589 struct trace_array *tr = file->tr; in track_data_create()
4089 struct trace_array *tr = file->tr; in action_create()
[all …]
H A Dtrace_kdb.c25 struct trace_array *tr; in ftrace_dump_buf()
H A Dblktrace.c33 static struct trace_array *blk_tr;
1425 static void blk_tracer_start(struct trace_array *tr) in blk_tracer_start()
1430 static int blk_tracer_init(struct trace_array *tr) in blk_tracer_init()
1437 static void blk_tracer_stop(struct trace_array *tr) in blk_tracer_stop()
1442 static void blk_tracer_reset(struct trace_array *tr) in blk_tracer_reset()
1472 struct trace_array *tr = iter->tr; in print_one_line()
1542 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.c1204 static void append_filter_err(struct trace_array *tr, in append_filter_err()
1327 struct trace_array *tr) in filter_free_subsystem_preds()
1345 struct trace_array *tr) in filter_free_subsystem_filters()
2140 struct trace_array *tr, in process_system_preds()
2282 static int create_filter(struct trace_array *tr, in create_filter()
2306 int create_event_filter(struct trace_array *tr, in create_event_filter()
2404 struct trace_array *tr = dir->tr; in apply_subsystem_event_filter()
H A Dtrace_output.c571 struct trace_array *tr = iter->tr; in lat_print_timestamp()
630 struct trace_array *tr = iter->tr; in trace_print_context()
662 struct trace_array *tr = iter->tr; in trace_print_lat_context()
1380 struct trace_array *tr = iter->tr; in trace_user_stack_print()
H A Dtrace_eprobe.c581 struct trace_array *tr = eprobe_file->tr; in enable_eprobe()
603 struct trace_array *tr) in disable_eprobe()
/linux-6.15/include/linux/
H A Dtrace.h29 struct trace_array;
45 int __trace_array_puts(struct trace_array *tr, unsigned long ip,
50 int trace_array_printk(struct trace_array *tr, unsigned long ip,
52 int trace_array_init_printk(struct trace_array *tr);
53 void trace_array_put(struct trace_array *tr);
54 struct trace_array *trace_array_get_by_name(const char *name, const char *systems);
55 int trace_array_destroy(struct trace_array *tr);
76 int trace_array_printk(struct trace_array *tr, unsigned long ip, const char *fmt, ...) in trace_array_printk()
80 static inline int trace_array_init_printk(struct trace_array *tr) in trace_array_init_printk()
84 static inline void trace_array_put(struct trace_array *tr) in trace_array_put()
[all …]
H A Dtrace_events.h13 struct trace_array;
97 struct trace_array *tr;
650 struct trace_array *tr;
858 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set);
860 int trace_array_set_clr_event(struct trace_array *tr, const char *system,
/linux-6.15/samples/ftrace/
H A Dsample-trace-array.c20 struct trace_array *tr;

12