| /linux/kernel/trace/ |
| H A 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() 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 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, 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 D | trace_functions.c | 212 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 D | trace_mmiotrace.c | 299 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 D | trace_functions_graph.c | 128 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 D | trace.h | 707 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 D | trace_branch.c | 38 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 D | trace.c | 218 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 [all …]
|
| H A D | blktrace.c | 178 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 D | trace_events.c | 668 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve() 674 fbuffer->trace_ctx); in trace_event_buffer_reserve() 4834 unsigned int trace_ctx; in function_test_events_call() local 4838 trace_ctx = tracing_gen_ctx(); in function_test_events_call() 4848 trace_ctx); in function_test_events_call() 4856 entry, trace_ctx); in function_test_events_call()
|
| /linux/include/linux/ |
| H A D | trace_events.h | 176 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
|