struct lttcomm_session_msg lsm;
struct lttng_uri *uris = NULL;
- if (name == NULL) {
+ if (name == NULL || timer_interval == 0) {
return -LTTNG_ERR_INVALID;
}
int lttng_list_tracker_pids(struct lttng_handle *handle,
int *_enabled, int32_t **_pids, size_t *_nr_pids)
{
- int ret, enabled = 1;
+ int ret;
+ int enabled = 1;
struct lttcomm_session_msg lsm;
size_t nr_pids;
int32_t *pids;