[PATCH v3 17/23] perf: Add rb_{alloc,free}_kernel api

2014-08-10 Thread Alexander Shishkin
Events that generate AUX data can also be created by the kernel. In this case, some in-kernel infrastructure is needed to store and copy this data. This patch adds api for ring buffer (de-)allocation that can be used by the kernel code. Signed-off-by: Alexander Shishkin ---

[PATCH v3 17/23] perf: Add rb_{alloc,free}_kernel api

2014-08-10 Thread Alexander Shishkin
Events that generate AUX data can also be created by the kernel. In this case, some in-kernel infrastructure is needed to store and copy this data. This patch adds api for ring buffer (de-)allocation that can be used by the kernel code. Signed-off-by: Alexander Shishkin