Home
last modified time | relevance | path

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

/linux/kernel/trace/
H A 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()
121 unsigned int trace_ctx; in wakeup_graph_entry() local
137 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_graph_entry()
143 ret = __trace_graph_entry(tr, trace, trace_ctx); in wakeup_graph_entry()
157 unsigned int trace_ctx; in wakeup_graph_return() local
164 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_graph_return()
171 __trace_graph_return(tr, trace, trace_ctx, *calltime, rettime); in wakeup_graph_return()
233 unsigned int trace_ctx; in wakeup_tracer_call() local
235 if (!func_prolog_preempt_disable(tr, &data, &trace_ctx)) in wakeup_tracer_call()
[all …]
H A 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, fregs); in irqsoff_tracer_call()
185 unsigned int trace_ctx; in irqsoff_graph_entry() local
207 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_graph_entry()
208 ret = __trace_graph_entry(tr, trace, trace_ctx); in irqsoff_graph_entry()
222 unsigned int trace_ctx; in irqsoff_graph_return() local
235 trace_ctx = tracing_gen_ctx_flags(flags); in irqsoff_graph_return()
236 __trace_graph_return(tr, trace, trace_ctx, *calltime, rettime); in irqsoff_graph_return()
288 unsigned int trace_ctx) in __trace_function() argument
[all …]
H A Dtrace_functions.c212 unsigned int trace_ctx; in function_trace_call() local
224 trace_ctx = tracing_gen_ctx_dec(); in function_trace_call()
226 trace_function(tr, ip, parent_ip, trace_ctx, NULL); in function_trace_call()
236 unsigned int trace_ctx; in function_args_trace_call() local
246 trace_ctx = tracing_gen_ctx(); in function_args_trace_call()
248 trace_function(tr, ip, parent_ip, trace_ctx, fregs); in function_args_trace_call()
280 unsigned int trace_ctx; in function_stack_trace_call() local
297 trace_ctx = tracing_gen_ctx_flags(flags); in function_stack_trace_call()
298 trace_function(tr, ip, parent_ip, trace_ctx, NULL); in function_stack_trace_call()
303 __trace_stack(tr, trace_ctx, skip); in function_stack_trace_call()
[all …]
H A Dtrace_mmiotrace.c299 unsigned int trace_ctx; in __trace_mmiotrace_rw() local
301 trace_ctx = tracing_gen_ctx_flags(0); in __trace_mmiotrace_rw()
303 sizeof(*entry), trace_ctx); in __trace_mmiotrace_rw()
311 trace_buffer_unlock_commit(tr, buffer, event, trace_ctx); in __trace_mmiotrace_rw()
326 unsigned int trace_ctx; in __trace_mmiotrace_map() local
328 trace_ctx = tracing_gen_ctx_flags(0); in __trace_mmiotrace_map()
330 sizeof(*entry), trace_ctx); in __trace_mmiotrace_map()
338 trace_buffer_unlock_commit(tr, buffer, event, trace_ctx); in __trace_mmiotrace_map()
H A Dtrace_functions_graph.c128 unsigned int trace_ctx, struct ftrace_regs *fregs) in __graph_entry() argument
138 event = trace_buffer_lock_reserve(buffer, TRACE_GRAPH_ENT, size, trace_ctx); in __graph_entry()
159 unsigned int trace_ctx) in __trace_graph_entry() argument
161 return __graph_entry(tr, trace, trace_ctx, NULL); in __trace_graph_entry()
167 unsigned int trace_ctx, in __trace_graph_retaddr_entry() argument
180 size, trace_ctx); in __trace_graph_retaddr_entry()
201 unsigned int trace_ctx, in __trace_graph_retaddr_entry() argument
232 unsigned int trace_ctx; in graph_entry() local
281 trace_ctx = tracing_gen_ctx(); in graph_entry()
285 ret = __trace_graph_retaddr_entry(tr, trace, trace_ctx, in graph_entry()
[all …]
H A Dtrace_branch.c38 unsigned int trace_ctx; in probe_likely_condition() local
59 trace_ctx = tracing_gen_ctx_flags(flags); in probe_likely_condition()
62 sizeof(*entry), trace_ctx); in probe_likely_condition()
H A Dblktrace.c178 unsigned int trace_ctx = 0; in trace_note() local
189 trace_ctx = tracing_gen_ctx_flags(0); in trace_note()
191 trace_len, trace_ctx); in trace_note()
198 trace_buffer_unlock_commit(blk_tr, buffer, event, trace_ctx); in trace_note()
319 unsigned int trace_ctx = 0; in __blk_add_trace() local
387 trace_ctx = tracing_gen_ctx_flags(0); in __blk_add_trace()
416 trace_len, trace_ctx); in __blk_add_trace()
449 trace_buffer_unlock_commit(blk_tr, buffer, event, trace_ctx); in __blk_add_trace()
H A Dtrace.c216 unsigned int trace_ctx);
1743 unsigned int trace_ctx) in trace_buffer_lock_reserve() argument
1745 return __trace_buffer_lock_reserve(buffer, type, len, trace_ctx); in trace_buffer_lock_reserve()
1862 unsigned int trace_ctx) in trace_event_buffer_lock_reserve() argument
1913 trace_event_setup(entry, type, trace_ctx); in trace_event_buffer_lock_reserve()
1925 trace_ctx); in trace_event_buffer_lock_reserve()
1935 trace_ctx); in trace_event_buffer_lock_reserve()
2025 fbuffer->event, fbuffer->trace_ctx, fbuffer->regs); in trace_event_buffer_commit()
2046 unsigned int trace_ctx, in trace_buffer_unlock_commit_regs() argument
2057 ftrace_trace_stack(tr, buffer, trace_ctx, regs ? 0 : STACK_SKIP, regs); in trace_buffer_unlock_commit_regs()
[all …]
H A Dtrace_events.c684 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve()
690 fbuffer->trace_ctx); in trace_event_buffer_reserve()
5031 unsigned int trace_ctx; in function_test_events_call() local
5035 trace_ctx = tracing_gen_ctx(); in function_test_events_call()
5045 trace_ctx); in function_test_events_call()
5053 entry, trace_ctx); in function_test_events_call()