Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
int lttctl_set_channel_enable(const char *name, const char *channel,
int enable)
{
int lttctl_set_channel_enable(const char *name, const char *channel,
int enable)
{
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's subbuf size failed\n");
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's subbuf size failed\n");
}
int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
}
int lttctl_set_channel_subbuf_size(const char *name, const char *channel,
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's switch timer failed\n");
ret = lttctl_sendop(ctlfname, opstr);
if (ret)
fprintf(stderr, "Set channel's switch timer failed\n");
}
int lttctl_set_channel_switch_timer(const char *name, const char *channel,
}
int lttctl_set_channel_switch_timer(const char *name, const char *channel,