[lkml]   [2013]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Using perf to locate source of context switches
On 12/4/13, 10:42 AM, Pavey, Nicholas wrote:
> NB: I have also used 'perf record -e cs -g -a -- sleep 2', while the

Add -c 1 to capture *all* context switch events.

perf script will show each event. perf report provides a histogram summary.

I have a time-history command for analyzing scheduling events. It is not
yet in upstream code. You can try the code in this branch:

Or download this version (requires Arnaldo's tree):


 \ /
  Last update: 2013-12-04 20:41    [W:0.033 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site