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;
{
int ret;
- lttng_live_format.name = g_quark_from_static_string("lttng-live");
+ lttng_live_format.name = g_quark_from_string("lttng-live");
ret = bt_register_format(<tng_live_format);
assert(!ret);
}