diff options
author | Luis Claudio R. Goncalves <lgoncalv@redhat.com> | 2024-06-10 10:25:28 -0300 |
---|---|---|
committer | Daniel Bristot de Oliveira <bristot@kernel.org> | 2024-06-21 10:17:51 +0200 |
commit | 59237b0c962e8a4e03a7666b8c1d047c262f236e (patch) | |
tree | 197a3dba47be8cd8e27a08fd87dac482f2b74a9e /lib/crypto/mpi/mpi-inv.c | |
parent | 6ba59ff4227927d3a8530fc2973b80e94b54d58f (diff) |
rtla/osnoise: Use pretty formatting only on interactive tty
osnoise top performs background/font color formatting that could make
the text output confusing if not on a terminal. Use the changes from
commit f5c0cdad6684a ("rtla/timerlat: Use pretty formatting only on
interactive tty") as an inspiration to fix this problem.
Apply the formatting only if running on a tty, and not in quiet mode.
Link: https://lkml.kernel.org/r/Zmb-yP_3EDHliI8Z@uudg.org
Suggested-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Reviewed-by: John Kacur <jkacur@redhat.com>
Reviewed-by: Clark Williams <williams@redhat.com>
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions