dom.type = LTTNG_DOMAIN_UST;
} else {
ERR("Please specify a tracer (-k/--kernel or -u/--userspace)");
- ret = CMD_NOT_IMPLEMENTED;
+ ret = CMD_UNDEFINED;
goto error;
}
MSG("per-syscall selection not supported yet. Use \"-a\" "
"for all syscalls.");
default:
- ret = CMD_NOT_IMPLEMENTED;
+ ret = CMD_UNDEFINED;
goto error;
}
} else if (opt_userspace) { /* User-space tracer action */
#if 0
if (opt_cmd_name != NULL || opt_pid) {
MSG("Only supporting tracing all UST processes (-u) for now.");
- ret = CMD_NOT_IMPLEMENTED;
+ ret = CMD_UNDEFINED;
goto error;
}
#endif
case LTTNG_EVENT_FUNCTION_ENTRY:
case LTTNG_EVENT_SYSCALL:
default:
- ret = CMD_NOT_IMPLEMENTED;
+ ret = CMD_UNDEFINED;
goto error;
}
} else {