projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond-comm: prefix lttcomm_sessiond_command entries
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
destruction-handle.cpp
diff --git
a/src/lib/lttng-ctl/destruction-handle.cpp
b/src/lib/lttng-ctl/destruction-handle.cpp
index d937b2c73c3693a26dadb38962363b34323625d0..04cbd92a59c4aa71862b6398abc3de52210e13ca 100644
(file)
--- a/
src/lib/lttng-ctl/destruction-handle.cpp
+++ b/
src/lib/lttng-ctl/destruction-handle.cpp
@@
-69,7
+69,7
@@
struct lttng_destruction_handle *lttng_destruction_handle_create(
int sessiond_socket)
{
int ret;
int sessiond_socket)
{
int ret;
- struct lttng_destruction_handle *handle =
(lttng_destruction_handle *) zmalloc(sizeof(*handle)
);
+ struct lttng_destruction_handle *handle =
zmalloc<lttng_destruction_handle>(
);
if (!handle) {
goto end;
if (!handle) {
goto end;
@@
-390,7
+390,7
@@
enum lttng_error_code lttng_destroy_session_ext(const char *session_name,
ssize_t comm_ret;
enum lttng_error_code ret_code = LTTNG_OK;
struct lttcomm_session_msg lsm = {
ssize_t comm_ret;
enum lttng_error_code ret_code = LTTNG_OK;
struct lttcomm_session_msg lsm = {
- .cmd_type = LTT
NG
_DESTROY_SESSION,
+ .cmd_type = LTT
COMM_SESSIOND_COMMAND
_DESTROY_SESSION,
.session = {},
.domain = {},
.u = {},
.session = {},
.domain = {},
.u = {},
This page took
0.023065 seconds
and
4
git commands to generate.