AAUX data for PERF_SAMPLE_AUX appears last. PERF_SAMPLE_CGROUP is missing from the comment. This makes the <uapi/linux/perf_event.h> comment match that in the perf_event_open man page.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -1035,10 +1035,11 @@ enum perf_event_type { · 1034 unmodified lines | ||
| 1035 | 1035 | * { u64 abi; # enum perf_sample_regs_abi |
| 1036 | 1036 | * u64 regs[weight(mask)]; } && PERF_SAMPLE_REGS_INTR |
| 1037 | 1037 | * { u64 phys_addr;} && PERF_SAMPLE_PHYS_ADDR |
| 1038 | − * { u64 size; | |
| 1039 | − * char data[size]; } && PERF_SAMPLE_AUX | |
| 1038 | + * { u64 cgroup;} && PERF_SAMPLE_CGROUP | |
| 1040 | 1039 | * { u64 data_page_size;} && PERF_SAMPLE_DATA_PAGE_SIZE |
| 1041 | 1040 | * { u64 code_page_size;} && PERF_SAMPLE_CODE_PAGE_SIZE |
| 1041 | + * { u64 size; | |
| 1042 | + * char data[size]; } && PERF_SAMPLE_AUX | |
| 1042 | 1043 | * }; |
| 1043 | 1044 | */ |
| 1044 | 1045 | PERF_RECORD_SAMPLE = 9, |