perf tools: Remove needless thread.h include directives
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Aug 2019 15:13:45 +0000 (12:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 1 Sep 2019 01:24:10 +0000 (22:24 -0300)
Now that thread.h isn't included by any other header, we can check where
it is really needed, i.e. we can remove it and be sure that it isn't
being obtained 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-kh333ivjbw05wsggckpziu86@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-annotate.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/tests/hists_filter.c
tools/perf/tests/hists_link.c
tools/perf/util/arm-spe.c
tools/perf/util/probe-event.c
tools/perf/util/probe-file.c
tools/perf/util/s390-cpumsf.c

index 738471a0a54991b515aff83916c71d2afeff36fa..7135b77a18e7fe4afc23af967ac47a27111aecec 100644 (file)
@@ -24,7 +24,6 @@
 #include "util/event.h"
 #include <subcmd/parse-options.h>
 #include "util/parse-events.h"
-#include "util/thread.h"
 #include "util/sort.h"
 #include "util/hist.h"
 #include "util/dso.h"
index fa4212dac9bb111481cd6eba26a5943bbe2bdc78..7e17bf9f700ad44608ec5b45cec16bff5c4155a3 100644 (file)
@@ -54,7 +54,6 @@
 #include "util/stat.h"
 #include "util/header.h"
 #include "util/cpumap.h"
-#include "util/thread.h"
 #include "util/thread_map.h"
 #include "util/counts.h"
 #include "util/group.h"
index 0f0d96262d147db7d524bfb7981b44abf5805728..eb941213fa0cc5c9f5c34f2dd93c8502b14a196e 100644 (file)
@@ -32,7 +32,6 @@
 #include "util/map.h"
 #include "util/session.h"
 #include "util/symbol.h"
-#include "util/thread.h"
 #include "util/thread_map.h"
 #include "util/top.h"
 #include "util/util.h"
index 41dede2f40d8b94eabeef0a4355d806853cbb73f..618b51ffcc0143a72c54b2a21c719ebec1353e2b 100644 (file)
@@ -7,7 +7,6 @@
 #include "util/event.h"
 #include "util/evlist.h"
 #include "util/machine.h"
-#include "util/thread.h"
 #include "util/parse-events.h"
 #include "tests/tests.h"
 #include "tests/hists_common.h"
index 012fe8ac0b249f53440dc5235fc43a8b4aa4dec3..8be4d0b61e3a4d0d5306092e27a22aff066ebcde 100644 (file)
@@ -6,7 +6,6 @@
 #include "evsel.h"
 #include "evlist.h"
 #include "machine.h"
-#include "thread.h"
 #include "parse-events.h"
 #include "hists_common.h"
 #include <errno.h>
index d7c3fbb3694f08cf70c196bfd374744051595f9c..6bee59946c4f7bbb460ee837c50ea2fa1b16c3d1 100644 (file)
@@ -20,7 +20,6 @@
 #include "evlist.h"
 #include "machine.h"
 #include "session.h"
-#include "thread.h"
 #include "debug.h"
 #include "auxtrace.h"
 #include "arm-spe.h"
index 5d12a78c8ac81e48cc40ef774166de6851e0febf..e90faa6bb5aa2a5c76534d0b8b328a66d0a7e6ad 100644 (file)
@@ -31,7 +31,6 @@
 #include "map.h"
 #include "map_groups.h"
 #include "symbol.h"
-#include "thread.h"
 #include <api/fs/fs.h>
 #include "trace-event.h"       /* For __maybe_unused */
 #include "probe-event.h"
index 10d2ab179c7180387cdac097ac190d1f4b4c061d..adc949e8314f25e43deb6f22df6011a76fade0e0 100644 (file)
@@ -20,7 +20,6 @@
 #include "cache.h"
 #include "color.h"
 #include "symbol.h"
-#include "thread.h"
 #include <api/fs/tracing_path.h>
 #include "probe-event.h"
 #include "probe-file.h"
index 2ba4baa2c52f8405865ee5302be71bde120004ec..24a99909d8b3f81ce6e860596e2e63bb00fe20e5 100644 (file)
 #include "machine.h"
 #include "session.h"
 #include "tool.h"
-#include "thread.h"
 #include "debug.h"
 #include "auxtrace.h"
 #include "s390-cpumsf.h"