Re: [RFC resend] Perf: Trigger and dump sample info to perf.data from user space ring buffer

2015-09-21 Thread David Ahern
On 9/21/15 9:16 PM, Yunlong Song wrote: [Problem Background] We want to run perf in daemon mode and collect the traces when the exception (e.g., machine crashes, app performance goes down) appears. Perf may run for a long time (from days to weeks or even months), since we do not know when the

[RFC resend] Perf: Trigger and dump sample info to perf.data from user space ring buffer

2015-09-21 Thread Yunlong Song
[Problem Background] We want to run perf in daemon mode and collect the traces when the exception (e.g., machine crashes, app performance goes down) appears. Perf may run for a long time (from days to weeks or even months), since we do not know when the exception will appear at all, however it

Re: [RFC resend] Perf: Trigger and dump sample info to perf.data from user space ring buffer

2015-09-21 Thread David Ahern
On 9/21/15 9:16 PM, Yunlong Song wrote: [Problem Background] We want to run perf in daemon mode and collect the traces when the exception (e.g., machine crashes, app performance goes down) appears. Perf may run for a long time (from days to weeks or even months), since we do not know when the

[RFC resend] Perf: Trigger and dump sample info to perf.data from user space ring buffer

2015-09-21 Thread Yunlong Song
[Problem Background] We want to run perf in daemon mode and collect the traces when the exception (e.g., machine crashes, app performance goes down) appears. Perf may run for a long time (from days to weeks or even months), since we do not know when the exception will appear at all, however it