summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 03:34:35 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 19:43:35 +0300
commite7ff8920e62f0188e77b1dc5dc5d9a7322c342d7 (patch)
tree92046f32304382568f4cbcea11629bdc0e3242d7 /tools/perf/builtin-inject.c
parente8b3ae40151e94e30a82c2cf8efa5ab4f99c8abf (diff)
downloadlinux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.tar.xz
perf tools: Use just forward declarations for struct thread where possible
Removing various instances of unnecessary includes, reducing the maze of header dependencies. Link: http://lkml.kernel.org/n/tip-hwu6eyuok9pc57alookyzmsf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-inject.c')
-rw-r--r--tools/perf/builtin-inject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c
index 8bd791cca008..ea8db38eedd1 100644
--- a/tools/perf/builtin-inject.c
+++ b/tools/perf/builtin-inject.c
@@ -18,6 +18,7 @@
#include "util/data.h"
#include "util/auxtrace.h"
#include "util/jit.h"
+#include "util/thread.h"
#include <subcmd/parse-options.h>