tools lib: Adopt zalloc()/zfree() from tools/perf
[platform/kernel/linux-starfive.git] / tools / perf / util / stat.c
index d91fe75..c967715 100644 (file)
@@ -6,6 +6,7 @@
 #include "evlist.h"
 #include "evsel.h"
 #include "thread_map.h"
+#include <linux/zalloc.h>
 
 void update_stats(struct stats *stats, u64 val)
 {