projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't spawn relayd if URL is provided
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
disable_channels.c
diff --git
a/src/bin/lttng/commands/disable_channels.c
b/src/bin/lttng/commands/disable_channels.c
index 50b132eeba7607b8915d1a872be32a51f81c29e9..1aa3916aecb116a0122b50b2128b8111acc093ae 100644
(file)
--- a/
src/bin/lttng/commands/disable_channels.c
+++ b/
src/bin/lttng/commands/disable_channels.c
@@
-93,7
+93,7
@@
static int disable_channels(char *session_name)
} 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;
}
@@
-116,7
+116,7
@@
static int disable_channels(char *session_name)
warn = 1;
} else {
MSG("%s channel %s disabled for session %s",
warn = 1;
} else {
MSG("%s channel %s disabled for session %s",
-
opt_kernel ? "Kernel" : "UST"
, channel_name, session_name);
+
get_domain_str(dom.type)
, channel_name, session_name);
}
/* Next channel */
}
/* Next channel */
This page took
0.023148 seconds
and
4
git commands to generate.