Re: [PATCH V5 1/1] perf: event preserve and create across cpu hotplug

2019-09-24 Thread Mukesh Ojha
On 8/12/2019 4:12 PM, Jiri Olsa wrote: On Fri, Aug 02, 2019 at 12:16:53AM +0530, Mukesh Ojha wrote: Perf framework doesn't allow preserving CPU events across CPU hotplugs. The events are scheduled out as and when the CPU walks offline. Moreover, the framework also doesn't allow the clients to

Re: [PATCH V5 1/1] perf: event preserve and create across cpu hotplug

2019-09-05 Thread Mukesh Ojha
On 8/12/2019 4:12 PM, Jiri Olsa wrote: On Fri, Aug 02, 2019 at 12:16:53AM +0530, Mukesh Ojha wrote: Perf framework doesn't allow preserving CPU events across CPU hotplugs. The events are scheduled out as and when the CPU walks offline. Moreover, the framework also doesn't allow the clients to

Re: [PATCH V5 1/1] perf: event preserve and create across cpu hotplug

2019-08-12 Thread Jiri Olsa
On Fri, Aug 02, 2019 at 12:16:53AM +0530, Mukesh Ojha wrote: > Perf framework doesn't allow preserving CPU events across > CPU hotplugs. The events are scheduled out as and when the > CPU walks offline. Moreover, the framework also doesn't > allow the clients to create events on an offline CPU. As

[PATCH V5 1/1] perf: event preserve and create across cpu hotplug

2019-08-01 Thread Mukesh Ojha
Perf framework doesn't allow preserving CPU events across CPU hotplugs. The events are scheduled out as and when the CPU walks offline. Moreover, the framework also doesn't allow the clients to create events on an offline CPU. As a result, the clients have to keep on monitoring the CPU state until