Re: [RFC PATCH] perf: Add PERF_RECORD_SWITCH to indicate context switches

From: David Ahern
Date: Fri Jun 12 2015 - 10:31:04 EST


On 6/12/15 7:28 AM, Pawel Moll wrote:
Thanks, that's clear then. There will just need to be a flag to indicate
whether it is scheduling in or out.

Just a thought: wouldn't it be good to know what CPU have we been
scheduled from/to? This kind of information would be especially valuable
in heterogeneous systems.

yes that is essential.

--
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/