/openbmc/linux/include/trace/ |
H A D | perf.h | 20 struct trace_event_call *event_call = __data; \ 33 head = this_cpu_ptr(event_call->perf_events); \ 34 if (!bpf_prog_array_valid(event_call) && \ 54 event_call, __count, __regs, \
|
/openbmc/linux/kernel/trace/ |
H A D | trace_probe.h | 48 ret = trace_define_field(event_call, #type, name, \ 312 trace_probe_event_from_call(struct trace_event_call *event_call) in trace_probe_event_from_call() argument 314 return container_of(event_call, struct trace_probe_event, call); in trace_probe_event_from_call() 457 extern void destroy_local_trace_kprobe(struct trace_event_call *event_call); 462 extern void destroy_local_trace_uprobe(struct trace_event_call *event_call); 464 extern int traceprobe_define_arg_fields(struct trace_event_call *event_call,
|
H A D | trace_events.c | 499 struct trace_event_call *event_call = trace_file->event_call; in trace_event_buffer_reserve() local 516 event_call->event.type, len, in trace_event_buffer_reserve() 1039 call = file->event_call; in __ftrace_set_clr_event_nolock() 1229 call = file->event_call; in t_next() 1462 call = file->event_call; in system_enable_read() 2631 if (file->event_call != call) in remove_event_from_tracers() 2651 if (file->event_call != call) in event_remove() 2942 file->event_call = call; in trace_create_new_event() 3090 if (file->event_call != call) in probe_remove_event_call() 3254 call = file->event_call; in __find_event_file() [all …]
|
H A D | trace_eprobe.c | 234 static int eprobe_event_define_fields(struct trace_event_call *event_call) in eprobe_event_define_fields() argument 239 tp = trace_probe_primary_from_call(event_call); in eprobe_event_define_fields() 243 return traceprobe_define_arg_fields(event_call, sizeof(field), tp); in eprobe_event_define_fields() 426 if (WARN_ON_ONCE(call != edata->file->event_call)) in NOKPROBE_SYMBOL() 874 struct trace_event_call *event_call; in __trace_eprobe_create() local 924 event_call = find_and_get_event(sys_name, sys_event); in __trace_eprobe_create() 925 ep = alloc_event_probe(group, event, event_call, argc - 2); in __trace_eprobe_create()
|
H A D | trace_fprobe.c | 185 if (WARN_ON_ONCE(call != trace_file->event_call)) in NOKPROBE_SYMBOL() 241 if (WARN_ON_ONCE(call != trace_file->event_call)) in NOKPROBE_SYMBOL() 593 static int fentry_event_define_fields(struct trace_event_call *event_call) in fentry_event_define_fields() argument 599 tp = trace_probe_primary_from_call(event_call); in fentry_event_define_fields() 605 return traceprobe_define_arg_fields(event_call, sizeof(field), tp); in fentry_event_define_fields() 608 static int fexit_event_define_fields(struct trace_event_call *event_call) in fexit_event_define_fields() argument 614 tp = trace_probe_primary_from_call(event_call); in fexit_event_define_fields() 621 return traceprobe_define_arg_fields(event_call, sizeof(field), tp); in fexit_event_define_fields()
|
H A D | trace_kprobe.c | 1372 WARN_ON(call != trace_file->event_call); in NOKPROBE_SYMBOL() 1437 WARN_ON(call != trace_file->event_call); in __kretprobe_trace_func() 1536 static int kprobe_event_define_fields(struct trace_event_call *event_call) in kprobe_event_define_fields() argument 1542 tp = trace_probe_primary_from_call(event_call); in kprobe_event_define_fields() 1548 return traceprobe_define_arg_fields(event_call, sizeof(field), tp); in kprobe_event_define_fields() 1557 tp = trace_probe_primary_from_call(event_call); in kretprobe_event_define_fields() 1564 return traceprobe_define_arg_fields(event_call, sizeof(field), tp); in kretprobe_event_define_fields() 1871 void destroy_local_trace_kprobe(struct trace_event_call *event_call) in destroy_local_trace_kprobe() argument 1875 tk = trace_kprobe_primary_from_call(event_call); in destroy_local_trace_kprobe() 1900 if (file->event_call == trace_probe_event_call(&tk->tp)) in enable_boot_kprobe_events() [all …]
|
H A D | trace_events_trigger.c | 1071 ret = create_event_filter(file->tr, file->event_call, in set_trigger_filter() 1675 enable_data->file->event_call->class->system, in event_enable_trigger_print() 1676 trace_event_name(enable_data->file->event_call)); in event_enable_trigger_print() 1702 trace_event_put_ref(enable_data->file->event_call); in event_enable_trigger_free() 1816 ret = trace_event_try_get_ref(event_enable_file->event_call); in event_enable_trigger_parse() 1836 trace_event_put_ref(event_enable_file->event_call); in event_enable_trigger_parse()
|
H A D | trace_uprobe.c | 990 WARN_ON(call != trace_file->event_call); in __uprobe_trace_func() 1210 static int uprobe_event_define_fields(struct trace_event_call *event_call) in uprobe_event_define_fields() argument 1216 tu = trace_uprobe_primary_from_call(event_call); in uprobe_event_define_fields() 1229 return traceprobe_define_arg_fields(event_call, size, &tu->tp); in uprobe_event_define_fields() 1654 void destroy_local_trace_uprobe(struct trace_event_call *event_call) in destroy_local_trace_uprobe() argument 1658 tu = trace_uprobe_primary_from_call(event_call); in destroy_local_trace_uprobe()
|
H A D | trace_events_inject.c | 304 call = file->event_call; in event_inject_write()
|
H A D | trace_events_hist.c | 795 call = file->event_call; in last_cmd_set() 2257 call = hist_data->event_file->event_call; in local_field_var_ref() 2377 field = trace_find_event_field(file->event_call, field_name); in parse_field() 3110 call = file->event_call; in find_target_event_var() 3315 call = file->event_call; in create_target_field_var() 6533 se_name = trace_event_name(file->event_call); in hist_unreg_all() 6652 se_name = trace_event_name(file->event_call); in event_hist_trigger_parse() 6688 se_name = trace_event_name(file->event_call); in event_hist_trigger_parse()
|
H A D | trace.c | 2924 struct trace_event_call *event_call; in output_printk() local 2934 event_call = fbuffer->trace_file->event_call; in output_printk() 2935 if (!event_call || !event_call->event.funcs || in output_printk() 2936 !event_call->event.funcs->trace) in output_printk() 2945 event = &fbuffer->trace_file->event_call->event; in output_printk() 2950 event_call->event.funcs->trace(iter, 0, event); in output_printk()
|
H A D | trace_events_synth.c | 517 event = trace_file->event_call->data; in trace_event_raw_event_synth() 1652 trace_state->event = file->event_call->data; in __synth_event_trace_init()
|
H A D | trace_events_filter.c | 2165 err = process_preds(file->event_call, filter_string, filter, pe); in process_system_preds() 2348 struct trace_event_call *call = file->event_call; in apply_event_filter()
|
H A D | trace_probe.c | 1832 int traceprobe_define_arg_fields(struct trace_event_call *event_call, in traceprobe_define_arg_fields() argument 1847 ret = trace_define_field(event_call, fmt, parg->name, in traceprobe_define_arg_fields()
|
/openbmc/linux/include/linux/ |
H A D | trace_events.h | 474 trace_get_fields(struct trace_event_call *event_call) in trace_get_fields() argument 476 if (!event_call->class->get_fields) in trace_get_fields() 477 return &event_call->class->fields; in trace_get_fields() 478 return event_call->class->get_fields(event_call); in trace_get_fields() 653 struct trace_event_call *event_call; member
|