projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move health comm to health-internal.h
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
lttng-ctl.c
diff --git
a/src/lib/lttng-ctl/lttng-ctl.c
b/src/lib/lttng-ctl/lttng-ctl.c
index e6dbb678f265e58ae815234e965cfe7c486e69b4..0efc1591510fbff0b1eebf8f4e0bd313166204a6 100644
(file)
--- a/
src/lib/lttng-ctl/lttng-ctl.c
+++ b/
src/lib/lttng-ctl/lttng-ctl.c
@@
-34,6
+34,7
@@
#include <common/uri.h>
#include <common/utils.h>
#include <lttng/lttng.h>
#include <common/uri.h>
#include <common/utils.h>
#include <lttng/lttng.h>
+#include <lttng/health-internal.h>
#include "filter/filter-ast.h"
#include "filter/filter-parser.h"
#include "filter/filter-ast.h"
#include "filter/filter-parser.h"
@@
-1412,8
+1413,8
@@
static int set_health_socket_path(void)
int lttng_health_check(enum lttng_health_component c)
{
int sock, ret;
int lttng_health_check(enum lttng_health_component c)
{
int sock, ret;
- struct
lttcomm_health
_msg msg;
- struct
lttcomm_health_data
reply;
+ struct
health_comm
_msg msg;
+ struct
health_comm_reply
reply;
/* Connect to the sesssion daemon */
sock = lttcomm_connect_unix_sock(health_sock_path);
/* Connect to the sesssion daemon */
sock = lttcomm_connect_unix_sock(health_sock_path);
@@
-1422,7
+1423,7
@@
int lttng_health_check(enum lttng_health_component c)
goto error;
}
goto error;
}
- msg.cmd =
LTTNG_HEALTH
_CHECK;
+ msg.cmd =
HEALTH_CMD
_CHECK;
msg.component = c;
ret = lttcomm_send_unix_sock(sock, (void *)&msg, sizeof(msg));
msg.component = c;
ret = lttcomm_send_unix_sock(sock, (void *)&msg, sizeof(msg));
This page took
0.024469 seconds
and
5
git commands to generate.