aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol-elf.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 18:15:46 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 18:31:06 -0300
commitcf8b6970f4fc31898f3d9e25159aa57e235ca4d1 (patch)
tree7e2bc81b684598b8e88ae165cbd4ba48db8f23b4 /tools/perf/util/symbol-elf.c
parentperf kallsyms: Adopt hex2u64 from tools/perf/util/util.h (diff)
downloadlinux-dev-cf8b6970f4fc31898f3d9e25159aa57e235ca4d1.tar.xz
linux-dev-cf8b6970f4fc31898f3d9e25159aa57e235ca4d1.zip
perf symbols: We need util.h in symbol-elf.c for zfree()
Continuing to untangle the headers, we're about to remove the old odd baggage that is tools/perf/util/include/linux/ctype.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-gapezcq3p8bzrsi96vdtq0o0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol-elf.c')
-rw-r--r--tools/perf/util/symbol-elf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index fdc5bd7dbb90..f04ef851ae86 100644
--- a/tools/perf/util/symbol-elf.c
+++ b/tools/perf/util/symbol-elf.c
@@ -14,6 +14,7 @@
#include "machine.h"
#include "vdso.h"
#include "debug.h"
+#include "util.h"
#include "sane_ctype.h"
#include <symbol/kallsyms.h>