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
/
clear.cpp
diff --git
a/src/lib/lttng-ctl/clear.cpp
b/src/lib/lttng-ctl/clear.cpp
index 114758b0c8f3a38296600e9bba47d28929ccc0f2..b205ac8f2b8af75e8584d5ba3b378f9c9f2562c9 100644
(file)
--- a/
src/lib/lttng-ctl/clear.cpp
+++ b/
src/lib/lttng-ctl/clear.cpp
@@
-64,7
+64,7
@@
static
struct lttng_clear_handle *lttng_clear_handle_create(int sessiond_socket)
{
int ret;
struct lttng_clear_handle *lttng_clear_handle_create(int sessiond_socket)
{
int ret;
- struct lttng_clear_handle *handle =
(lttng_clear_handle *) zmalloc(sizeof(*handle)
);
+ struct lttng_clear_handle *handle =
zmalloc<lttng_clear_handle>(
);
if (!handle) {
goto end;
if (!handle) {
goto end;
@@
-282,7
+282,7
@@
enum lttng_error_code lttng_clear_session(const char *session_name,
enum lttng_error_code ret_code = LTTNG_OK;
struct lttng_clear_handle *handle = NULL;
struct lttcomm_session_msg lsm = {
enum lttng_error_code ret_code = LTTNG_OK;
struct lttng_clear_handle *handle = NULL;
struct lttcomm_session_msg lsm = {
- .cmd_type = LTT
NG
_CLEAR_SESSION,
+ .cmd_type = LTT
COMM_SESSIOND_COMMAND
_CLEAR_SESSION,
.session = {},
.domain = {},
.u = {},
.session = {},
.domain = {},
.u = {},
This page took
0.023744 seconds
and
4
git commands to generate.