]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf srcline: Add missing srcline.h header to files needing its defs
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 20:10:08 +0000 (17:10 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Aug 2019 14:58:29 +0000 (11:58 -0300)
When srcline was introduced it wrongly added the include to util/sort.h,
even with that header not needing the definitions it provides, fix it by
adding it to the places that need it as a pre patch to remove srcline.h
from sort.h.

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-shuebppedtye8hrgxk15qe3x@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-diff.c
tools/perf/builtin-report.c
tools/perf/builtin-script.c
tools/perf/util/annotate.c
tools/perf/util/machine.c
tools/perf/util/sort.c

index e91c0d7981816b0b5169720341130643ab95a339..51c37e53b3d8b5f248e0f5fa5a0b32e94f8e76d5 100644 (file)
@@ -15,6 +15,7 @@
 #include "util/session.h"
 #include "util/tool.h"
 #include "util/sort.h"
+#include "util/srcline.h"
 #include "util/symbol.h"
 #include "util/data.h"
 #include "util/config.h"
@@ -22,6 +23,7 @@
 #include "util/annotate.h"
 #include "util/map.h"
 #include <linux/zalloc.h>
+#include <subcmd/parse-options.h>
 
 #include <errno.h>
 #include <inttypes.h>
index 79dfb1139f949ee0c6d5b7cb8dfc2096b1974258..318b0b95c14c7d83becf4e6526e78780dd08e914 100644 (file)
@@ -28,6 +28,7 @@
 #include "util/evswitch.h"
 #include "util/header.h"
 #include "util/session.h"
+#include "util/srcline.h"
 #include "util/tool.h"
 
 #include <subcmd/parse-options.h>
index ee05621d3bd69697b1e97d3123a36379f40d48a4..6f389b33fbe5f9cd9da605fa13bdaf312ec7c663 100644 (file)
@@ -11,6 +11,7 @@
 #include "util/session.h"
 #include "util/tool.h"
 #include "util/map.h"
+#include "util/srcline.h"
 #include "util/symbol.h"
 #include "util/thread.h"
 #include "util/trace-event.h"
index e0518dc4c4d2bde347872bc1e7623c9524221a89..3bd1691f0be7ca056763d81853413e7dc8e70aff 100644 (file)
@@ -22,6 +22,7 @@
 #include "cache.h"
 #include "map.h"
 #include "symbol.h"
+#include "srcline.h"
 #include "units.h"
 #include "debug.h"
 #include "annotate.h"
@@ -37,6 +38,7 @@
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <bpf/libbpf.h>
+#include <subcmd/parse-options.h>
 
 /* FIXME: For the HE_COLORSET */
 #include "ui/browser.h"
index f7c1a7e6c4bac933a640a2a657d08e07cd4790ba..47430afd3c2d073d3bef1028d22a6f6eb5fa1724 100644 (file)
 #include "hist.h"
 #include "machine.h"
 #include "map.h"
+#include "srcline.h"
 #include "symbol.h"
 #include "sort.h"
 #include "strlist.h"
 #include "target.h"
 #include "thread.h"
+#include "util.h"
 #include "vdso.h"
 #include <stdbool.h>
 #include <sys/types.h>
index 904ff4b2f57f6da50ec53672b24f972db21d5518..c522bdde3f716c029467ea0febba5911f87cc64b 100644 (file)
@@ -13,6 +13,7 @@
 #include "thread.h"
 #include "evsel.h"
 #include "evlist.h"
+#include "srcline.h"
 #include "strlist.h"
 #include "strbuf.h"
 #include <traceevent/event-parse.h>