aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-23 11:55:18 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-25 15:39:05 -0400
commit41f95331b972a039f519ae0c70f051b7121f7346 (patch)
tree3feee1897eae84234102fb05a6e48031a2a66eb3 /include/linux/perf_counter.h
parent7c6a1c65bbd3be688e581511f45818663efc1877 (diff)
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: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index e7213e46cf9c..489d5cbfbcca 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -233,6 +233,12 @@ struct perf_counter_mmap_page {
233 __u32 index; /* hardware counter identifier */ 233 __u32 index; /* hardware counter identifier */
234 __s64 offset; /* add to hardware counter value */ 234 __s64 offset; /* add to hardware counter value */
235 235
236 /*
237 * Hole for extension of the self monitor capabilities
238 */
239
240 __u64 __reserved[125]; /* align to 1k */
241
236 /* 242 /*
237 * Control data for the mmap() data buffer. 243 * Control data for the mmap() data buffer.
238 * 244 *