summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLuis Claudio R. Goncalves <lgoncalv@redhat.com>2024-06-10 16:25:28 +0300
committerDaniel Bristot de Oliveira <bristot@kernel.org>2024-06-21 11:17:51 +0300
commit59237b0c962e8a4e03a7666b8c1d047c262f236e (patch)
tree197a3dba47be8cd8e27a08fd87dac482f2b74a9e /tools/perf/scripts/python/export-to-sqlite.py
parent6ba59ff4227927d3a8530fc2973b80e94b54d58f (diff)
downloadlinux-59237b0c962e8a4e03a7666b8c1d047c262f236e.tar.xz
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions