Re: [PATCH 5/6] perf record: Add 'snapshot' control command

From: Adrian Hunter
Date: Mon Aug 31 2020 - 03:04:27 EST


On 31/08/20 9:23 am, Andi Kleen wrote:
> On Sat, Aug 29, 2020 at 01:50:14PM +0300, Adrian Hunter wrote:
>> Add 'snapshot' control command to create an AUX area tracing snapshot the
>> same as if sending SIGUSR2. The advantage of the FIFO is that access is
>> governed by access to the FIFO.
>
> How about the --switch-output SIGUSR2 switch? Could that be handled too?

Presumably, but I have never used --switch-out because Intel PT does not yet
support it (it is on the list of things to do). Perhaps someone more
familiar with it can add that :-)

>
> Other than that it looks great. Thanks.
>
> -Andi
>