perf tools: Remove needless thread.h include directives
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 4becb2395f9166b11d68817ed4af8fc06b840908 Gitweb: https://git.kernel.org/tip/4becb2395f9166b11d68817ed4af8fc06b840908 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 30 Aug 2019 12:13:45 -03:00 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitterDate: Sat, 31 Aug 2019 22:24:10 -03:00
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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-annotate.c | 1 - tools/perf/builtin-stat.c | 1 - tools/perf/builtin-top.c | 1 - tools/perf/tests/hists_filter.c | 1 - tools/perf/tests/hists_link.c | 1 - tools/perf/util/arm-spe.c | 1 - tools/perf/util/probe-event.c | 1 - tools/perf/util/probe-file.c | 1 - tools/perf/util/s390-cpumsf.c | 1 - 9 files changed, 9 deletions(-)
tools/perf/builtin-annotate.c +0 -1
@@ -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"
tools/perf/builtin-stat.c +0 -1
@@ -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"
tools/perf/builtin-top.c +0 -1
@@ -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"
tools/perf/tests/hists_filter.c +0 -1
@@ -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"
tools/perf/tests/hists_link.c +0 -1
@@ -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>
tools/perf/util/arm-spe.c +0 -1
@@ -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"
tools/perf/util/probe-event.c +0 -1
@@ -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"
tools/perf/util/probe-file.c +0 -1
@@ -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"
tools/perf/util/s390-cpumsf.c +0 -1
@@ -158,7 +158,6 @@#include "machine.h" #include "session.h" #include "tool.h" -#include "thread.h" #include "debug.h" #include "auxtrace.h" #include "s390-cpumsf.h"