diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-08-11 04:50:02 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-08-13 10:14:22 -0400 |
commit | 9398c484f8abc8d287cb90f5a33dd43ac26f24ef (patch) | |
tree | d2c7eb0c70c3ffef204a8123cc88be2c41b51c24 /tools/perf/util/util.h | |
parent | ae256fa27118e54b0f093f0cfe2ada28f1704ef3 (diff) |
perf tools: Introduce set_term_quiet_input helper function
Adding set_term_quiet_input helper to set the terminal quiet, out from
'perf top', used in following patches in 'perf kvm'.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jean Pihet <jean.pihet@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1407747014-18394-9-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 03a1ea2266b8..d6a79b1fb28c 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -75,6 +75,7 @@ | |||
75 | #include <api/fs/debugfs.h> | 75 | #include <api/fs/debugfs.h> |
76 | #include <termios.h> | 76 | #include <termios.h> |
77 | #include <linux/bitops.h> | 77 | #include <linux/bitops.h> |
78 | #include <termios.h> | ||
78 | 79 | ||
79 | extern const char *graph_line; | 80 | extern const char *graph_line; |
80 | extern const char *graph_dotted_line; | 81 | extern const char *graph_dotted_line; |
@@ -308,6 +309,7 @@ extern unsigned int page_size; | |||
308 | extern int cacheline_size; | 309 | extern int cacheline_size; |
309 | 310 | ||
310 | void get_term_dimensions(struct winsize *ws); | 311 | void get_term_dimensions(struct winsize *ws); |
312 | void set_term_quiet_input(struct termios *old); | ||
311 | 313 | ||
312 | struct parse_tag { | 314 | struct parse_tag { |
313 | char tag; | 315 | char tag; |