The Intel PT driver needs to be able to communicate partial AUX transactions, that is, transactions with gaps in data for reasons other than no room left in the buffer (i.e. truncated transactions). Therefore, this condition does not imply a wakeup for the consumer. To this end, add a new "partial" AUX flag.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -915,6 +915,7 @@ enum perf_callchain_context { · 914 unmodified lines | |||
| 915 | */ | 915 | */ |
| 916 | #define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */ | 916 | #define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */ |
| 917 | #define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */ | 917 | #define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */ |
| 918 | #define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */ | ||
| 918 | 919 | ||
| 919 | #define PERF_FLAG_FD_NO_GROUP (1UL << 0) | 920 | #define PERF_FLAG_FD_NO_GROUP (1UL << 0) |
| 920 | #define PERF_FLAG_FD_OUTPUT (1UL << 1) | 921 | #define PERF_FLAG_FD_OUTPUT (1UL << 1) |