Home
last modified time | relevance | path

Searched refs:stdout_is_tty (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
Dcolor_config.c12 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty) in perf_config_colorbool() argument
29 if (stdout_is_tty < 0) in perf_config_colorbool()
30 stdout_is_tty = isatty(1); in perf_config_colorbool()
31 if (stdout_is_tty || pager_in_use()) { in perf_config_colorbool()
Dcolor.h36 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty);