diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-01-22 13:14:55 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-01-25 14:12:09 +0000 |
| commit | 68c0188ea77891266c048d0768250eba51441cb2 (patch) | |
| tree | f6f27139d8c52444ca3f71577b2dc2df4a572a63 /tools/perf/util/annotate.c | |
| parent | perf symbols: Remove include map.h from dso.h (diff) | |
| download | kernel-68c0188ea77891266c048d0768250eba51441cb2.tar.gz kernel-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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
| -rw-r--r-- | tools/perf/util/annotate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 70de8f6b3aee..3d79add5f7ae 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -9,6 +9,7 @@ #include <errno.h> #include <inttypes.h> +#include <libgen.h> #include "util.h" #include "ui/ui.h" #include "sort.h" |
