Re: [RFC V2 PATCH 1/4] perf: Add PERF_RECORD_SWITCH to indicate context switches
From: Peter Zijlstra
Date: Mon Jul 06 2015 - 07:18:01 EST
On Fri, Jul 03, 2015 at 03:52:39PM +0300, Adrian Hunter wrote:
> +static void perf_event_switch(struct task_struct *task,
> + struct task_struct *next_prev, bool out)
> +{
The patch looks good, however with perf_pmu_sched_task() we have bool
sched_in, and here we have bool out.
Maybe make that consistent?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/