Commit 41f95331 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar

perf_counter: Split the mmap control page in two parts

Since there are two distinct sections to the control page,
move them apart so that possible extentions don't overlap.
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 7c6a1c65
...@@ -233,6 +233,12 @@ struct perf_counter_mmap_page { ...@@ -233,6 +233,12 @@ struct perf_counter_mmap_page {
__u32 index; /* hardware counter identifier */ __u32 index; /* hardware counter identifier */
__s64 offset; /* add to hardware counter value */ __s64 offset; /* add to hardware counter value */
/*
* Hole for extension of the self monitor capabilities
*/
__u64 __reserved[125]; /* align to 1k */
/* /*
* Control data for the mmap() data buffer. * Control data for the mmap() data buffer.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment