Home
last modified time | relevance | path

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

/linux-6.12.1/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()
120 unsigned int trace_ctx; in wakeup_graph_entry() local
135 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_graph_entry()
138 ret = __trace_graph_entry(tr, trace, trace_ctx); in wakeup_graph_entry()
150 unsigned int trace_ctx; in wakeup_graph_return() local
154 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_graph_return()
157 __trace_graph_return(tr, trace, trace_ctx); in wakeup_graph_return()
221 unsigned int trace_ctx; in wakeup_tracer_call() local
223 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()
184 unsigned int trace_ctx; in irqsoff_graph_entry() local
202 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_graph_entry()
203 ret = __trace_graph_entry(tr, trace, trace_ctx); in irqsoff_graph_entry()
215 unsigned int trace_ctx; in irqsoff_graph_return() local
222 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_graph_return()
223 __trace_graph_return(tr, trace, trace_ctx); in irqsoff_graph_return()
276 unsigned int trace_ctx) in __trace_function() argument
[all …]
Dtrace_functions.c185 unsigned int trace_ctx; in function_trace_call() local
196 trace_ctx = tracing_gen_ctx(); in function_trace_call()
201 trace_function(tr, ip, parent_ip, trace_ctx); in function_trace_call()
233 unsigned int trace_ctx; in function_stack_trace_call() local
249 trace_ctx = tracing_gen_ctx_flags(flags); in function_stack_trace_call()
250 trace_function(tr, ip, parent_ip, trace_ctx); in function_stack_trace_call()
255 __trace_stack(tr, trace_ctx, skip); in function_stack_trace_call()
281 unsigned int trace_ctx) in process_repeats() argument
284 trace_last_func_repeats(tr, last_info, trace_ctx); in process_repeats()
300 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.c103 unsigned int trace_ctx) in __trace_graph_entry() argument
111 sizeof(*entry), trace_ctx); in __trace_graph_entry()
137 unsigned int trace_ctx; in trace_graph_entry() local
182 trace_ctx = tracing_gen_ctx_flags(flags); in trace_graph_entry()
183 ret = __trace_graph_entry(tr, trace, trace_ctx); in trace_graph_entry()
196 unsigned long ip, unsigned int trace_ctx) in __trace_graph_function() argument
210 __trace_graph_entry(tr, &ent, trace_ctx); in __trace_graph_function()
211 __trace_graph_return(tr, &ret, trace_ctx); in __trace_graph_function()
217 unsigned int trace_ctx) in trace_graph_function() argument
219 __trace_graph_function(tr, ip, trace_ctx); in trace_graph_function()
[all …]
Dtrace.h652 unsigned int trace_ctx);
685 unsigned int trace_ctx);
689 unsigned int trace_ctx);
753 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip);
755 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack() argument
763 unsigned int trace_ctx);
902 unsigned int trace_ctx);
905 unsigned int trace_ctx);
1445 unsigned int trace_ctx) in trace_buffer_unlock_commit() argument
1447 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.c182 unsigned int trace_ctx);
992 unsigned int trace_ctx,
996 unsigned int trace_ctx,
1001 unsigned int trace_ctx, in __ftrace_trace_stack() argument
1007 unsigned long trace_ctx, in ftrace_trace_stack() argument
1016 int type, unsigned int trace_ctx) in trace_event_setup() argument
1020 tracing_generic_entry_update(ent, type, trace_ctx); in trace_event_setup()
1027 unsigned int trace_ctx) in __trace_buffer_lock_reserve() argument
1033 trace_event_setup(event, type, trace_ctx); in __trace_buffer_lock_reserve()
1091 unsigned int trace_ctx; in __trace_array_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.c511 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve()
517 fbuffer->trace_ctx); in trace_event_buffer_reserve()
4326 unsigned int trace_ctx; in function_test_events_call() local
4330 trace_ctx = tracing_gen_ctx(); in function_test_events_call()
4340 trace_ctx); in function_test_events_call()
4348 entry, trace_ctx); in function_test_events_call()
/linux-6.12.1/include/linux/
Dtrace_events.h175 unsigned int trace_ctx) in tracing_generic_entry_update() argument
177 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update()
180 entry->flags = trace_ctx >> 16; in tracing_generic_entry_update()
224 unsigned int trace_ctx; in tracing_gen_ctx_dec() local
226 trace_ctx = tracing_gen_ctx(); in tracing_gen_ctx_dec()
232 trace_ctx--; in tracing_gen_ctx_dec()
233 return trace_ctx; in tracing_gen_ctx_dec()
242 unsigned int trace_ctx);
318 unsigned int trace_ctx; member