X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=libtracing%2Ftracer.c;h=ea156f61a664dfbf479ef5c400b750ccb38aefcc;hb=e541a28d5fdb3b64e972189458d7b2269d1603d4;hp=8c7000d3cde20a8bbc61e6fcbc75ee023e5c8669;hpb=8d938dbd14e689a294f8a251e4ac255985c65ad5;p=lttng-ust.git diff --git a/libtracing/tracer.c b/libtracing/tracer.c index 8c7000d3..ea156f61 100644 --- a/libtracing/tracer.c +++ b/libtracing/tracer.c @@ -324,7 +324,7 @@ static void trace_async_wakeup(struct ltt_trace_struct *trace) * * Returns a pointer to the trace structure, NULL if not found. */ -static struct ltt_trace_struct *_ltt_trace_find(const char *trace_name) +struct ltt_trace_struct *_ltt_trace_find(const char *trace_name) { struct ltt_trace_struct *trace; @@ -838,6 +838,7 @@ static void __ltt_trace_destroy(struct ltt_trace_struct *trace) trace->ops->finish_channel(chan); } + return; /* FIXME: temporary for ust */ //ust// flush_scheduled_work(); /* @@ -956,7 +957,7 @@ int ltt_trace_start(const char *trace_name) * directly using this trace handle inside the logging function. */ -//ust// ltt_dump_marker_state(trace); + ltt_dump_marker_state(trace); //ust// if (!try_module_get(ltt_statedump_owner)) { //ust// err = -ENODEV;