perf tools: Don't include terminal handling headers in util.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Apr 2017 14:08:10 +0000 (11:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:01:53 +0000 (13:01 -0300)
commitb0742e90f5ab904aa835350c28bcec48e9109379
tree32aac13c7004239579aea973b88d98a3e7e95cae
parent8ec20b176c4be72d067fa18e33a4f156d1da9bc8
perf tools: Don't include terminal handling headers in util.h

Continuing the disentanglement, mostly the TUI needs CTRL(c), that is
in sys/ttydefaults.h and term.c needs the termios headers.

And term.h needs to be added to a few places too.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-il19zna7qj9ytavdbwlipc7t@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c
tools/perf/builtin-top.c
tools/perf/ui/browsers/annotate.c
tools/perf/ui/browsers/header.c
tools/perf/ui/browsers/hists.c
tools/perf/util/parse-events.c
tools/perf/util/term.c
tools/perf/util/util.h