]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtla: use the definition for stdout fd when calling isatty()
authorEder Zulian <ezulian@redhat.com>
Tue, 13 Aug 2024 14:23:38 +0000 (16:23 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 4 Oct 2024 17:42:22 +0000 (13:42 -0400)
commit3a546a67a4cc251b4ec2ba02d8f7aacf0bfc3148
tree35e4ebeca2a38a89cd878499f0ef38a8ceab8910
parent9852d85ec9d492ebef56dc5f229416c925758edc
rtla: use the definition for stdout fd when calling isatty()

Use the STDOUT_FILENO definition when testing whether the standard
output file descriptor refers to a terminal (for better redability).

Link: https://lore.kernel.org/20240813142338.376039-1-ezulian@redhat.com
Signed-off-by: Eder Zulian <ezulian@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
tools/tracing/rtla/src/osnoise_top.c
tools/tracing/rtla/src/timerlat_top.c