summaryrefslogtreecommitdiff
path: root/tools/perf/util/parse-regs-options.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-07-04 17:21:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-09 16:13:22 +0300
commit215a0d305c5651928eb67c96bcedd0a6c297dfce (patch)
treece435a95163b78acc5290ed272311fe261cd240c /tools/perf/util/parse-regs-options.c
parentfc50e0ba9bcac92ff177ff3ac64644108b6d8dd8 (diff)
downloadlinux-215a0d305c5651928eb67c96bcedd0a6c297dfce.tar.xz
perf tools: Add missing headers, mostly stdlib.h
Part of the erosion of util/util.h, that will lose its include stdlib.h, we need to add it to places where it is needed but was getting it indirectly. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-1imnqezw99ahc07fjeb51qby@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-regs-options.c')
-rw-r--r--tools/perf/util/parse-regs-options.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/perf/util/parse-regs-options.c b/tools/perf/util/parse-regs-options.c
index 08581e276225..ef46c2848808 100644
--- a/tools/perf/util/parse-regs-options.c
+++ b/tools/perf/util/parse-regs-options.c
@@ -1,8 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
-#include "perf.h"
-#include "util/util.h"
+#include <stdbool.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <string.h>
+#include <stdio.h>
#include "util/debug.h"
#include <subcmd/parse-options.h>
+#include "util/perf_regs.h"
#include "util/parse-regs-options.h"
static int