/linux-6.6.21/kernel/trace/ |
D | trace_sched_wakeup.c | 70 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() 219 unsigned int trace_ctx; in wakeup_tracer_call() local 221 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_tracer_call() [all …]
|
D | trace_irqsoff.c | 146 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() 274 unsigned int trace_ctx) in __trace_function() argument [all …]
|
D | trace_functions.c | 177 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 …]
|
D | trace_mmiotrace.c | 301 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()
|
D | trace_functions_graph.c | 105 unsigned int trace_ctx) in __trace_graph_entry() argument 113 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 …]
|
D | trace.h | 634 unsigned int trace_ctx); 665 unsigned int trace_ctx); 669 unsigned int trace_ctx); 734 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip); 736 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack() argument 744 unsigned int trace_ctx); 883 unsigned int trace_ctx); 886 unsigned int trace_ctx); 1366 unsigned int trace_ctx) in trace_buffer_unlock_commit() argument 1368 trace_buffer_unlock_commit_regs(tr, buffer, event, trace_ctx, NULL); in trace_buffer_unlock_commit() [all …]
|
D | trace_branch.c | 40 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()
|
D | trace.c | 186 unsigned int trace_ctx); 953 unsigned int trace_ctx, 957 unsigned int trace_ctx, 962 unsigned int trace_ctx, in __ftrace_trace_stack() argument 968 unsigned long trace_ctx, in ftrace_trace_stack() argument 977 int type, unsigned int trace_ctx) in trace_event_setup() argument 981 tracing_generic_entry_update(ent, type, trace_ctx); in trace_event_setup() 988 unsigned int trace_ctx) in __trace_buffer_lock_reserve() argument 994 trace_event_setup(event, type, trace_ctx); in __trace_buffer_lock_reserve() 1052 unsigned int trace_ctx; in __trace_array_puts() local [all …]
|
D | blktrace.c | 75 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()
|
D | trace_events.c | 511 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve() 517 fbuffer->trace_ctx); in trace_event_buffer_reserve() 4228 unsigned int trace_ctx; in function_test_events_call() local 4232 trace_ctx = tracing_gen_ctx(); in function_test_events_call() 4242 trace_ctx); in function_test_events_call() 4250 entry, trace_ctx); in function_test_events_call()
|
/linux-6.6.21/include/linux/ |
D | trace_events.h | 169 unsigned int trace_ctx) in tracing_generic_entry_update() argument 171 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update() 174 entry->flags = trace_ctx >> 16; in tracing_generic_entry_update() 218 unsigned int trace_ctx; in tracing_gen_ctx_dec() local 220 trace_ctx = tracing_gen_ctx(); in tracing_gen_ctx_dec() 226 trace_ctx--; in tracing_gen_ctx_dec() 227 return trace_ctx; in tracing_gen_ctx_dec() 236 unsigned int trace_ctx); 312 unsigned int trace_ctx; member
|