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

2019-08-06 Thread Alexander Shishkin
Alexander Shishkin writes: > 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

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

2017-05-11 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