lkml.org 
[lkml]   [2018]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-03-01 19:09    [W:0.047 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site