perf tools: Remove needless thread.h include directives

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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent df1a0a11
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "util/event.h" #include "util/event.h"
#include <subcmd/parse-options.h> #include <subcmd/parse-options.h>
#include "util/parse-events.h" #include "util/parse-events.h"
#include "util/thread.h"
#include "util/sort.h" #include "util/sort.h"
#include "util/hist.h" #include "util/hist.h"
#include "util/dso.h" #include "util/dso.h"
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
#include "util/stat.h" #include "util/stat.h"
#include "util/header.h" #include "util/header.h"
#include "util/cpumap.h" #include "util/cpumap.h"
#include "util/thread.h"
#include "util/thread_map.h" #include "util/thread_map.h"
#include "util/counts.h" #include "util/counts.h"
#include "util/group.h" #include "util/group.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "util/map.h" #include "util/map.h"
#include "util/session.h" #include "util/session.h"
#include "util/symbol.h" #include "util/symbol.h"
#include "util/thread.h"
#include "util/thread_map.h" #include "util/thread_map.h"
#include "util/top.h" #include "util/top.h"
#include "util/util.h" #include "util/util.h"
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include "util/event.h" #include "util/event.h"
#include "util/evlist.h" #include "util/evlist.h"
#include "util/machine.h" #include "util/machine.h"
#include "util/thread.h"
#include "util/parse-events.h" #include "util/parse-events.h"
#include "tests/tests.h" #include "tests/tests.h"
#include "tests/hists_common.h" #include "tests/hists_common.h"
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include "evsel.h" #include "evsel.h"
#include "evlist.h" #include "evlist.h"
#include "machine.h" #include "machine.h"
#include "thread.h"
#include "parse-events.h" #include "parse-events.h"
#include "hists_common.h" #include "hists_common.h"
#include <errno.h> #include <errno.h>
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "evlist.h" #include "evlist.h"
#include "machine.h" #include "machine.h"
#include "session.h" #include "session.h"
#include "thread.h"
#include "debug.h" #include "debug.h"
#include "auxtrace.h" #include "auxtrace.h"
#include "arm-spe.h" #include "arm-spe.h"
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include "map.h" #include "map.h"
#include "map_groups.h" #include "map_groups.h"
#include "symbol.h" #include "symbol.h"
#include "thread.h"
#include <api/fs/fs.h> #include <api/fs/fs.h>
#include "trace-event.h" /* For __maybe_unused */ #include "trace-event.h" /* For __maybe_unused */
#include "probe-event.h" #include "probe-event.h"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "cache.h" #include "cache.h"
#include "color.h" #include "color.h"
#include "symbol.h" #include "symbol.h"
#include "thread.h"
#include <api/fs/tracing_path.h> #include <api/fs/tracing_path.h>
#include "probe-event.h" #include "probe-event.h"
#include "probe-file.h" #include "probe-file.h"
......
...@@ -158,7 +158,6 @@ ...@@ -158,7 +158,6 @@
#include "machine.h" #include "machine.h"
#include "session.h" #include "session.h"
#include "tool.h" #include "tool.h"
#include "thread.h"
#include "debug.h" #include "debug.h"
#include "auxtrace.h" #include "auxtrace.h"
#include "s390-cpumsf.h" #include "s390-cpumsf.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment