diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/perf_event.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 86c44ae66d43..6c5013a71714 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h | |||
| @@ -530,6 +530,22 @@ struct perf_event_mmap_page { | |||
| 530 | __u64 data_tail; /* user-space written tail */ | 530 | __u64 data_tail; /* user-space written tail */ |
| 531 | __u64 data_offset; /* where the buffer starts */ | 531 | __u64 data_offset; /* where the buffer starts */ |
| 532 | __u64 data_size; /* data buffer size */ | 532 | __u64 data_size; /* data buffer size */ |
| 533 | |||
| 534 | /* | ||
| 535 | * AUX area is defined by aux_{offset,size} fields that should be set | ||
| 536 | * by the userspace, so that | ||
| 537 | * | ||
| 538 | * aux_offset >= data_offset + data_size | ||
| 539 | * | ||
| 540 | * prior to mmap()ing it. Size of the mmap()ed area should be aux_size. | ||
| 541 | * | ||
| 542 | * Ring buffer pointers aux_{head,tail} have the same semantics as | ||
| 543 | * data_{head,tail} and same ordering rules apply. | ||
| 544 | */ | ||
| 545 | __u64 aux_head; | ||
| 546 | __u64 aux_tail; | ||
| 547 | __u64 aux_offset; | ||
| 548 | __u64 aux_size; | ||
| 533 | }; | 549 | }; |
| 534 | 550 | ||
| 535 | #define PERF_RECORD_MISC_CPUMODE_MASK (7 << 0) | 551 | #define PERF_RECORD_MISC_CPUMODE_MASK (7 << 0) |
