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>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user