Home
last modified time | relevance | path

Searched refs:trace_ctx (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/kernel/trace/
Dtrace_sched_wakeup.c70 unsigned int *trace_ctx) in func_prolog_preempt_disable() argument
78 *trace_ctx = tracing_gen_ctx(); in func_prolog_preempt_disable()
119 unsigned int trace_ctx; in wakeup_graph_entry() local
134 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_graph_entry()
137 ret = __trace_graph_entry(tr, trace, trace_ctx); in wakeup_graph_entry()
148 unsigned int trace_ctx; in wakeup_graph_return() local
152 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_graph_return()
155 __trace_graph_return(tr, trace, trace_ctx); in wakeup_graph_return()
217 unsigned int trace_ctx; in wakeup_tracer_call() local
219 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_tracer_call()
[all …]
Dtrace_irqsoff.c146 unsigned int trace_ctx; in irqsoff_tracer_call() local
151 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_tracer_call()
153 trace_function(tr, ip, parent_ip, trace_ctx); in irqsoff_tracer_call()
183 unsigned int trace_ctx; in irqsoff_graph_entry() local
201 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_graph_entry()
202 ret = __trace_graph_entry(tr, trace, trace_ctx); in irqsoff_graph_entry()
213 unsigned int trace_ctx; in irqsoff_graph_return() local
220 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_graph_return()
221 __trace_graph_return(tr, trace, trace_ctx); in irqsoff_graph_return()
273 unsigned int trace_ctx) in __trace_function() argument
[all …]
Dtrace_functions.c177 unsigned int trace_ctx; in function_trace_call() local
188 trace_ctx = tracing_gen_ctx(); in function_trace_call()
194 trace_function(tr, ip, parent_ip, trace_ctx); in function_trace_call()
227 unsigned int trace_ctx; in function_stack_trace_call() local
242 trace_ctx = tracing_gen_ctx_flags(flags); in function_stack_trace_call()
243 trace_function(tr, ip, parent_ip, trace_ctx); in function_stack_trace_call()
244 __trace_stack(tr, trace_ctx, STACK_SKIP); in function_stack_trace_call()
270 unsigned int trace_ctx) in process_repeats() argument
273 trace_last_func_repeats(tr, last_info, trace_ctx); in process_repeats()
289 unsigned int trace_ctx; in function_no_repeats_trace_call() local
[all …]
Dtrace_mmiotrace.c301 unsigned int trace_ctx; in __trace_mmiotrace_rw() local
303 trace_ctx = tracing_gen_ctx_flags(0); in __trace_mmiotrace_rw()
305 sizeof(*entry), trace_ctx); in __trace_mmiotrace_rw()
314 trace_buffer_unlock_commit(tr, buffer, event, trace_ctx); in __trace_mmiotrace_rw()
332 unsigned int trace_ctx; in __trace_mmiotrace_map() local
334 trace_ctx = tracing_gen_ctx_flags(0); in __trace_mmiotrace_map()
336 sizeof(*entry), trace_ctx); in __trace_mmiotrace_map()
345 trace_buffer_unlock_commit(tr, buffer, event, trace_ctx); in __trace_mmiotrace_map()
Dtrace_functions_graph.c99 unsigned int trace_ctx) in __trace_graph_entry() argument
107 sizeof(*entry), trace_ctx); in __trace_graph_entry()
131 unsigned int trace_ctx; in trace_graph_entry() local
176 trace_ctx = tracing_gen_ctx_flags(flags); in trace_graph_entry()
177 ret = __trace_graph_entry(tr, trace, trace_ctx); in trace_graph_entry()
190 unsigned long ip, unsigned int trace_ctx) in __trace_graph_function() argument
204 __trace_graph_entry(tr, &ent, trace_ctx); in __trace_graph_function()
205 __trace_graph_return(tr, &ret, trace_ctx); in __trace_graph_function()
211 unsigned int trace_ctx) in trace_graph_function() argument
213 __trace_graph_function(tr, ip, trace_ctx); in trace_graph_function()
[all …]
Dtrace_syscalls.c301 unsigned int trace_ctx; in ftrace_syscall_enter() local
324 trace_ctx = tracing_gen_ctx(); in ftrace_syscall_enter()
328 sys_data->enter_event->event.type, size, trace_ctx); in ftrace_syscall_enter()
338 trace_ctx); in ftrace_syscall_enter()
349 unsigned int trace_ctx; in ftrace_syscall_exit() local
368 trace_ctx = tracing_gen_ctx(); in ftrace_syscall_exit()
373 trace_ctx); in ftrace_syscall_exit()
382 trace_ctx); in ftrace_syscall_exit()
Dtrace.h592 unsigned int trace_ctx);
622 unsigned int trace_ctx);
626 unsigned int trace_ctx);
693 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip);
695 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack() argument
703 unsigned int trace_ctx);
840 unsigned int trace_ctx);
843 unsigned int trace_ctx);
1313 unsigned int trace_ctx) in trace_buffer_unlock_commit() argument
1315 trace_buffer_unlock_commit_regs(tr, buffer, event, trace_ctx, NULL); in trace_buffer_unlock_commit()
[all …]
Dtrace_branch.c40 unsigned int trace_ctx; in probe_likely_condition() local
62 trace_ctx = tracing_gen_ctx_flags(flags); in probe_likely_condition()
65 sizeof(*entry), trace_ctx); in probe_likely_condition()
Dtrace.c181 unsigned int trace_ctx);
920 unsigned int trace_ctx,
924 unsigned int trace_ctx,
929 unsigned int trace_ctx, in __ftrace_trace_stack() argument
935 unsigned long trace_ctx, in ftrace_trace_stack() argument
944 int type, unsigned int trace_ctx) in trace_event_setup() argument
948 tracing_generic_entry_update(ent, type, trace_ctx); in trace_event_setup()
955 unsigned int trace_ctx) in __trace_buffer_lock_reserve() argument
961 trace_event_setup(event, type, trace_ctx); in __trace_buffer_lock_reserve()
1022 unsigned int trace_ctx; in __trace_puts() local
[all …]
Dblktrace.c75 unsigned int trace_ctx = 0; in trace_note() local
82 trace_ctx = tracing_gen_ctx_flags(0); in trace_note()
85 trace_ctx); in trace_note()
110 trace_buffer_unlock_commit(blk_tr, buffer, event, trace_ctx); in trace_note()
225 unsigned int trace_ctx = 0; in __blk_add_trace() local
256 trace_ctx = tracing_gen_ctx_flags(0); in __blk_add_trace()
259 trace_ctx); in __blk_add_trace()
305 trace_buffer_unlock_commit(blk_tr, buffer, event, trace_ctx); in __blk_add_trace()
Dtrace_eprobe.c492 fbuffer.trace_ctx = tracing_gen_ctx(); in __eprobe_trace_func()
502 fbuffer.trace_ctx); in __eprobe_trace_func()
Dtrace_kprobe.c1386 fbuffer.trace_ctx = tracing_gen_ctx(); in NOKPROBE_SYMBOL()
1395 fbuffer.trace_ctx); in NOKPROBE_SYMBOL()
1433 fbuffer.trace_ctx = tracing_gen_ctx(); in __kretprobe_trace_func()
1441 fbuffer.trace_ctx); in __kretprobe_trace_func()
Dtrace_events.c478 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve()
484 fbuffer->trace_ctx); in trace_event_buffer_reserve()
3900 unsigned int trace_ctx; in function_test_events_call() local
3904 trace_ctx = tracing_gen_ctx(); in function_test_events_call()
3914 trace_ctx); in function_test_events_call()
3922 entry, trace_ctx); in function_test_events_call()
/Linux-v5.15/include/linux/
Dtrace_events.h157 unsigned int trace_ctx) in tracing_generic_entry_update() argument
159 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update()
162 entry->flags = trace_ctx >> 16; in tracing_generic_entry_update()
205 unsigned int trace_ctx; in tracing_gen_ctx_dec() local
207 trace_ctx = tracing_gen_ctx(); in tracing_gen_ctx_dec()
213 trace_ctx--; in tracing_gen_ctx_dec()
214 return trace_ctx; in tracing_gen_ctx_dec()
223 unsigned int trace_ctx);
297 unsigned int trace_ctx; member