perf/core: Export AUX buffer helpers to modules
authorWill Deacon <will.deacon@arm.com>
Tue, 16 Aug 2016 15:53:15 +0000 (16:53 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 18 Oct 2017 11:53:30 +0000 (12:53 +0100)
commitbc1d202023eb66f088f736ba423bee1cf135c720
tree98664ac30eeca124f3d0ff9d2f3d1ac896574f3f
parent5ffeb0501c6b36d080de78372fdb70b404b91e9d
perf/core: Export AUX buffer helpers to modules

Perf PMU drivers using AUX buffers cannot be built as modules unless
the AUX helpers are exported.

This patch exports perf_aux_output_{begin,end,skip} and perf_get_aux to
modules.

Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
kernel/events/ring_buffer.c