Merge tag 'for-linus' of git://github.com/rustyrussell/linux
[firefly-linux-kernel-4.4.55.git] / kernel / trace / trace_kprobe.c
index 5667f8958cc9b51b68c8eb5796d1bff34f51ac4f..580a05ec926b46acad474f729f76b62845c8e200 100644 (file)
@@ -1912,6 +1912,8 @@ int kprobe_register(struct ftrace_event_call *event,
                return 0;
        case TRACE_REG_PERF_OPEN:
        case TRACE_REG_PERF_CLOSE:
+       case TRACE_REG_PERF_ADD:
+       case TRACE_REG_PERF_DEL:
                return 0;
 #endif
        }