From: Pierre-Marc Fournier Date: Fri, 11 Sep 2009 19:33:29 +0000 (-0400) Subject: fix bug when deleting trace X-Git-Tag: v0.1~142 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a327294108470b94873a0c248fc02811db98fd64;p=ust.git fix bug when deleting trace The trace wasn't being deleted from the trace list. --- diff --git a/libust/tracer.c b/libust/tracer.c index bb8c769..cc1dbfd 100644 --- a/libust/tracer.c +++ b/libust/tracer.c @@ -823,8 +823,8 @@ static int _ltt_trace_destroy(struct ltt_trace_struct *trace) goto active_error; } /* Everything went fine */ -//ust// list_del_rcu(&trace->list); -//ust// synchronize_sched(); + list_del_rcu(&trace->list); + synchronize_rcu(); if (list_empty(<t_traces.head)) { //ust// clear_kernel_trace_flag_all_tasks(); /*