Home
last modified time | relevance | path

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

/linux-6.1.9/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()
193 trace_function(tr, ip, parent_ip, trace_ctx); in function_trace_call()
225 unsigned int trace_ctx; in function_stack_trace_call() local
240 trace_ctx = tracing_gen_ctx_flags(flags); in function_stack_trace_call()
241 trace_function(tr, ip, parent_ip, trace_ctx); in function_stack_trace_call()
242 __trace_stack(tr, trace_ctx, STACK_SKIP); in function_stack_trace_call()
268 unsigned int trace_ctx) in process_repeats() argument
271 trace_last_func_repeats(tr, last_info, trace_ctx); in process_repeats()
287 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.h603 unsigned int trace_ctx);
633 unsigned int trace_ctx);
637 unsigned int trace_ctx);
703 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip);
705 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack() argument
713 unsigned int trace_ctx);
850 unsigned int trace_ctx);
853 unsigned int trace_ctx);
1323 unsigned int trace_ctx) in trace_buffer_unlock_commit() argument
1325 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);
912 unsigned int trace_ctx,
916 unsigned int trace_ctx,
921 unsigned int trace_ctx, in __ftrace_trace_stack() argument
927 unsigned long trace_ctx, in ftrace_trace_stack() argument
936 int type, unsigned int trace_ctx) in trace_event_setup() argument
940 tracing_generic_entry_update(ent, type, trace_ctx); in trace_event_setup()
947 unsigned int trace_ctx) in __trace_buffer_lock_reserve() argument
953 trace_event_setup(event, type, trace_ctx); in __trace_buffer_lock_reserve()
1016 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
257 trace_ctx = tracing_gen_ctx_flags(0); in __blk_add_trace()
260 trace_ctx); in __blk_add_trace()
306 trace_buffer_unlock_commit(blk_tr, buffer, event, trace_ctx); in __blk_add_trace()
Dtrace_events.c494 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve()
500 fbuffer->trace_ctx); in trace_event_buffer_reserve()
4009 unsigned int trace_ctx; in function_test_events_call() local
4013 trace_ctx = tracing_gen_ctx(); in function_test_events_call()
4023 trace_ctx); in function_test_events_call()
4031 entry, trace_ctx); in function_test_events_call()
/linux-6.1.9/include/linux/
Dtrace_events.h159 unsigned int trace_ctx) in tracing_generic_entry_update() argument
161 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update()
164 entry->flags = trace_ctx >> 16; in tracing_generic_entry_update()
208 unsigned int trace_ctx; in tracing_gen_ctx_dec() local
210 trace_ctx = tracing_gen_ctx(); in tracing_gen_ctx_dec()
216 trace_ctx--; in tracing_gen_ctx_dec()
217 return trace_ctx; in tracing_gen_ctx_dec()
226 unsigned int trace_ctx);
300 unsigned int trace_ctx; member