]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tools: Add include <linux/kernel.h> where ARRAY_SIZE() is used
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Apr 2017 14:39:06 +0000 (11:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:01:44 +0000 (13:01 -0300)
commit877a7a11050ee4d465364c57f8fbf78f6b1a2559
tree26997a41ae82b4404b5b2e9730f8ffcfae367f6e
parent8607c1ee734d12f62c6a46abef13a510e25a1839
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>
42 files changed:
tools/perf/bench/numa.c
tools/perf/builtin-help.c
tools/perf/builtin-kmem.c
tools/perf/builtin-kvm.c
tools/perf/builtin-lock.c
tools/perf/builtin-sched.c
tools/perf/builtin-script.c
tools/perf/builtin-timechart.c
tools/perf/builtin-trace.c
tools/perf/perf.c
tools/perf/tests/bpf.c
tools/perf/tests/builtin-test.c
tools/perf/tests/clang.c
tools/perf/tests/code-reading.c
tools/perf/tests/dso-data.c
tools/perf/tests/evsel-roundtrip-name.c
tools/perf/tests/hists_common.c
tools/perf/tests/hists_cumulate.c
tools/perf/tests/hists_filter.c
tools/perf/tests/hists_link.c
tools/perf/tests/hists_output.c
tools/perf/tests/is_printable_array.c
tools/perf/tests/mmap-basic.c
tools/perf/tests/parse-events.c
tools/perf/tests/parse-no-sample-id-all.c
tools/perf/tests/pmu.c
tools/perf/tests/sample-parsing.c
tools/perf/ui/browsers/annotate.c
tools/perf/ui/tui/setup.c
tools/perf/util/annotate.c
tools/perf/util/bpf-loader.c
tools/perf/util/data-convert-bt.c
tools/perf/util/dso.c
tools/perf/util/dwarf-regs.c
tools/perf/util/event.c
tools/perf/util/evlist.h
tools/perf/util/mem-events.c
tools/perf/util/perf-hooks.c
tools/perf/util/session.h
tools/perf/util/sort.c
tools/perf/util/symbol.c
tools/perf/util/thread.c