Add empty plug-in hooks to prevent their elimination by the linker
[babeltrace.git] / formats / lttng-live / lttng-live-plugin.c
index a1fbb9e826efc903009e777a70dc0fd7522004c4..dfabb986922341d1ea72bc004d190113a221c774 100644 (file)
 
 static volatile int should_quit;
 
+void bt_lttng_live_hook(void)
+{
+       /*
+        * Dummy function to prevent the linker from discarding this format as
+        * "unused" in static builds.
+        */
+}
+
 int lttng_live_should_quit(void)
 {
        return should_quit;
This page took 0.025246 seconds and 4 git commands to generate.