Re: [PATCH v2 1/2] perf/core: add perf_ctx_resched() as global function

2019-04-15 Thread Peter Zijlstra
On Mon, Apr 15, 2019 at 05:45:37PM +0200, Peter Zijlstra wrote: > On Mon, Apr 08, 2019 at 10:32:51AM -0700, Stephane Eranian wrote: > > This patch add perf_ctx_resched() a global function that can be called > > to force rescheduling of events based on event types. The function locks > > both cpuctx

Re: [PATCH v2 1/2] perf/core: add perf_ctx_resched() as global function

2019-04-15 Thread Peter Zijlstra
On Mon, Apr 08, 2019 at 10:32:51AM -0700, Stephane Eranian wrote: > This patch add perf_ctx_resched() a global function that can be called > to force rescheduling of events based on event types. The function locks > both cpuctx and task_ctx internally. This will be used by a subsequent patch. I to

[PATCH v2 1/2] perf/core: add perf_ctx_resched() as global function

2019-04-08 Thread Stephane Eranian
This patch add perf_ctx_resched() a global function that can be called to force rescheduling of events based on event types. The function locks both cpuctx and task_ctx internally. This will be used by a subsequent patch. Signed-off-by: Stephane Eranian Change-Id: Icbc05e5f461fd6e091b46778fe62b23