int event_kernel_enable_all(struct ltt_kernel_session *ksession,
struct ltt_kernel_channel *kchan, int kernel_tracer_fd)
{
- int tp_ret, syscall_ret;
+ int tp_ret;
tp_ret = event_kernel_enable_all_tracepoints(ksession, kchan, kernel_tracer_fd);
if (tp_ret != LTTCOMM_OK) {
* tracepoints did not fail. Future work will allow us to send back
* multiple errors to the client in one API call.
*/
- syscall_ret = event_kernel_enable_all_syscalls(ksession, kchan,
- kernel_tracer_fd);
+ (void) event_kernel_enable_all_syscalls(ksession, kchan, kernel_tracer_fd);
end:
return tp_ret;
int event_ust_enable_all_tracepoints(struct ltt_ust_session *usess, int domain,
struct ltt_ust_channel *uchan)
{
- int ret, i;
- size_t size;
+ int ret, i, size;
struct lttng_ht_iter iter;
struct ltt_ust_event *uevent = NULL;
struct lttng_event *events = NULL;
int event_ust_disable_all_tracepoints(struct ltt_ust_session *usess, int domain,
struct ltt_ust_channel *uchan)
{
- int ret, i;
- size_t size;
+ int ret, i, size;
struct lttng_ht_iter iter;
struct ltt_ust_event *uevent = NULL;
struct lttng_event *events = NULL;