Re: [PATCH v1] perf record: Add an option to take an AUX snapshot on exit

2019-08-13 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 06, 2019 at 05:41:01PM +0300, Alexander Shishkin escreveu: > It is sometimes useful to generate a snapshot when perf record exits; > I've been using a wrapper script around the workload that would do a > killall -USR2 perf when the workload exits. > > @@ -654,7 +670,7 @@ int record__au

Re: [PATCH v1] perf record: Add an option to take an AUX snapshot on exit

2019-08-07 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2019 at 10:40:39AM +0300, Adrian Hunter escreveu: > On 6/08/19 5:41 PM, Alexander Shishkin wrote: > > It is sometimes useful to generate a snapshot when perf record exits; > > I've been using a wrapper script around the workload that would do a > > killall -USR2 perf when the worklo

Re: [PATCH v1] perf record: Add an option to take an AUX snapshot on exit

2019-08-07 Thread Adrian Hunter
On 6/08/19 5:41 PM, Alexander Shishkin wrote: > It is sometimes useful to generate a snapshot when perf record exits; > I've been using a wrapper script around the workload that would do a > killall -USR2 perf when the workload exits. > > This patch makes it easier and also works when perf record

[PATCH v1] perf record: Add an option to take an AUX snapshot on exit

2019-08-06 Thread Alexander Shishkin
It is sometimes useful to generate a snapshot when perf record exits; I've been using a wrapper script around the workload that would do a killall -USR2 perf when the workload exits. This patch makes it easier and also works when perf record is attached to a pre-existing task. A new snapshot optio