Skip to contentSkip to conversation

perf symbols: We need util.h in symbol-elf.c for zfree()

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 3, 2019 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  cf8b6970f4fc31898f3d9e25159aa57e235ca4d1
Gitweb:     https://git.kernel.org/tip/cf8b6970f4fc31898f3d9e25159aa57e235ca4d1
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Tue, 25 Jun 2019 18:15:46 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 25 Jun 2019 18:31:06 -0300

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.

---
 tools/perf/util/symbol-elf.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/util/symbol-elf.c +1 -0
index fdc5bd7dbb90..f04ef851ae86 100644
@@ -14,6 +14,7 @@
 #include "machine.h"
 #include "vdso.h"
 #include "debug.h"
+#include "util.h"
 #include "sane_ctype.h"
 #include <symbol/kallsyms.h>