From 74707e6e330aa611619319aeebc679ba9e7a8cf3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 20 Mar 2020 17:17:34 -0400 Subject: [PATCH] lttng: list: print `per-user` and `per-process` buffer types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The lttng-list command prints `per UID` and `per PID` for the buffer type which is inconsistent with the terms used in the documentation. Moreover, `Buffer type` is replaced by `Buffering scheme` for the same reason. Change the print-out to match the online documentation. Signed-off-by: Jérémie Galarneau Change-Id: Id20098386ec0369fae017d01786ecc13c78820c0 --- src/bin/lttng/commands/list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 51434a3eb..baf26fb5e 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -2348,9 +2348,9 @@ int cmd_list(int argc, const char **argv) break; case LTTNG_DOMAIN_UST: MSG("=== Domain: UST global ===\n"); - MSG("Buffer type: %s\n", + MSG("Buffering scheme: %s\n", domains[i].buf_type == - LTTNG_BUFFER_PER_PID ? "per PID" : "per UID"); + LTTNG_BUFFER_PER_PID ? "per-process" : "per-user"); break; case LTTNG_DOMAIN_JUL: MSG("=== Domain: JUL (Java Util Logging) ===\n"); -- 2.34.1