tools lib: Adopt zalloc()/zfree() from tools/perf
[platform/kernel/linux-starfive.git] / tools / perf / util / trace-event-scripting.c
index b023db1..ba58f69 100644 (file)
@@ -12,8 +12,8 @@
 
 #include "../perf.h"
 #include "debug.h"
-#include "util.h"
 #include "trace-event.h"
+#include <linux/zalloc.h>
 
 struct scripting_context *scripting_context;