summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/pager.c
diff options
context:
space:
mode:
authorJosh Poimboeuf2015-12-15 16:39:38 +0100
committerArnaldo Carvalho de Melo2015-12-17 18:27:10 +0100
commit2f4ce5ec1d447beb42143a9653716a2ab025161e (patch)
tree97c7c5342f217383a7fefc579ad16f8da62bb6a2 /tools/perf/util/pager.c
parentperf tools: Remove 'perf' from subcmd function and variable names (diff)
downloadkernel-qcow2-linux-2f4ce5ec1d447beb42143a9653716a2ab025161e.tar.gz
kernel-qcow2-linux-2f4ce5ec1d447beb42143a9653716a2ab025161e.tar.xz
kernel-qcow2-linux-2f4ce5ec1d447beb42143a9653716a2ab025161e.zip
perf tools: Finalize subcmd independence
For the files that will be moved to the subcmd library, remove all their perf-specific includes and duplicate any needed functionality. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/6e12946f0f26ce4d543d34db68d9dae3c8551cb9.1450193761.git.jpoimboe@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/pager.c')
-rw-r--r--tools/perf/util/pager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/perf/util/pager.c b/tools/perf/util/pager.c
index d5ef62eaa413..d50f3b58606b 100644
--- a/tools/perf/util/pager.c
+++ b/tools/perf/util/pager.c
@@ -1,4 +1,9 @@
-#include "cache.h"
+#include <sys/select.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <signal.h>
+#include "pager.h"
#include "run-command.h"
#include "sigchain.h"
#include "subcmd-config.h"