event_call
trace_get_fields(struct trace_event_call *event_call)
if (!event_call->class->get_fields)
return &event_call->class->fields;
return event_call->class->get_fields(event_call);
struct trace_event_call *event_call = __data; \
head = this_cpu_ptr(event_call->perf_events); \
if (!bpf_prog_array_valid(event_call) && \
event_call, __count, __regs, \
struct trace_event_call *event_call;
event_call = fbuffer->trace_file->event_call;
if (!event_call || !event_call->event.funcs ||
!event_call->event.funcs->trace)
event = &fbuffer->trace_file->event_call->event;
event_call->event.funcs->trace(iter, 0, event);
static int eprobe_event_define_fields(struct trace_event_call *event_call)
tp = trace_probe_primary_from_call(event_call);
return traceprobe_define_arg_fields(event_call, sizeof(field), tp);
if (WARN_ON_ONCE(call != edata->file->event_call))
struct trace_event_call *event_call;
event_call = find_and_get_event(sys_name, sys_event);
ep = alloc_event_probe(group, event, event_call, argc - 2);
call = file->event_call;
call = file->event_call;
struct trace_event_call *call = file->event_call;
struct trace_event_call *call = file->event_call;
struct trace_event_call *call = file->event_call;
call = file->event_call;
struct trace_event_call *call = file->event_call;
struct trace_event_call *call = file->event_call;
struct trace_event_call *call = file->event_call;
struct trace_event_call *call = file->event_call;
if (file->event_call != call)
if (file->event_call != call)
file->event_call = call;
if (file->event_call != call)
call = file->event_call;
if (!file || !file->event_call->class->reg ||
file->event_call->flags & TRACE_EVENT_FL_IGNORE_ENABLE)
ret = trace_event_try_get_ref(file->event_call);
trace_event_put_ref(file->event_call);
edata->file->event_call->class->system,
trace_event_name(edata->file->event_call));
trace_event_put_ref(edata->file->event_call);
ret = trace_event_try_get_ref(file->event_call);
trace_event_put_ref(file->event_call);
trace_event_name(file->event_call));
call = file->event_call;
struct trace_event_call *event_call = trace_file->event_call;
event_call->event.type, len,
struct trace_event_call *call = file->event_call;
err = process_preds(file->event_call, filter_string, filter, pe);
struct trace_event_call *call = file->event_call;
call = hist_data->event_file->event_call;
field = trace_find_event_field(file->event_call, field_name);
call = file->event_call;
call = file->event_call;
se_name = trace_event_name(file->event_call);
se_name = trace_event_name(file->event_call);
se_name = trace_event_name(file->event_call);
call = file->event_call;
call = file->event_call;
trace_state->event = file->event_call->data;
event = trace_file->event_call->data;
ret = create_event_filter(file->tr, file->event_call,
enable_data->file->event_call->class->system,
trace_event_name(enable_data->file->event_call));
trace_event_put_ref(enable_data->file->event_call);
ret = trace_event_try_get_ref(event_enable_file->event_call);
trace_event_put_ref(event_enable_file->event_call);
if (WARN_ON_ONCE(call != trace_file->event_call))
if (WARN_ON_ONCE(call != trace_file->event_call))
static int fentry_event_define_fields(struct trace_event_call *event_call)
tp = trace_probe_primary_from_call(event_call);
return traceprobe_define_arg_fields(event_call, sizeof(field), tp);
static int fexit_event_define_fields(struct trace_event_call *event_call)
tp = trace_probe_primary_from_call(event_call);
return traceprobe_define_arg_fields(event_call, sizeof(field), tp);
WARN_ON(call != trace_file->event_call);
WARN_ON(call != trace_file->event_call);
static int kprobe_event_define_fields(struct trace_event_call *event_call)
tp = trace_probe_primary_from_call(event_call);
return traceprobe_define_arg_fields(event_call, sizeof(field), tp);
static int kretprobe_event_define_fields(struct trace_event_call *event_call)
tp = trace_probe_primary_from_call(event_call);
return traceprobe_define_arg_fields(event_call, sizeof(field), tp);
void destroy_local_trace_kprobe(struct trace_event_call *event_call)
tk = trace_kprobe_primary_from_call(event_call);
if (file->event_call == trace_probe_event_call(&tk->tp))
if (file->event_call == trace_probe_event_call(&tk->tp))
int traceprobe_define_arg_fields(struct trace_event_call *event_call,
ret = trace_define_field(event_call, fmt, parg->name,
trace_probe_event_from_call(struct trace_event_call *event_call)
return container_of(event_call, struct trace_probe_event, call);
extern void destroy_local_trace_kprobe(struct trace_event_call *event_call);
extern void destroy_local_trace_uprobe(struct trace_event_call *event_call);
extern int traceprobe_define_arg_fields(struct trace_event_call *event_call,
ret = trace_define_field(event_call, #type, name, \
WARN_ON(call != trace_file->event_call);
static int uprobe_event_define_fields(struct trace_event_call *event_call)
tu = trace_uprobe_primary_from_call(event_call);
return traceprobe_define_arg_fields(event_call, size, &tu->tp);
void destroy_local_trace_uprobe(struct trace_event_call *event_call)
tu = trace_uprobe_primary_from_call(event_call);