projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix missing channel name copy for auto channel creation
[lttng-tools.git]
/
lttng-sessiond
/
main.c
diff --git
a/lttng-sessiond/main.c
b/lttng-sessiond/main.c
index e079afb7dc3bd8fad4def6c0729a29c41af2482e..4bb7240378161540cb4573e4a3fc91e076dbdbae 100644
(file)
--- a/
lttng-sessiond/main.c
+++ b/
lttng-sessiond/main.c
@@
-2445,6
+2445,7
@@
static int cmd_enable_event(struct ltt_session *session, int domain,
ret = LTTCOMM_FATAL;
goto error;
}
ret = LTTCOMM_FATAL;
goto error;
}
+ snprintf(attr->name, NAME_MAX, "%s", channel_name);
/* Use the internal command enable channel */
ret = cmd_enable_channel(session, domain, attr);
/* Use the internal command enable channel */
ret = cmd_enable_channel(session, domain, attr);
This page took
0.023805 seconds
and
4
git commands to generate.