]> Pileus Git - ~andy/linux/blobdiff - kernel/trace/trace_export.c
tracing: Do not enable function event with enable
[~andy/linux] / kernel / trace / trace_export.c
index 3dd15e8bc856d87f7e4525a1577b5af579db6f96..e039906b037df1fbdd9f50d22b59a650921b4a3a 100644 (file)
@@ -180,6 +180,7 @@ struct ftrace_event_call __used event_##call = {                    \
        .event.type             = etype,                                \
        .class                  = &event_class_ftrace_##call,           \
        .print_fmt              = print,                                \
+       .flags                  = TRACE_EVENT_FL_IGNORE_ENABLE,         \
 };                                                                     \
 struct ftrace_event_call __used                                                \
 __attribute__((section("_ftrace_events"))) *__event_##call = &event_##call;