]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/perf.c
perf tools: Add include <linux/kernel.h> where ARRAY_SIZE() is used
[karo-tx-linux.git] / tools / perf / perf.c
index 9dc346f2b255ca08e4512545178c0e492138637e..07ee1352f4ed2fd5b64bf9cb1d593c51228ffed5 100644 (file)
@@ -22,6 +22,7 @@
 #include <pthread.h>
 #include <stdlib.h>
 #include <time.h>
+#include <linux/kernel.h>
 
 const char perf_usage_string[] =
        "perf [--version] [--help] [OPTIONS] COMMAND [ARGS]";