X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracer.c;h=100dec09a5b670461cb287b07682ab862f509b82;hb=d558d6536889525d9636c149e127d882420fa39f;hp=eb44f5459280c7c053417007b36285aede2702ce;hpb=205f7ca77a36f7942a3348e7b8ea3c1f86f1c7ee;p=ust.git diff --git a/libust/tracer.c b/libust/tracer.c index eb44f54..100dec0 100644 --- a/libust/tracer.c +++ b/libust/tracer.c @@ -795,9 +795,6 @@ static void __ltt_trace_destroy(struct ust_trace *trace, int drop) } } - return; /* FIXME: temporary for ust */ -//ust// flush_scheduled_work(); - /* * The currently destroyed trace is not in the trace list anymore, * so it's safe to call the async wakeup ourself. It will deliver @@ -905,11 +902,11 @@ int ltt_trace_start(const char *trace_name) ltt_unlock_traces(); /* - * Call the kernel state dump. - * Events will be mixed with real kernel events, it's ok. + * Call the process-wide state dump. * Notice that there is no protection on the trace : that's exactly * why we iterate on the list and check for trace equality instead of - * directly using this trace handle inside the logging function. + * directly using this trace handle inside the logging function: we want + * to record events only in a single trace in the trace session list. */ ltt_dump_marker_state(trace);