projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Memory leak in setup of relayd_path
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
lttng-relayd.h
diff --git
a/src/bin/lttng-relayd/lttng-relayd.h
b/src/bin/lttng-relayd/lttng-relayd.h
index 55ce25ea6ff162871f2deb711e04ab26b587f07b..245c5fd2656491c9cb00ef41e2f351a79124f944 100644
(file)
--- a/
src/bin/lttng-relayd/lttng-relayd.h
+++ b/
src/bin/lttng-relayd/lttng-relayd.h
@@
-19,10
+19,9
@@
#ifndef LTTNG_RELAYD_H
#define LTTNG_RELAYD_H
#ifndef LTTNG_RELAYD_H
#define LTTNG_RELAYD_H
-#define _LGPL_SOURCE
#include <limits.h>
#include <urcu.h>
#include <limits.h>
#include <urcu.h>
-#include <urcu/wfqueue.h>
+#include <urcu/wf
c
queue.h>
#include <common/hashtable/hashtable.h>
#include <common/hashtable/hashtable.h>
@@
-30,7
+29,8
@@
* Queue used to enqueue relay requests
*/
struct relay_conn_queue {
* Queue used to enqueue relay requests
*/
struct relay_conn_queue {
- struct cds_wfq_queue queue;
+ struct cds_wfcq_head head;
+ struct cds_wfcq_tail tail;
int32_t futex;
};
int32_t futex;
};
@@
-57,5
+57,6
@@
extern const char * const config_section_name;
extern int thread_quit_pipe[2];
void lttng_relay_notify_ready(void);
extern int thread_quit_pipe[2];
void lttng_relay_notify_ready(void);
+int lttng_relay_stop_threads(void);
#endif /* LTTNG_RELAYD_H */
#endif /* LTTNG_RELAYD_H */
This page took
0.026404 seconds
and
5
git commands to generate.