projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Session daemon health check support
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
consumer.h
diff --git
a/src/bin/lttng-sessiond/consumer.h
b/src/bin/lttng-sessiond/consumer.h
index 2eb9d7433455f8156d83678029628ab7a969c41c..fff32de0fc4d1bc03fc76c2754cd6e7fb454f9e6 100644
(file)
--- a/
src/bin/lttng-sessiond/consumer.h
+++ b/
src/bin/lttng-sessiond/consumer.h
@@
-23,6
+23,8
@@
#include <common/consumer.h>
#include <lttng/lttng.h>
#include <common/consumer.h>
#include <lttng/lttng.h>
+#include "health.h"
+
enum consumer_dst_type {
CONSUMER_DST_LOCAL,
CONSUMER_DST_NET,
enum consumer_dst_type {
CONSUMER_DST_LOCAL,
CONSUMER_DST_NET,
@@
-44,6
+46,9
@@
struct consumer_data {
/* consumer error and command Unix socket path */
char err_unix_sock_path[PATH_MAX];
char cmd_unix_sock_path[PATH_MAX];
/* consumer error and command Unix socket path */
char err_unix_sock_path[PATH_MAX];
char cmd_unix_sock_path[PATH_MAX];
+
+ /* Health check of the thread */
+ struct health_state health;
};
/*
};
/*
This page took
0.023144 seconds
and
4
git commands to generate.