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