diff options
Diffstat (limited to 'include/linux/perf_event.h')
| -rw-r--r-- | include/linux/perf_event.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index c8ba627c1d60..2e069d1288df 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
| @@ -584,6 +584,10 @@ struct perf_sample_data { | |||
| 584 | struct perf_regs_user regs_user; | 584 | struct perf_regs_user regs_user; |
| 585 | u64 stack_user_size; | 585 | u64 stack_user_size; |
| 586 | u64 weight; | 586 | u64 weight; |
| 587 | /* | ||
| 588 | * Transaction flags for abort events: | ||
| 589 | */ | ||
| 590 | u64 txn; | ||
| 587 | }; | 591 | }; |
| 588 | 592 | ||
| 589 | static inline void perf_sample_data_init(struct perf_sample_data *data, | 593 | static inline void perf_sample_data_init(struct perf_sample_data *data, |
| @@ -599,6 +603,7 @@ static inline void perf_sample_data_init(struct perf_sample_data *data, | |||
| 599 | data->stack_user_size = 0; | 603 | data->stack_user_size = 0; |
| 600 | data->weight = 0; | 604 | data->weight = 0; |
| 601 | data->data_src.val = 0; | 605 | data->data_src.val = 0; |
| 606 | data->txn = 0; | ||
| 602 | } | 607 | } |
| 603 | 608 | ||
| 604 | extern void perf_output_sample(struct perf_output_handle *handle, | 609 | extern void perf_output_sample(struct perf_output_handle *handle, |
