Messages in this thread | | | Date | Thu, 1 Mar 2018 10:08:05 -0800 | From | Andi Kleen <> | Subject | Re: [RFC PATCH] perf/core: exposing type of context-switch-out event |
| |
On Thu, Mar 01, 2018 at 06:40:04PM +0300, Alexey Budankov wrote: > Hi, > > This patch prototypes exposing the type of context-switch-out event using > PERF_RECORD_MISC_EXT_RESERVED bit for PERF_RECORD_SWITCH[_CPU_WIDE] records.
It would be better to define an actually named bit in perf_event.h. It can be the same value.
Also we would need a patch for perf script / perf report -D to print this information.
The rest looks good to me.
-Andi
| |