aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r--kernel/trace/trace_syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
index e23515f51ed4..96fc73369099 100644
--- a/kernel/trace/trace_syscalls.c
+++ b/kernel/trace/trace_syscalls.c
@@ -666,6 +666,8 @@ static int syscall_enter_register(struct ftrace_event_call *event,
666 return 0; 666 return 0;
667 case TRACE_REG_PERF_OPEN: 667 case TRACE_REG_PERF_OPEN:
668 case TRACE_REG_PERF_CLOSE: 668 case TRACE_REG_PERF_CLOSE:
669 case TRACE_REG_PERF_ADD:
670 case TRACE_REG_PERF_DEL:
669 return 0; 671 return 0;
670#endif 672#endif
671 } 673 }
@@ -690,6 +692,8 @@ static int syscall_exit_register(struct ftrace_event_call *event,
690 return 0; 692 return 0;
691 case TRACE_REG_PERF_OPEN: 693 case TRACE_REG_PERF_OPEN:
692 case TRACE_REG_PERF_CLOSE: 694 case TRACE_REG_PERF_CLOSE:
695 case TRACE_REG_PERF_ADD:
696 case TRACE_REG_PERF_DEL:
693 return 0; 697 return 0;
694#endif 698#endif
695 } 699 }