perf tools: Add include <linux/kernel.h> where ARRAY_SIZE() is used
To pave the way for further cleanups where linux/kernel.h may stop being included in some header. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-qqxan6tfsl6qx3l0v3nwgjvk@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "../../util/evsel.h"
|
||||
#include "../../util/config.h"
|
||||
#include <pthread.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
struct disasm_line_samples {
|
||||
double percent;
|
||||
|
Reference in New Issue
Block a user