Signed-off-by: David Goulet <david.goulet@polymtl.ca>
dom.attr.pid = opt_pid;
DBG("PID %d set to lttng handle", opt_pid);
} else {
dom.attr.pid = opt_pid;
DBG("PID %d set to lttng handle", opt_pid);
} else {
+ ERR("Please specify a tracer (--kernel or --userspace)");
ret = CMD_NOT_IMPLEMENTED;
goto error;
}
ret = CMD_NOT_IMPLEMENTED;
goto error;
}
if (handle == NULL) {
ret = -1;
goto error;
if (handle == NULL) {
ret = -1;
goto error;
- } else {
- ERR("Please specify a tracer (--kernel or --userspace)");
- goto error;
}
/* Strip channel list (format: chan1,chan2,...) */
}
/* Strip channel list (format: chan1,chan2,...) */