diff options
| author | Mark Brown <broonie@linaro.org> | 2013-11-24 09:35:18 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-11-24 09:35:18 -0500 |
| commit | 30c27abd28fa168d7ebd2e5286f1fe473c74bfa9 (patch) | |
| tree | 9936b38c0c81cd430d5e75906c1207d127fe588c /include/uapi/linux/perf_event.h | |
| parent | 16ec790938d4f356c82fab27b9a9adf4d6fe19a6 (diff) | |
| parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) | |
Merge tag 'v3.13-rc1' into asoc-arizona
Linux 3.13-rc1
Diffstat (limited to 'include/uapi/linux/perf_event.h')
| -rw-r--r-- | include/uapi/linux/perf_event.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 2fc1602e23bb..e1802d6153ae 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h | |||
| @@ -136,8 +136,9 @@ enum perf_event_sample_format { | |||
| 136 | PERF_SAMPLE_WEIGHT = 1U << 14, | 136 | PERF_SAMPLE_WEIGHT = 1U << 14, |
| 137 | PERF_SAMPLE_DATA_SRC = 1U << 15, | 137 | PERF_SAMPLE_DATA_SRC = 1U << 15, |
| 138 | PERF_SAMPLE_IDENTIFIER = 1U << 16, | 138 | PERF_SAMPLE_IDENTIFIER = 1U << 16, |
| 139 | PERF_SAMPLE_TRANSACTION = 1U << 17, | ||
| 139 | 140 | ||
| 140 | PERF_SAMPLE_MAX = 1U << 17, /* non-ABI */ | 141 | PERF_SAMPLE_MAX = 1U << 18, /* non-ABI */ |
| 141 | }; | 142 | }; |
| 142 | 143 | ||
| 143 | /* | 144 | /* |
| @@ -181,6 +182,28 @@ enum perf_sample_regs_abi { | |||
| 181 | }; | 182 | }; |
| 182 | 183 | ||
| 183 | /* | 184 | /* |
| 185 | * Values for the memory transaction event qualifier, mostly for | ||
| 186 | * abort events. Multiple bits can be set. | ||
| 187 | */ | ||
| 188 | enum { | ||
| 189 | PERF_TXN_ELISION = (1 << 0), /* From elision */ | ||
| 190 | PERF_TXN_TRANSACTION = (1 << 1), /* From transaction */ | ||
| 191 | PERF_TXN_SYNC = (1 << 2), /* Instruction is related */ | ||
| 192 | PERF_TXN_ASYNC = (1 << 3), /* Instruction not related */ | ||
| 193 | PERF_TXN_RETRY = (1 << 4), /* Retry possible */ | ||
| 194 | PERF_TXN_CONFLICT = (1 << 5), /* Conflict abort */ | ||
| 195 | PERF_TXN_CAPACITY_WRITE = (1 << 6), /* Capacity write abort */ | ||
| 196 | PERF_TXN_CAPACITY_READ = (1 << 7), /* Capacity read abort */ | ||
| 197 | |||
| 198 | PERF_TXN_MAX = (1 << 8), /* non-ABI */ | ||
| 199 | |||
| 200 | /* bits 32..63 are reserved for the abort code */ | ||
| 201 | |||
| 202 | PERF_TXN_ABORT_MASK = (0xffffffffULL << 32), | ||
| 203 | PERF_TXN_ABORT_SHIFT = 32, | ||
| 204 | }; | ||
| 205 | |||
| 206 | /* | ||
| 184 | * The format of the data returned by read() on a perf event fd, | 207 | * The format of the data returned by read() on a perf event fd, |
| 185 | * as specified by attr.read_format: | 208 | * as specified by attr.read_format: |
| 186 | * | 209 | * |
