commit | 7f7c536f23e6afaa5d5d4b0e0958b0be8922491f | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <[email protected]> | Thu Jul 04 11:32:27 2019 -0300 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Tue Jul 09 10:13:26 2019 -0300 |
tree | 961ca1cb94ac6ea74be5859ca6c9881b260ea479 | |
parent | e5653eb82ddc71ad8ffcbb3c74dd6f0c0230ab4c [diff] [blame] |
tools lib: Adopt zalloc()/zfree() from tools/perf Eroding a bit more the tools/perf/util/util.h hodpodge header. 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]>
diff --git a/tools/perf/util/trace-event-scripting.c b/tools/perf/util/trace-event-scripting.c index b023db1..ba58f69 100644 --- a/tools/perf/util/trace-event-scripting.c +++ b/tools/perf/util/trace-event-scripting.c
@@ -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;