Fix: handle missing ftrace header on v4.12
[lttng-modules.git] / lttng-events.h
index f55bf6637c93643ae70fd32b09934dfd3e22dce3..17dd8d3a3c312ef35da53f4cbbdd4aba75d4a2f7 100644 (file)
@@ -810,7 +810,7 @@ int lttng_kretprobes_event_enable_state(struct lttng_event *event,
 }
 #endif
 
-#ifdef CONFIG_DYNAMIC_FTRACE
+#if defined(CONFIG_DYNAMIC_FTRACE) && !defined(LTTNG_FTRACE_MISSING_HEADER)
 int lttng_ftrace_register(const char *name,
                          const char *symbol_name,
                          struct lttng_event *event);
This page took 0.023605 seconds and 4 git commands to generate.