diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-17 14:39:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-19 16:01:44 +0000 |
| commit | 877a7a11050ee4d465364c57f8fbf78f6b1a2559 (patch) | |
| tree | 26997a41ae82b4404b5b2e9730f8ffcfae367f6e /tools/perf/ui/browsers/annotate.c | |
| parent | tools include: Move ARRAY_SIZE() to linux/kernel.h (diff) | |
| download | kernel-877a7a11050ee4d465364c57f8fbf78f6b1a2559.tar.gz kernel-877a7a11050ee4d465364c57f8fbf78f6b1a2559.zip | |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
| -rw-r--r-- | tools/perf/ui/browsers/annotate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index ba36aac340bc..9adce112d255 100644 --- a/tools/perf/ui/browsers/annotate.c +++ b/tools/perf/ui/browsers/annotate.c @@ -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; |
