From: Peter Zijlstra Date: Tue, 23 Jun 2009 15:55:18 +0000 (+0200) Subject: perf_counter: Split the mmap control page in two parts X-Git-Tag: v2.6.31-rc2~30^2~25 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=41f95331b972a039f519ae0c70f051b7121f7346;p=~shefty%2Frdma-dev.git 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 LKML-Reference: Signed-off-by: Ingo Molnar --- diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index e7213e46cf9..489d5cbfbcc 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h @@ -233,6 +233,12 @@ struct perf_counter_mmap_page { __u32 index; /* hardware counter identifier */ __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. *