projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: rename `get_domain_str()` -> `lttng_domain_type_str()`
[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 7aba82c02d8b63ff9b66f835538faa9f2ecada76..f75c5feb0257bdccfaf1bfa9faad652d359b2ae9 100644
(file)
--- a/
src/bin/lttng/commands/disable_channels.c
+++ b/
src/bin/lttng/commands/disable_channels.c
@@
-16,6
+16,7
@@
#include <assert.h>
#include <common/mi-lttng.h>
#include <assert.h>
#include <common/mi-lttng.h>
+#include <lttng/domain-internal.h>
#include "../command.h"
#include "../command.h"
@@
-155,7
+156,8
@@
static int disable_channels(char *session_name)
} else {
MSG("%s channel %s disabled for session %s",
} else {
MSG("%s channel %s disabled for session %s",
- get_domain_str(dom.type), channel_name, session_name);
+ lttng_domain_type_str(dom.type),
+ channel_name, session_name);
enabled = 0;
success = 1;
}
enabled = 0;
success = 1;
}
@@
-228,7
+230,8
@@
int cmd_disable_channels(int argc, const char **argv)
}
}
}
}
- ret = print_missing_or_multiple_domains(opt_kernel + opt_userspace);
+ ret = print_missing_or_multiple_domains(
+ opt_kernel + opt_userspace, false);
if (ret) {
ret = CMD_ERROR;
goto end;
if (ret) {
ret = CMD_ERROR;
goto end;
This page took
0.023821 seconds
and
4
git commands to generate.