projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revert installation of tracer.h, but keep ust.h
[ust.git]
/
libust
/
tracer.c
diff --git
a/libust/tracer.c
b/libust/tracer.c
index bb8c7697f38d8c9b4bb7f31a9936b41a0790e01a..a3ace72c0811de72d9cf08824dfab2137f80f229 100644
(file)
--- a/
libust/tracer.c
+++ b/
libust/tracer.c
@@
-52,9
+52,9
@@
//ust// #include <linux/delay.h>
//ust// #include <linux/vmalloc.h>
//ust// #include <asm/atomic.h>
//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"
#include "tracercore.h"
#include "tracer.h"
#include "usterr.h"
@@
-807,7
+807,7
@@
traces_error:
//ust// }
/* Must be called while sure that trace is in the list. */
//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;
{
int err = -EPERM;
@@
-823,8
+823,8
@@
static int _ltt_trace_destroy(struct ltt_trace_struct *trace)
goto active_error;
}
/* Everything went fine */
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();
/*
if (list_empty(<t_traces.head)) {
//ust// clear_kernel_trace_flag_all_tasks();
/*
This page took
0.036877 seconds
and
4
git commands to generate.