diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 15:56:40 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-29 17:38:32 -0300 |
commit | b42090256fba05dce1a0482a4ccd9bb6464cc499 (patch) | |
tree | a0831ca04882a8b63a1605175b5347a6d601be11 /tools/perf/util/metricgroup.c | |
parent | 0ac25fd0a04d8bd52ceac2476e71a4e497489987 (diff) | |
download | linux-b42090256fba05dce1a0482a4ccd9bb6464cc499.tar.gz linux-b42090256fba05dce1a0482a4ccd9bb6464cc499.tar.bz2 linux-b42090256fba05dce1a0482a4ccd9bb6464cc499.zip |
perf tools: Remove debug.h from header files not needing it
And fix the fallout, adding it to places that must have it since they
use its definitions.
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-1s3jel4i26chq2g0lydoz7i3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/metricgroup.c')
-rw-r--r-- | tools/perf/util/metricgroup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/metricgroup.c b/tools/perf/util/metricgroup.c index aaf55444f81b..33f5e2101874 100644 --- a/tools/perf/util/metricgroup.c +++ b/tools/perf/util/metricgroup.c @@ -6,6 +6,7 @@ /* Manage metrics and groups of metrics from JSON files */ #include "metricgroup.h" +#include "debug.h" #include "evlist.h" #include "evsel.h" #include "strbuf.h" @@ -18,6 +19,7 @@ #include "strlist.h" #include <assert.h> #include <linux/ctype.h> +#include <linux/string.h> #include <linux/zalloc.h> #include <subcmd/parse-options.h> |