projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoints and markers: cleanup init, add missing mutex lock/unlock
[lttng-ust.git]
/
libust
/
tracercore.h
diff --git
a/libust/tracercore.h
b/libust/tracercore.h
index 52f75ec82352fca4ebddb7fde5245ecb39aef14d..9673cca2a875cf6bf44e86fb4681957c04828948 100644
(file)
--- a/
libust/tracercore.h
+++ b/
libust/tracercore.h
@@
-21,11
+21,9
@@
#ifndef UST_TRACERCORE_H
#define UST_TRACERCORE_H
#ifndef UST_TRACERCORE_H
#define UST_TRACERCORE_H
-#include <ust/kernelcompat.h>
-//ust// #include <linux/percpu.h>
-
-/* ltt's root dir in debugfs */
-#define LTT_ROOT "ltt"
+#include <ust/kcompat/kcompat.h>
+#include <ust/core.h>
+#include <urcu/list.h>
/*
* All modifications of ltt_traces must be done by ltt-tracer.c, while holding
/*
* All modifications of ltt_traces must be done by ltt-tracer.c, while holding
@@
-34,8
+32,8
@@
* list.
*/
struct ltt_traces {
* list.
*/
struct ltt_traces {
- struct
list_head setup_head;
/* Pre-allocated traces list */
- struct
list_head head;
/* Allocated Traces list */
+ struct
cds_list_head setup_head;
/* Pre-allocated traces list */
+ struct
cds_list_head head;
/* Allocated Traces list */
unsigned int num_active_traces; /* Number of active traces */
} ____cacheline_aligned;
unsigned int num_active_traces; /* Number of active traces */
} ____cacheline_aligned;
This page took
0.046671 seconds
and
4
git commands to generate.