Home
last modified time | relevance | path

Searched refs:trace_ctx (Results 1 – 11 of 11) 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.h707 unsigned int trace_ctx);
739 unsigned int trace_ctx,
744 unsigned int trace_ctx);
808 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, int skip);
810 static inline void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack() argument
818 unsigned int trace_ctx);
963 unsigned int trace_ctx);
966 unsigned int trace_ctx,
971 unsigned int trace_ctx,
1528 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 Dtrace.c218 unsigned int trace_ctx);
1039 unsigned int trace_ctx,
1043 unsigned int trace_ctx,
1049 unsigned int trace_ctx, in __ftrace_trace_stack() argument
1055 unsigned long trace_ctx, in ftrace_trace_stack() argument
1064 int type, unsigned int trace_ctx) in trace_event_setup() argument
1068 tracing_generic_entry_update(ent, type, trace_ctx); in trace_event_setup()
1075 unsigned int trace_ctx) in __trace_buffer_lock_reserve() argument
1081 trace_event_setup(event, type, trace_ctx); in __trace_buffer_lock_reserve()
1137 unsigned int trace_ctx; in __trace_array_puts() local
1200 unsigned int trace_ctx; __trace_bputs() local
2627 trace_buffer_lock_reserve(struct trace_buffer * buffer,int type,unsigned long len,unsigned int trace_ctx) trace_buffer_lock_reserve() argument
2746 trace_event_buffer_lock_reserve(struct trace_buffer ** current_rb,struct trace_event_file * trace_file,int type,unsigned long len,unsigned int trace_ctx) trace_event_buffer_lock_reserve() argument
2930 trace_buffer_unlock_commit_regs(struct trace_array * tr,struct trace_buffer * buffer,struct ring_buffer_event * event,unsigned int trace_ctx,struct pt_regs * regs) trace_buffer_unlock_commit_regs() argument
2957 trace_function(struct trace_array * tr,unsigned long ip,unsigned long parent_ip,unsigned int trace_ctx,struct ftrace_regs * fregs) trace_function() argument
3007 __ftrace_trace_stack(struct trace_array * tr,struct trace_buffer * buffer,unsigned int trace_ctx,int skip,struct pt_regs * regs) __ftrace_trace_stack() argument
3087 ftrace_trace_stack(struct trace_array * tr,struct trace_buffer * buffer,unsigned int trace_ctx,int skip,struct pt_regs * regs) ftrace_trace_stack() argument
3096 __trace_stack(struct trace_array * tr,unsigned int trace_ctx,int skip) __trace_stack() argument
3146 ftrace_trace_userstack(struct trace_array * tr,struct trace_buffer * buffer,unsigned int trace_ctx) ftrace_trace_userstack() argument
3189 ftrace_trace_userstack(struct trace_array * tr,struct trace_buffer * buffer,unsigned int trace_ctx) ftrace_trace_userstack() argument
3206 trace_last_func_repeats(struct trace_array * tr,struct trace_func_repeats * last_info,unsigned int trace_ctx) trace_last_func_repeats() argument
3352 unsigned int trace_ctx; trace_vbprintk() local
3411 unsigned int trace_ctx; __trace_array_vprintk() local
[all...]
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_events.c668 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve()
674 fbuffer->trace_ctx); in trace_event_buffer_reserve()
4835 unsigned int trace_ctx; in function_test_events_call()
4839 trace_ctx = tracing_gen_ctx(); in function_test_events_call()
4849 trace_ctx); in function_test_events_call()
4857 entry, trace_ctx); in function_test_events_call()
4833 unsigned int trace_ctx; function_test_events_call() local
/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