projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add enable kernel channel support
[lttng-tools.git]
/
liblttngctl
/
liblttngctl.c
diff --git
a/liblttngctl/liblttngctl.c
b/liblttngctl/liblttngctl.c
index 7a480d2c711504c635d8200f39c971cfc33df4fb..7ddbc3099d102de20d83e87f0990c5ab65e830c5 100644
(file)
--- a/
liblttngctl/liblttngctl.c
+++ b/
liblttngctl/liblttngctl.c
@@
-306,6
+306,7
@@
int lttng_kernel_disable_event(char *name, char *channel_name)
*/
int lttng_kernel_enable_channel(char *name)
{
+ strncpy(lsm.u.enable.channel_name, name, NAME_MAX);
return ask_sessiond(LTTNG_KERNEL_ENABLE_CHANNEL, NULL);
}
This page took
0.024857 seconds
and
5
git commands to generate.