From: Jérémie Galarneau Date: Fri, 20 Mar 2020 21:17:34 +0000 (-0400) Subject: lttng: list: print `per-user` and `per-process` buffer types X-Git-Tag: v2.13.0-rc1~717 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=74707e6e330aa611619319aeebc679ba9e7a8cf3;p=lttng-tools.git lttng: list: print `per-user` and `per-process` buffer types 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 --- 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");