aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/perf_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h
index 91803e54ee73..86c44ae66d43 100644
--- a/include/uapi/linux/perf_event.h
+++ b/include/uapi/linux/perf_event.h
@@ -522,9 +522,14 @@ struct perf_event_mmap_page {
522 * In this case the kernel will not over-write unread data. 522 * In this case the kernel will not over-write unread data.
523 * 523 *
524 * See perf_output_put_handle() for the data ordering. 524 * See perf_output_put_handle() for the data ordering.
525 *
526 * data_{offset,size} indicate the location and size of the perf record
527 * buffer within the mmapped area.
525 */ 528 */
526 __u64 data_head; /* head in the data section */ 529 __u64 data_head; /* head in the data section */
527 __u64 data_tail; /* user-space written tail */ 530 __u64 data_tail; /* user-space written tail */
531 __u64 data_offset; /* where the buffer starts */
532 __u64 data_size; /* data buffer size */
528}; 533};
529 534
530#define PERF_RECORD_MISC_CPUMODE_MASK (7 << 0) 535#define PERF_RECORD_MISC_CPUMODE_MASK (7 << 0)