fix bug when deleting trace
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 11 Sep 2009 19:33:29 +0000 (15:33 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Fri, 11 Sep 2009 19:33:29 +0000 (15:33 -0400)
The trace wasn't being deleted from the trace list.

libust/tracer.c

index bb8c7697f38d8c9b4bb7f31a9936b41a0790e01a..cc1dbfddfd2ffd36fa664cb91c5a35f0ec338e16 100644 (file)
@@ -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(&ltt_traces.head)) {
 //ust//                clear_kernel_trace_flag_all_tasks();
                /*
This page took 0.028304 seconds and 4 git commands to generate.