|
@@ -1113,10 +1113,6 @@ static int kprobe_event_define_fields(struct ftrace_event_call *event_call)
|
|
struct kprobe_trace_entry field;
|
|
struct kprobe_trace_entry field;
|
|
struct trace_probe *tp = (struct trace_probe *)event_call->data;
|
|
struct trace_probe *tp = (struct trace_probe *)event_call->data;
|
|
|
|
|
|
- ret = trace_define_common_fields(event_call);
|
|
|
|
- if (!ret)
|
|
|
|
- return ret;
|
|
|
|
-
|
|
|
|
DEFINE_FIELD(unsigned long, ip, FIELD_STRING_IP, 0);
|
|
DEFINE_FIELD(unsigned long, ip, FIELD_STRING_IP, 0);
|
|
DEFINE_FIELD(int, nargs, FIELD_STRING_NARGS, 1);
|
|
DEFINE_FIELD(int, nargs, FIELD_STRING_NARGS, 1);
|
|
/* Set argument names as fields */
|
|
/* Set argument names as fields */
|
|
@@ -1131,10 +1127,6 @@ static int kretprobe_event_define_fields(struct ftrace_event_call *event_call)
|
|
struct kretprobe_trace_entry field;
|
|
struct kretprobe_trace_entry field;
|
|
struct trace_probe *tp = (struct trace_probe *)event_call->data;
|
|
struct trace_probe *tp = (struct trace_probe *)event_call->data;
|
|
|
|
|
|
- ret = trace_define_common_fields(event_call);
|
|
|
|
- if (!ret)
|
|
|
|
- return ret;
|
|
|
|
-
|
|
|
|
DEFINE_FIELD(unsigned long, func, FIELD_STRING_FUNC, 0);
|
|
DEFINE_FIELD(unsigned long, func, FIELD_STRING_FUNC, 0);
|
|
DEFINE_FIELD(unsigned long, ret_ip, FIELD_STRING_RETIP, 0);
|
|
DEFINE_FIELD(unsigned long, ret_ip, FIELD_STRING_RETIP, 0);
|
|
DEFINE_FIELD(int, nargs, FIELD_STRING_NARGS, 1);
|
|
DEFINE_FIELD(int, nargs, FIELD_STRING_NARGS, 1);
|