Home
last modified time | relevance | path

Searched refs:trace_ctx (Results 1 – 12 of 12) 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_printk.c396 unsigned int trace_ctx; in __trace_array_puts() local
411 trace_ctx = tracing_gen_ctx(); in __trace_array_puts()
415 trace_ctx); in __trace_array_puts()
432 ftrace_trace_stack(tr, buffer, trace_ctx, 4, NULL); in __trace_array_puts()
459 unsigned int trace_ctx; in __trace_bputs() local
471 trace_ctx = tracing_gen_ctx(); in __trace_bputs()
476 trace_ctx); in __trace_bputs()
485 ftrace_trace_stack(tr, buffer, trace_ctx, 4, NULL); in __trace_bputs()
613 unsigned int trace_ctx; in trace_vbprintk() local
626 trace_ctx = tracing_gen_ctx(); in trace_vbprintk()
[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.h716 unsigned int trace_ctx);
748 unsigned int trace_ctx,
753 unsigned int trace_ctx);
818 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip);
820 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack() argument
840 unsigned int trace_ctx);
987 unsigned int trace_ctx);
990 unsigned int trace_ctx,
995 unsigned int trace_ctx,
1553 unsigned int trace_ctx) in trace_buffer_unlock_commit() argument
[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
389 trace_ctx = tracing_gen_ctx_flags(0); in __blk_add_trace()
418 trace_len, trace_ctx); in __blk_add_trace()
450 trace_buffer_unlock_commit(blk_tr, buffer, event, trace_ctx); in __blk_add_trace()
H A Dtrace.c217 unsigned int trace_ctx);
2211 unsigned int trace_ctx) in trace_buffer_lock_reserve() argument
2213 return __trace_buffer_lock_reserve(buffer, type, len, trace_ctx); in trace_buffer_lock_reserve()
2330 unsigned int trace_ctx) in trace_event_buffer_lock_reserve() argument
2381 trace_event_setup(entry, type, trace_ctx); in trace_event_buffer_lock_reserve()
2393 trace_ctx); in trace_event_buffer_lock_reserve()
2403 trace_ctx); in trace_event_buffer_lock_reserve()
2493 fbuffer->event, fbuffer->trace_ctx, fbuffer->regs); in trace_event_buffer_commit()
2514 unsigned int trace_ctx, in trace_buffer_unlock_commit_regs() argument
2525 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()
4988 unsigned int trace_ctx; in function_test_events_call() local
4992 trace_ctx = tracing_gen_ctx(); in function_test_events_call()
5002 trace_ctx); in function_test_events_call()
5010 entry, trace_ctx); in function_test_events_call()
/linux/include/linux/
H A Dtrace_events.h176 unsigned int trace_ctx) in tracing_generic_entry_update() argument
178 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update()
181 entry->flags = trace_ctx >> 16; in tracing_generic_entry_update()
213 unsigned int trace_ctx; in tracing_gen_ctx_dec() local
215 trace_ctx = tracing_gen_ctx(); in tracing_gen_ctx_dec()
221 trace_ctx--; in tracing_gen_ctx_dec()
222 return trace_ctx; in tracing_gen_ctx_dec()
231 unsigned int trace_ctx);
308 unsigned int trace_ctx; member