diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 16:10:08 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-26 10:58:29 -0400 |
commit | 97b9d866a66cf9884cea623cde3300073815873d (patch) | |
tree | 8304e2cfb00015e628a7627dd70f2cad6499a4c6 /tools/perf/util/sort.c | |
parent | 125009026bfc9ec929975d35344bf69d2c636e95 (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/sort.c')
-rw-r--r-- | tools/perf/util/sort.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index 904ff4b2f57f..c522bdde3f71 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include "thread.h" | 13 | #include "thread.h" |
14 | #include "evsel.h" | 14 | #include "evsel.h" |
15 | #include "evlist.h" | 15 | #include "evlist.h" |
16 | #include "srcline.h" | ||
16 | #include "strlist.h" | 17 | #include "strlist.h" |
17 | #include "strbuf.h" | 18 | #include "strbuf.h" |
18 | #include <traceevent/event-parse.h> | 19 | #include <traceevent/event-parse.h> |