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 {  	struct perf_regs_user		regs_user;  	u64				stack_user_size;  	u64				weight; +	/* +	 * Transaction flags for abort events: +	 */ +	u64				txn;  };  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,  	data->stack_user_size = 0;  	data->weight = 0;  	data->data_src.val = 0; +	data->txn = 0;  }  extern void perf_output_sample(struct perf_output_handle *handle,  | 
