//ust// #include <linux/delay.h>
//ust// #include <linux/vmalloc.h>
//ust// #include <asm/atomic.h>
-#include <kcompat/rculist.h>
+#include <urcu/rculist.h>
-#include "kernelcompat.h"
+#include <ust/kernelcompat.h>
#include "tracercore.h"
#include "tracer.h"
#include "usterr.h"
//ust// }
/* Must be called while sure that trace is in the list. */
-static int _ltt_trace_destroy(struct ltt_trace_struct *trace)
+static int _ltt_trace_destroy(struct ltt_trace_struct *trace)
{
int err = -EPERM;
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();
/*