Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

-9
-1
tools/perf/builtin-annotate.c
··· 24 24 #include "util/event.h" 25 25 #include <subcmd/parse-options.h> 26 26 #include "util/parse-events.h" 27 - #include "util/thread.h" 28 27 #include "util/sort.h" 29 28 #include "util/hist.h" 30 29 #include "util/dso.h"
-1
tools/perf/builtin-stat.c
··· 54 54 #include "util/stat.h" 55 55 #include "util/header.h" 56 56 #include "util/cpumap.h" 57 - #include "util/thread.h" 58 57 #include "util/thread_map.h" 59 58 #include "util/counts.h" 60 59 #include "util/group.h"
-1
tools/perf/builtin-top.c
··· 32 32 #include "util/map.h" 33 33 #include "util/session.h" 34 34 #include "util/symbol.h" 35 - #include "util/thread.h" 36 35 #include "util/thread_map.h" 37 36 #include "util/top.h" 38 37 #include "util/util.h"
-1
tools/perf/tests/hists_filter.c
··· 7 7 #include "util/event.h" 8 8 #include "util/evlist.h" 9 9 #include "util/machine.h" 10 - #include "util/thread.h" 11 10 #include "util/parse-events.h" 12 11 #include "tests/tests.h" 13 12 #include "tests/hists_common.h"
-1
tools/perf/tests/hists_link.c
··· 6 6 #include "evsel.h" 7 7 #include "evlist.h" 8 8 #include "machine.h" 9 - #include "thread.h" 10 9 #include "parse-events.h" 11 10 #include "hists_common.h" 12 11 #include <errno.h>
-1
tools/perf/util/arm-spe.c
··· 20 20 #include "evlist.h" 21 21 #include "machine.h" 22 22 #include "session.h" 23 - #include "thread.h" 24 23 #include "debug.h" 25 24 #include "auxtrace.h" 26 25 #include "arm-spe.h"
-1
tools/perf/util/probe-event.c
··· 31 31 #include "map.h" 32 32 #include "map_groups.h" 33 33 #include "symbol.h" 34 - #include "thread.h" 35 34 #include <api/fs/fs.h> 36 35 #include "trace-event.h" /* For __maybe_unused */ 37 36 #include "probe-event.h"
-1
tools/perf/util/probe-file.c
··· 20 20 #include "cache.h" 21 21 #include "color.h" 22 22 #include "symbol.h" 23 - #include "thread.h" 24 23 #include <api/fs/tracing_path.h> 25 24 #include "probe-event.h" 26 25 #include "probe-file.h"
-1
tools/perf/util/s390-cpumsf.c
··· 158 158 #include "machine.h" 159 159 #include "session.h" 160 160 #include "tool.h" 161 - #include "thread.h" 162 161 #include "debug.h" 163 162 #include "auxtrace.h" 164 163 #include "s390-cpumsf.h"