History

Merge 3.12-rc3 into char-misc-next

We need/want the mei fixes in here so we can apply other updates that are depending on them.

Greg Kroah-Hartman committed 13 years ago

Commit d7173492 parents 80d2623 15c03dd230 files · +2355 −1253Browse files

Showing the changes to include/uapi/linux (1 of 230 files). Show all

Unified · Split

include/uapi/linux/perf_event.h+10−5
@@ -380,10 +380,13 @@ struct perf_event_mmap_page { · 379 unmodified lines
380380 union {
381381 __u64 capabilities;
382382 struct {
383− __u64 cap_usr_time : 1,
384− cap_usr_rdpmc : 1,
385− cap_usr_time_zero : 1,
386− cap_____res : 61;
383+ __u64 cap_bit0 : 1, /* Always 0, deprecated, see commit 860f085b74e9 */
384+ cap_bit0_is_deprecated : 1, /* Always 1, signals that bit 0 is zero */
385+
386+ cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */
387+ cap_user_time : 1, /* The time_* fields are used */
388+ cap_user_time_zero : 1, /* The time_zero field is used */
389+ cap_____res : 59;
387390 };
388391 };
389392
@@ -442,12 +445,13 @@ struct perf_event_mmap_page { · 52 unmodified lines
442445 * ((rem * time_mult) >> time_shift);
443446 */
444447 __u64 time_zero;
448+ __u32 size; /* Header size up to __reserved[] fields. */
445449
446450 /*
447451 * Hole for extension of the self monitor capabilities
448452 */
449453
450− __u64 __reserved[119]; /* align to 1k */
454+ __u8 __reserved[118*8+4]; /* align to 1k. */
451455
452456 /*
453457 * Control data for the mmap() data buffer.
@@ -528,6 +532,7 @@ enum perf_event_type { · 74 unmodified lines
528532 * u64 len;
529533 * u64 pgoff;
530534 * char filename[];
535+ * struct sample_id sample_id;
531536 * };
532537 */
533538 PERF_RECORD_MMAP = 1,