History

perf/core: Add a flag for partial AUX records

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.

Alexander Shishkin committed 9 years ago

Commit ae0c2d91 parent f4c0b0a2 files · +2 −1Browse files

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

Unified · Split

include/uapi/linux/perf_event.h+1−0
@@ -915,6 +915,7 @@ enum perf_callchain_context { · 914 unmodified lines
915915 */
916916 #define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */
917917 #define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */
918+#define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */
918919
919920 #define PERF_FLAG_FD_NO_GROUP (1UL << 0)
920921 #define PERF_FLAG_FD_OUTPUT (1UL << 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t