History

perf/uapi: Fix PERF_RECORD_SAMPLE comments in <uapi/linux/perf_event.h>

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.

Ian Rogers committed 1 year ago

Commit f4b18ff1 parent b216af22 files · +6 −4Browse files

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

Unified · Split

include/uapi/linux/perf_event.h+3−2
@@ -1035,10 +1035,11 @@ enum perf_event_type { · 1034 unmodified lines
10351035 * { u64 abi; # enum perf_sample_regs_abi
10361036 * u64 regs[weight(mask)]; } && PERF_SAMPLE_REGS_INTR
10371037 * { u64 phys_addr;} && PERF_SAMPLE_PHYS_ADDR
1038− * { u64 size;
1039− * char data[size]; } && PERF_SAMPLE_AUX
1038+ * { u64 cgroup;} && PERF_SAMPLE_CGROUP
10401039 * { u64 data_page_size;} && PERF_SAMPLE_DATA_PAGE_SIZE
10411040 * { u64 code_page_size;} && PERF_SAMPLE_CODE_PAGE_SIZE
1041+ * { u64 size;
1042+ * char data[size]; } && PERF_SAMPLE_AUX
10421043 * };
10431044 */
10441045 PERF_RECORD_SAMPLE = 9,