aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 489d5cbfbcca..bcbf1c43ed42 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -232,12 +232,14 @@ struct perf_counter_mmap_page {
232 __u32 lock; /* seqlock for synchronization */ 232 __u32 lock; /* seqlock for synchronization */
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 __u64 time_enabled; /* time counter active */
236 __u64 time_running; /* time counter on cpu */
235 237
236 /* 238 /*
237 * Hole for extension of the self monitor capabilities 239 * Hole for extension of the self monitor capabilities
238 */ 240 */
239 241
240 __u64 __reserved[125]; /* align to 1k */ 242 __u64 __reserved[123]; /* align to 1k */
241 243
242 /* 244 /*
243 * Control data for the mmap() data buffer. 245 * Control data for the mmap() data buffer.