Re: [PATCH 1/4] perf: Allow suppressing AUX records

2017-11-10 Thread Adrian Hunter
On 09/11/17 19:05, Alexander Shishkin wrote: > diff --git a/kernel/events/ring_buffer.c b/kernel/events/ring_buffer.c > index f684d8e5fa2b..d3f147e99165 100644 > --- a/kernel/events/ring_buffer.c > +++ b/kernel/events/ring_buffer.c > @@ -425,6 +425,12 @@ static bool __always_inline rb_need_aux_wake

[PATCH 1/4] perf: Allow suppressing AUX records

2017-11-09 Thread Alexander Shishkin
It has been pointed out to me many times that it is useful to be able to switch off AUX records to save the bandwidth for records that actually matter, for example, in AUX overwrite mode. The usefulness of PERF_RECORD_AUX is in some of its flags, like the TRUNCATED flag that tells the decoder wher