aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 16:10:08 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-26 10:58:29 -0400
commit97b9d866a66cf9884cea623cde3300073815873d (patch)
tree8304e2cfb00015e628a7627dd70f2cad6499a4c6 /tools/perf/util/annotate.c
parent125009026bfc9ec929975d35344bf69d2c636e95 (diff)
perf srcline: Add missing srcline.h header to files needing its defs
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>
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r--tools/perf/util/annotate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index e0518dc4c4d2..3bd1691f0be7 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -22,6 +22,7 @@
22#include "cache.h" 22#include "cache.h"
23#include "map.h" 23#include "map.h"
24#include "symbol.h" 24#include "symbol.h"
25#include "srcline.h"
25#include "units.h" 26#include "units.h"
26#include "debug.h" 27#include "debug.h"
27#include "annotate.h" 28#include "annotate.h"
@@ -37,6 +38,7 @@
37#include <linux/kernel.h> 38#include <linux/kernel.h>
38#include <linux/string.h> 39#include <linux/string.h>
39#include <bpf/libbpf.h> 40#include <bpf/libbpf.h>
41#include <subcmd/parse-options.h>
40 42
41/* FIXME: For the HE_COLORSET */ 43/* FIXME: For the HE_COLORSET */
42#include "ui/browser.h" 44#include "ui/browser.h"