summaryrefslogtreecommitdiff
path: root/tools/perf/util/build-id.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-18 16:57:25 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 19:01:52 +0300
commit8ec20b176c4be72d067fa18e33a4f156d1da9bc8 (patch)
treebe742e7a9d1e73f5452798d86b8cb14a3a01468d /tools/perf/util/build-id.c
parenta43783aeec5fac8ef372ff8c0a5bbb3056fc0604 (diff)
downloadlinux-8ec20b176c4be72d067fa18e33a4f156d1da9bc8.tar.xz
perf str{filter,list}: Disentangle headers
There are places where we just need a forward declaration, and others were we need to include strlist.h and/or strfilter.h, reducing the impact of changes in headers on the build time, do it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-zab42gbiki88y9k0csorxekb@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/build-id.c')
-rw-r--r--tools/perf/util/build-id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c
index 8d8ef1d31b1e..f9ccd053cdf6 100644
--- a/tools/perf/util/build-id.c
+++ b/tools/perf/util/build-id.c
@@ -19,6 +19,7 @@
#include "header.h"
#include "vdso.h"
#include "probe-file.h"
+#include "strlist.h"
#include "sane_ctype.h"