perf tools: Add the right header to obtain PERF_ALIGN()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Apr 2017 00:33:07 +0000 (21:33 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Apr 2017 16:43:34 +0000 (13:43 -0300)
commite8b3ae40151e94e30a82c2cf8efa5ab4f99c8abf
treece477081642e687ae97604c984455c1c34ead1ef
parent4208735d8de58f1cbc2e0009d87514ce06681e5a
perf tools: Add the right header to obtain PERF_ALIGN()

The util/event.h header needs PERF_ALIGN(), but wasn't including
linux/kernel.h, where it is defined, instead it was getting it by
luck by including map.h, which it doesn't need at all.

Fix it by including the right header.

Link: http://lkml.kernel.org/n/tip-nf3t9blzm5ncoxsczi8oy9mx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.h