kernel/tools/perf/bench/mem-functions.c
.. .. @@ -8,8 +8,7 @@ 8 8 */ 9 9 10 10 #include "debug.h" 11 -#include "../perf.h"12 -#include "../util/util.h"11 +#include "../perf-sys.h"13 12 #include <subcmd/parse-options.h> 14 13 #include "../util/header.h" 15 14 #include "../util/cloexec.h" .. .. @@ -21,9 +20,11 @@ 21 20 #include <stdio.h> 22 21 #include <stdlib.h> 23 22 #include <string.h> 23 +#include <unistd.h>24 24 #include <sys/time.h> 25 25 #include <errno.h> 26 26 #include <linux/time64.h> 27 +#include <linux/zalloc.h>27 28 28 29 #define K 1024 29 30