From a327294108470b94873a0c248fc02811db98fd64 Mon Sep 17 00:00:00 2001 From: Pierre-Marc Fournier Date: Fri, 11 Sep 2009 15:33:29 -0400 Subject: [PATCH] fix bug when deleting trace The trace wasn't being deleted from the trace list. --- libust/tracer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); /* -- 2.34.1