summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
36d2e35)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#define LTTNG_NAME_MAX 255
#define LTTNG_NAME_MAX 255
+#define LTTNG_HOST_NAME_MAX 64
+
#endif /* LTTNG_CONSTANT_H */
#endif /* LTTNG_CONSTANT_H */
struct relay_session *session;
struct lttcomm_relayd_status_session reply;
char session_name[LTTNG_NAME_MAX];
struct relay_session *session;
struct lttcomm_relayd_status_session reply;
char session_name[LTTNG_NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
uint32_t live_timer = 0;
bool snapshot = false;
memset(session_name, 0, LTTNG_NAME_MAX);
uint32_t live_timer = 0;
bool snapshot = false;
memset(session_name, 0, LTTNG_NAME_MAX);
- memset(hostname, 0, HOST_NAME_MAX);
+ memset(hostname, 0, LTTNG_HOST_NAME_MAX);
memset(&reply, 0, sizeof(reply));
memset(&reply, 0, sizeof(reply));
*/
uint64_t id;
char session_name[LTTNG_NAME_MAX];
*/
uint64_t id;
char session_name[LTTNG_NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
uint32_t live_timer;
/* Session in snapshot mode. */
uint32_t live_timer;
/* Session in snapshot mode. */
*/
struct lttcomm_relayd_create_session_2_4 {
char session_name[LTTNG_NAME_MAX];
*/
struct lttcomm_relayd_create_session_2_4 {
char session_name[LTTNG_NAME_MAX];
- char hostname[HOST_NAME_MAX];
+ char hostname[LTTNG_HOST_NAME_MAX];
uint32_t live_timer;
uint32_t snapshot;
} LTTNG_PACKED;
uint32_t live_timer;
uint32_t snapshot;
} LTTNG_PACKED;