Re: [PATCH v2 14/15] perf record: start threads in the beginning of trace streaming

2020-10-26 Thread Alexei Budankov
On 24.10.2020 18:44, Jiri Olsa wrote: > On Wed, Oct 21, 2020 at 07:10:09PM +0300, Alexey Budankov wrote: >> >> Start threads in detached state because its management is possible >> via messaging. Block signals prior the threads start so only main >> tool thread would be notified on external async

Re: [PATCH v2 14/15] perf record: start threads in the beginning of trace streaming

2020-10-24 Thread Jiri Olsa
On Wed, Oct 21, 2020 at 07:10:09PM +0300, Alexey Budankov wrote: > > Start threads in detached state because its management is possible > via messaging. Block signals prior the threads start so only main > tool thread would be notified on external async signals during data > collection. Streaming

[PATCH v2 14/15] perf record: start threads in the beginning of trace streaming

2020-10-21 Thread Alexey Budankov
Start threads in detached state because its management is possible via messaging. Block signals prior the threads start so only main tool thread would be notified on external async signals during data collection. Streaming threads connect one-to-one to mapped data buffers and write into per-CPU t