aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/perf_event.h')
-rw-r--r--include/uapi/linux/perf_event.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h
index b9a4953018ed..c77c9a2ebbbb 100644
--- a/include/uapi/linux/perf_event.h
+++ b/include/uapi/linux/perf_event.h
@@ -612,9 +612,12 @@ struct perf_event_mmap_page {
612 */ 612 */
613#define PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT (1 << 12) 613#define PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT (1 << 12)
614/* 614/*
615 * PERF_RECORD_MISC_MMAP_DATA and PERF_RECORD_MISC_COMM_EXEC are used on 615 * Following PERF_RECORD_MISC_* are used on different
616 * different events so can reuse the same bit position. 616 * events, so can reuse the same bit position:
617 * Ditto PERF_RECORD_MISC_SWITCH_OUT. 617 *
618 * PERF_RECORD_MISC_MMAP_DATA - PERF_RECORD_MMAP* events
619 * PERF_RECORD_MISC_COMM_EXEC - PERF_RECORD_COMM event
620 * PERF_RECORD_MISC_SWITCH_OUT - PERF_RECORD_SWITCH* events
618 */ 621 */
619#define PERF_RECORD_MISC_MMAP_DATA (1 << 13) 622#define PERF_RECORD_MISC_MMAP_DATA (1 << 13)
620#define PERF_RECORD_MISC_COMM_EXEC (1 << 13) 623#define PERF_RECORD_MISC_COMM_EXEC (1 << 13)
@@ -864,6 +867,7 @@ enum perf_event_type {
864 * struct perf_event_header header; 867 * struct perf_event_header header;
865 * u32 pid; 868 * u32 pid;
866 * u32 tid; 869 * u32 tid;
870 * struct sample_id sample_id;
867 * }; 871 * };
868 */ 872 */
869 PERF_RECORD_ITRACE_START = 12, 873 PERF_RECORD_ITRACE_START = 12,