projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add logging to the run_as worker
[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 55df5ed9f4561c69a62bcdbe693d94b538bbfe8b..4fbe3db7a34f25695388498fa687876e7187b74e 100644
(file)
--- a/
src/common/sessiond-comm/agent.h
+++ b/
src/common/sessiond-comm/agent.h
@@
-37,8
+37,11
@@
enum lttcomm_agent_command {
* Return codes from the agent.
*/
enum lttcomm_agent_ret_code {
* Return codes from the agent.
*/
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
+59,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;
This page took
0.041756 seconds
and
4
git commands to generate.