Re: [RFC] perf_sample_id::idx

From: Adrian Hunter
Date: Mon Aug 12 2019 - 05:10:55 EST


On 9/08/19 7:04 PM, Arnaldo Carvalho de Melo wrote:
> Em Fri, Aug 09, 2019 at 03:20:14PM +0000, Hunter, Adrian escreveu:
>
>> It will be used for AUX area sampling. A sample will have AUX area
>> data that will be queued for decoding, where there are separate queues
>> for each CPU (per-cpu tracing) or task (per-thread tracing). The
>> sample ID can be used to lookup 'idx' which is effectively the queue
>> number.
>
> Would be good to have this as a comment in the perf_sample_id struct
> definition :-)