diff options
Diffstat (limited to 'include/uapi/linux/perf_event.h')
| -rw-r--r-- | include/uapi/linux/perf_event.h | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index 36ce552cf6a9..c66a485a24ac 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h @@ -276,6 +276,9 @@ enum perf_event_read_format {  /*   * Hardware event_id to monitor via a performance monitoring event: + * + * @sample_max_stack: Max number of frame pointers in a callchain, + *		      should be < /proc/sys/kernel/perf_event_max_stack   */  struct perf_event_attr { @@ -385,7 +388,8 @@ struct perf_event_attr {  	 * Wakeup watermark for AUX area  	 */  	__u32	aux_watermark; -	__u32	__reserved_2;	/* align to __u64 */ +	__u16	sample_max_stack; +	__u16	__reserved_2;	/* align to __u64 */  };  #define perf_flags(attr)	(*(&(attr)->read_format + 1)) |