Searched refs:fbuffer (Results 1 – 7 of 7) sorted by relevance
/kernel/trace/ |
D | trace_kprobe.c | 1388 struct trace_event_buffer fbuffer; in NOKPROBE_SYMBOL() local 1396 fbuffer.trace_ctx = tracing_gen_ctx(); in NOKPROBE_SYMBOL() 1397 fbuffer.trace_file = trace_file; in NOKPROBE_SYMBOL() 1401 fbuffer.event = in NOKPROBE_SYMBOL() 1402 trace_event_buffer_lock_reserve(&fbuffer.buffer, trace_file, in NOKPROBE_SYMBOL() 1405 fbuffer.trace_ctx); in NOKPROBE_SYMBOL() 1406 if (!fbuffer.event) in NOKPROBE_SYMBOL() 1409 fbuffer.regs = regs; in NOKPROBE_SYMBOL() 1410 entry = fbuffer.entry = ring_buffer_event_data(fbuffer.event); in NOKPROBE_SYMBOL() 1414 trace_event_buffer_commit(&fbuffer); in NOKPROBE_SYMBOL() [all …]
|
D | trace_eprobe.c | 505 struct trace_event_buffer fbuffer; in __eprobe_trace_func() local 514 fbuffer.trace_ctx = tracing_gen_ctx(); in __eprobe_trace_func() 515 fbuffer.trace_file = edata->file; in __eprobe_trace_func() 518 fbuffer.regs = NULL; in __eprobe_trace_func() 520 fbuffer.event = in __eprobe_trace_func() 521 trace_event_buffer_lock_reserve(&fbuffer.buffer, edata->file, in __eprobe_trace_func() 524 fbuffer.trace_ctx); in __eprobe_trace_func() 525 if (!fbuffer.event) in __eprobe_trace_func() 528 entry = fbuffer.entry = ring_buffer_event_data(fbuffer.event); in __eprobe_trace_func() 535 trace_event_buffer_commit(&fbuffer); in __eprobe_trace_func()
|
D | trace_syscalls.c | 299 struct trace_event_buffer fbuffer; in ftrace_syscall_enter() local 322 entry = trace_event_buffer_reserve(&fbuffer, trace_file, size); in ftrace_syscall_enter() 326 entry = ring_buffer_event_data(fbuffer.event); in ftrace_syscall_enter() 331 trace_event_buffer_commit(&fbuffer); in ftrace_syscall_enter() 340 struct trace_event_buffer fbuffer; in ftrace_syscall_exit() local 359 entry = trace_event_buffer_reserve(&fbuffer, trace_file, sizeof(*entry)); in ftrace_syscall_exit() 363 entry = ring_buffer_event_data(fbuffer.event); in ftrace_syscall_exit() 367 trace_event_buffer_commit(&fbuffer); in ftrace_syscall_exit()
|
D | trace_events_inject.c | 19 struct trace_event_buffer fbuffer; in trace_inject_entry() local 24 entry = trace_event_buffer_reserve(&fbuffer, file, len); in trace_inject_entry() 28 trace_event_buffer_commit(&fbuffer); in trace_inject_entry()
|
D | trace_events.c | 478 void *trace_event_buffer_reserve(struct trace_event_buffer *fbuffer, in trace_event_buffer_reserve() argument 494 fbuffer->trace_ctx = tracing_gen_ctx_dec(); in trace_event_buffer_reserve() 495 fbuffer->trace_file = trace_file; in trace_event_buffer_reserve() 497 fbuffer->event = in trace_event_buffer_reserve() 498 trace_event_buffer_lock_reserve(&fbuffer->buffer, trace_file, in trace_event_buffer_reserve() 500 fbuffer->trace_ctx); in trace_event_buffer_reserve() 501 if (!fbuffer->event) in trace_event_buffer_reserve() 504 fbuffer->regs = NULL; in trace_event_buffer_reserve() 505 fbuffer->entry = ring_buffer_event_data(fbuffer->event); in trace_event_buffer_reserve() 506 return fbuffer->entry; in trace_event_buffer_reserve()
|
D | trace_events_synth.c | 515 struct trace_event_buffer fbuffer; in trace_event_raw_event_synth() local 546 entry = trace_event_buffer_reserve(&fbuffer, trace_file, in trace_event_raw_event_synth() 591 trace_event_buffer_commit(&fbuffer); in trace_event_raw_event_synth() 1671 trace_state->entry = trace_event_buffer_reserve(&trace_state->fbuffer, in __synth_event_trace_start() 1685 trace_event_buffer_commit(&trace_state->fbuffer); in __synth_event_trace_end()
|
D | trace.c | 2843 static void output_printk(struct trace_event_buffer *fbuffer) in output_printk() argument 2855 event_call = fbuffer->trace_file->event_call; in output_printk() 2860 file = fbuffer->trace_file; in output_printk() 2863 !filter_match_preds(file->filter, fbuffer->entry))) in output_printk() 2866 event = &fbuffer->trace_file->event_call->event; in output_printk() 2870 iter->ent = fbuffer->entry; in output_printk() 2911 void trace_event_buffer_commit(struct trace_event_buffer *fbuffer) in trace_event_buffer_commit() argument 2914 struct trace_event_file *file = fbuffer->trace_file; in trace_event_buffer_commit() 2916 if (__event_trigger_test_discard(file, fbuffer->buffer, fbuffer->event, in trace_event_buffer_commit() 2917 fbuffer->entry, &tt)) in trace_event_buffer_commit() [all …]
|