projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Add compat for platforms with no MSG_NOSIGNAL or SO_NOSIGPIPE
[lttng-tools.git]
/
src
/
common
/
sessiond-comm
/
agent.h
diff --git
a/src/common/sessiond-comm/agent.h
b/src/common/sessiond-comm/agent.h
index eced35185034bdc6fb7332e34303c5781b486e05..f3564550b746b47d4c00954545f86a4df7f70e20 100644
(file)
--- a/
src/common/sessiond-comm/agent.h
+++ b/
src/common/sessiond-comm/agent.h
@@
-18,7
+18,6
@@
#ifndef AGENT_COMM
#define AGENT_COMM
#ifndef AGENT_COMM
#define AGENT_COMM
-#define _GNU_SOURCE
#include <stdint.h>
#include <lttng/lttng.h>
#include <stdint.h>
#include <lttng/lttng.h>
@@
-34,11
+33,14
@@
enum lttcomm_agent_command {
};
/*
};
/*
- * Return code
from the Java
agent.
+ * Return code
s from the
agent.
*/
enum lttcomm_agent_ret_code {
*/
enum lttcomm_agent_ret_code {
+ /* Success, assumed to be the first entry */
AGENT_RET_CODE_SUCCESS = 1,
AGENT_RET_CODE_SUCCESS = 1,
+ /* Invalid command */
AGENT_RET_CODE_INVALID = 2,
AGENT_RET_CODE_INVALID = 2,
+ /* Unknown logger name */
AGENT_RET_CODE_UNKNOWN_NAME = 3,
AGENT_RET_CODE_NR,
};
AGENT_RET_CODE_UNKNOWN_NAME = 3,
AGENT_RET_CODE_NR,
};
@@
-56,7
+58,7
@@
struct lttcomm_agent_hdr {
* Enable event command payload.
*/
struct lttcomm_agent_enable {
* Enable event command payload.
*/
struct lttcomm_agent_enable {
- uint32_t loglevel;
+ uint32_t loglevel
_value
;
uint32_t loglevel_type;
char name[LTTNG_SYMBOL_NAME_LEN];
} LTTNG_PACKED;
uint32_t loglevel_type;
char name[LTTNG_SYMBOL_NAME_LEN];
} LTTNG_PACKED;
@@
-69,7
+71,7
@@
struct lttcomm_agent_disable {
} LTTNG_PACKED;
/*
} LTTNG_PACKED;
/*
- * Generic reply coming from the
Java A
gent.
+ * Generic reply coming from the
a
gent.
*/
struct lttcomm_agent_generic_reply {
uint32_t ret_code;
*/
struct lttcomm_agent_generic_reply {
uint32_t ret_code;
@@
-84,7
+86,7
@@
struct lttcomm_agent_list_reply_hdr {
} LTTNG_PACKED;
/*
} LTTNG_PACKED;
/*
- * List command reply payload coming from the
Java A
gent.
+ * List command reply payload coming from the
a
gent.
*/
struct lttcomm_agent_list_reply {
uint32_t nb_event;
*/
struct lttcomm_agent_list_reply {
uint32_t nb_event;
This page took
0.025808 seconds
and
4
git commands to generate.