| Christopher Ferris | 7ac54f5 | 2024-08-07 21:07:12 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. | ||||
| 3 | * | ||||
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ | ||||
| 5 | * for more information. | ||||
| 6 | */ | ||||
| 7 | #ifndef _TRACE_MMAP_H_ | ||||
| 8 | #define _TRACE_MMAP_H_ | ||||
| 9 | #include <linux/types.h> | ||||
| 10 | struct trace_buffer_meta { | ||||
| 11 | __u32 meta_page_size; | ||||
| 12 | __u32 meta_struct_len; | ||||
| 13 | __u32 subbuf_size; | ||||
| 14 | __u32 nr_subbufs; | ||||
| 15 | struct { | ||||
| 16 | __u64 lost_events; | ||||
| 17 | __u32 id; | ||||
| 18 | __u32 read; | ||||
| 19 | } reader; | ||||
| 20 | __u64 flags; | ||||
| 21 | __u64 entries; | ||||
| 22 | __u64 overrun; | ||||
| 23 | __u64 read; | ||||
| 24 | __u64 Reserved1; | ||||
| 25 | __u64 Reserved2; | ||||
| 26 | }; | ||||
| 27 | #define TRACE_MMAP_IOCTL_GET_READER _IO('R', 0x20) | ||||
| 28 | #endif | ||||