diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-22 11:14:55 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-25 15:12:09 +0100 |
commit | 68c0188ea77891266c048d0768250eba51441cb2 (patch) | |
tree | f6f27139d8c52444ca3f71577b2dc2df4a572a63 /tools/perf/util/dso.c | |
parent | d328e305ea1fe78f569a4ea2cacca7fa5beec06e (diff) | |
download | linux-68c0188ea77891266c048d0768250eba51441cb2.tar.gz linux-68c0188ea77891266c048d0768250eba51441cb2.tar.bz2 linux-68c0188ea77891266c048d0768250eba51441cb2.zip |
perf symbols: Remove some unnecessary includes from symbol.h
And fixup the fallout in places like annotation and jitdump that were
using things like dirname() but weren't including libgen.h, etc.
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-wrii9hy1a1wathc0398f9fgt@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/dso.c')
-rw-r--r-- | tools/perf/util/dso.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index 62c8cf622607..1b17f6de957d 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c @@ -8,6 +8,7 @@ #include <unistd.h> #include <errno.h> #include <fcntl.h> +#include <libgen.h> #include "compress.h" #include "path.h" #include "symbol.h" |