aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/trace/ftrace.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h
index 2af2f7a2c1bd..0c21af85211c 100644
--- a/include/trace/ftrace.h
+++ b/include/trace/ftrace.h
@@ -555,13 +555,7 @@ static void ftrace_profile_disable_##name(struct ftrace_event_call *unused)\
555 * 555 *
556 * static int ftrace_reg_event_<call>(struct ftrace_event_call *unused) 556 * static int ftrace_reg_event_<call>(struct ftrace_event_call *unused)
557 * { 557 * {
558 * int ret; 558 * return register_trace_<call>(ftrace_event_<call>);
559 *
560 * ret = register_trace_<call>(ftrace_event_<call>);
561 * if (!ret)
562 * pr_info("event trace: Could not activate trace point "
563 * "probe to <call>");
564 * return ret;
565 * } 559 * }
566 * 560 *
567 * static void ftrace_unreg_event_<call>(struct ftrace_event_call *unused) 561 * static void ftrace_unreg_event_<call>(struct ftrace_event_call *unused)
@@ -710,13 +704,7 @@ static void ftrace_raw_event_##call(proto) \
710 \ 704 \
711static int ftrace_raw_reg_event_##call(struct ftrace_event_call *unused)\ 705static int ftrace_raw_reg_event_##call(struct ftrace_event_call *unused)\
712{ \ 706{ \
713 int ret; \ 707 return register_trace_##call(ftrace_raw_event_##call); \
714 \
715 ret = register_trace_##call(ftrace_raw_event_##call); \
716 if (ret) \
717 pr_info("event trace: Could not activate trace point " \
718 "probe to %s\n", #call); \
719 return ret; \
720} \ 708} \
721 \ 709 \
722static void ftrace_raw_unreg_event_##call(struct ftrace_event_call *unused)\ 710static void ftrace_raw_unreg_event_##call(struct ftrace_event_call *unused)\