Searched refs:trace_file (Results 1 – 7 of 7) sorted by relevance
/kernel/trace/ |
D | trace_syscalls.c | 296 struct trace_event_file *trace_file; in ftrace_syscall_enter() local 309 trace_file = rcu_dereference_sched(tr->enter_syscall_files[syscall_nr]); in ftrace_syscall_enter() 310 if (!trace_file) in ftrace_syscall_enter() 313 if (trace_trigger_soft_disabled(trace_file)) in ftrace_syscall_enter() 322 entry = trace_event_buffer_reserve(&fbuffer, trace_file, size); in ftrace_syscall_enter() 337 struct trace_event_file *trace_file; in ftrace_syscall_exit() local 348 trace_file = rcu_dereference_sched(tr->exit_syscall_files[syscall_nr]); in ftrace_syscall_exit() 349 if (!trace_file) in ftrace_syscall_exit() 352 if (trace_trigger_soft_disabled(trace_file)) in ftrace_syscall_exit() 359 entry = trace_event_buffer_reserve(&fbuffer, trace_file, sizeof(*entry)); in ftrace_syscall_exit()
|
D | trace_kprobe.c | 1384 struct trace_event_file *trace_file) in NOKPROBE_SYMBOL() 1391 WARN_ON(call != trace_file->event_call); in NOKPROBE_SYMBOL() 1393 if (trace_trigger_soft_disabled(trace_file)) in NOKPROBE_SYMBOL() 1397 fbuffer.trace_file = trace_file; in NOKPROBE_SYMBOL() 1402 trace_event_buffer_lock_reserve(&fbuffer.buffer, trace_file, in NOKPROBE_SYMBOL() 1431 struct trace_event_file *trace_file) in __kretprobe_trace_func() argument 1438 WARN_ON(call != trace_file->event_call); in __kretprobe_trace_func() 1440 if (trace_trigger_soft_disabled(trace_file)) in __kretprobe_trace_func() 1444 fbuffer.trace_file = trace_file; in __kretprobe_trace_func() 1448 trace_event_buffer_lock_reserve(&fbuffer.buffer, trace_file, in __kretprobe_trace_func()
|
D | trace_uprobe.c | 950 struct trace_event_file *trace_file) in __uprobe_trace_func() argument 959 WARN_ON(call != trace_file->event_call); in __uprobe_trace_func() 964 if (trace_trigger_soft_disabled(trace_file)) in __uprobe_trace_func() 969 event = trace_event_buffer_lock_reserve(&buffer, trace_file, in __uprobe_trace_func() 986 event_trigger_unlock_commit(trace_file, buffer, event, entry, 0); in __uprobe_trace_func()
|
D | trace_events.c | 459 bool trace_event_ignore_this_pid(struct trace_event_file *trace_file) in trace_event_ignore_this_pid() argument 461 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() 479 struct trace_event_file *trace_file, in trace_event_buffer_reserve() argument 482 struct trace_event_call *event_call = trace_file->event_call; in trace_event_buffer_reserve() 484 if ((trace_file->flags & EVENT_FILE_FL_PID_FILTER) && in trace_event_buffer_reserve() 485 trace_event_ignore_this_pid(trace_file)) in trace_event_buffer_reserve() 495 fbuffer->trace_file = trace_file; in trace_event_buffer_reserve() 498 trace_event_buffer_lock_reserve(&fbuffer->buffer, trace_file, in trace_event_buffer_reserve()
|
D | trace_events_synth.c | 513 struct trace_event_file *trace_file = __data; in trace_event_raw_event_synth() local 520 event = trace_file->event_call->data; in trace_event_raw_event_synth() 522 if (trace_trigger_soft_disabled(trace_file)) in trace_event_raw_event_synth() 543 buffer = trace_file->tr->array_buffer.buffer; in trace_event_raw_event_synth() 546 entry = trace_event_buffer_reserve(&fbuffer, trace_file, in trace_event_raw_event_synth()
|
D | trace.c | 2764 struct trace_event_file *trace_file, in trace_event_buffer_lock_reserve() argument 2769 struct trace_array *tr = trace_file->tr; in trace_event_buffer_lock_reserve() 2775 (trace_file->flags & (EVENT_FILE_FL_SOFT_DISABLED | EVENT_FILE_FL_FILTERED)) && in trace_event_buffer_lock_reserve() 2831 if (!entry && trace_file->flags & EVENT_FILE_FL_TRIGGER_COND) { in trace_event_buffer_lock_reserve() 2855 event_call = fbuffer->trace_file->event_call; in output_printk() 2860 file = fbuffer->trace_file; in output_printk() 2866 event = &fbuffer->trace_file->event_call->event; in output_printk() 2914 struct trace_event_file *file = fbuffer->trace_file; in trace_event_buffer_commit()
|
D | trace_eprobe.c | 515 fbuffer.trace_file = edata->file; in __eprobe_trace_func()
|