On 14/04/16 10:50, Wangnan (F) wrote:
So it was a stupid question ;-)
On 2016/4/14 15:15, Adrian Hunter wrote:
On 13/04/16 18:55, Arnaldo Carvalho de Melo wrote:This patch doesn't prevent taking snapshot when receiving SIGUSR2.
Em Wed, Apr 13, 2016 at 08:21:06AM +0000, Wang Nan escreveu:Please forgive me if these are stupid questions:
auxtrace_snapshot_enable has only two states (0/1). Turns it into aAdrian, can you take a look at this? Is it ok with you?
triple states enum so SIGUSR2 handler can safely do other works without
triggering auxtrace snapshot.
First I am wondering why we wouldn't want to snapshot auxtrace data at the
same time as the perf buffer?
If both --snapshot and --switch-outupt is provided, when SIGUSR2 received,How do you keep from losing tracking information like MMAP events? Are they
perf takes auxtrace snapshot and other perf buffer together.
is a different buffer?