From: Jérémie Galarneau Date: Fri, 20 Mar 2020 21:27:00 +0000 (-0400) Subject: lttng: list: replace domain headers with the official names X-Git-Tag: v2.13.0-rc1~716 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=ac41e67e39946acd97752ce52b964976890c5e87 lttng: list: replace domain headers with the official names The lttng-list command uses the following domain headers when printing domain listings: - `Kernel` - `UST global` - `JUL (Java Util Logging)` - `LOG4j (Logging for Java)` - `Python (logging)` Those don't match the official project names and/or names used in the LTTng online documentation. They are replaced by: - `Linux kernel` - `User space` - `java.util.logging (JUL)` - `log4j` - `Python logging` Signed-off-by: Jérémie Galarneau Change-Id: I549b309eebf0d00dfaacbed00e263f4e5e3d718b --- diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index baf26fb5e..334d4daf1 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -2344,22 +2344,22 @@ int cmd_list(int argc, const char **argv) for (i = 0; i < nb_domain; i++) { switch (domains[i].type) { case LTTNG_DOMAIN_KERNEL: - MSG("=== Domain: Kernel ===\n"); + MSG("=== Domain: Linux kernel ===\n"); break; case LTTNG_DOMAIN_UST: - MSG("=== Domain: UST global ===\n"); + MSG("=== Domain: User space ===\n"); MSG("Buffering scheme: %s\n", domains[i].buf_type == LTTNG_BUFFER_PER_PID ? "per-process" : "per-user"); break; case LTTNG_DOMAIN_JUL: - MSG("=== Domain: JUL (Java Util Logging) ===\n"); + MSG("=== Domain: java.util.logging (JUL) ===\n"); break; case LTTNG_DOMAIN_LOG4J: - MSG("=== Domain: LOG4j (Logging for Java) ===\n"); + MSG("=== Domain: log4j ===\n"); break; case LTTNG_DOMAIN_PYTHON: - MSG("=== Domain: Python (logging) ===\n"); + MSG("=== Domain: Python logging ===\n"); break; default: MSG("=== Domain: Unimplemented ===\n");