projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mi: mi backend + mi for command version
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
calibrate.c
diff --git
a/src/bin/lttng/commands/calibrate.c
b/src/bin/lttng/commands/calibrate.c
index 7014fdd58f069da617ccab739dcb76a6c79d08d3..7d4de2909cf0f3fc45c1234c52b1f09e7fb2ec3f 100644
(file)
--- a/
src/bin/lttng/commands/calibrate.c
+++ b/
src/bin/lttng/commands/calibrate.c
@@
-128,11
+128,18
@@
static int calibrate_lttng(void)
} else if (opt_userspace) {
dom.type = LTTNG_DOMAIN_UST;
} else {
} else if (opt_userspace) {
dom.type = LTTNG_DOMAIN_UST;
} else {
-
ERR("Please specify a tracer (-k/--kernel or -u/--userspace)"
);
+
print_missing_domain(
);
ret = CMD_ERROR;
goto error;
}
ret = CMD_ERROR;
goto error;
}
+ /* TODO: mi support */
+ if (lttng_opt_mi) {
+ ret = -LTTNG_ERR_MI_NOT_IMPLEMENTED;
+ ERR("mi option not supported");
+ goto error;
+ }
+
handle = lttng_create_handle(NULL, &dom);
if (handle == NULL) {
ret = CMD_ERROR;
handle = lttng_create_handle(NULL, &dom);
if (handle == NULL) {
ret = CMD_ERROR;
This page took
0.024944 seconds
and
5
git commands to generate.