projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename data structure for naming consistency
[lttng-tools.git]
/
liblttsessiondcomm
/
liblttsessiondcomm.h
diff --git
a/liblttsessiondcomm/liblttsessiondcomm.h
b/liblttsessiondcomm/liblttsessiondcomm.h
index e51b813175203516a5f73b309bf7949246279a97..5cac0b7982ecef86c52dde2ca69b9ef280ee9e55 100644
(file)
--- a/
liblttsessiondcomm/liblttsessiondcomm.h
+++ b/
liblttsessiondcomm/liblttsessiondcomm.h
@@
-45,7
+45,7
@@
*/
#define LTTCOMM_ERR_INDEX(code) (code - LTTCOMM_OK)
*/
#define LTTCOMM_ERR_INDEX(code) (code - LTTCOMM_OK)
-enum lttcomm_
command_type
{
+enum lttcomm_
sessiond_command
{
LTTNG_CREATE_SESSION,
LTTNG_DESTROY_SESSION,
LTTNG_FORCE_SUBBUF_SWITCH,
LTTNG_CREATE_SESSION,
LTTNG_DESTROY_SESSION,
LTTNG_FORCE_SUBBUF_SWITCH,
@@
-113,7
+113,7
@@
enum lttcomm_kconsumerd_fd_state {
*/
struct lttcomm_session_msg {
/* Common data to almost all command */
*/
struct lttcomm_session_msg {
/* Common data to almost all command */
- enum lttcomm_
command_type
cmd_type;
+ enum lttcomm_
sessiond_command
cmd_type;
uuid_t session_id;
char trace_name[NAME_MAX];
char session_name[NAME_MAX];
uuid_t session_id;
char trace_name[NAME_MAX];
char session_name[NAME_MAX];
@@
-151,13
+151,13
@@
struct lttcomm_session_msg {
* the header of the transmission. NEVER put variable
* size data in here.
*/
* the header of the transmission. NEVER put variable
* size data in here.
*/
-struct lttcomm_lttng_
msg
{
- enum lttcomm_
command_type
cmd_type;
+struct lttcomm_lttng_
header
{
+ enum lttcomm_
sessiond_command
cmd_type;
enum lttcomm_return_code ret_code;
uuid_t session_id;
pid_t pid;
char trace_name[NAME_MAX];
enum lttcomm_return_code ret_code;
uuid_t session_id;
pid_t pid;
char trace_name[NAME_MAX];
- unsigned int
size_payload
;
+ unsigned int
payload_size
;
};
/*
};
/*
This page took
0.024055 seconds
and
4
git commands to generate.