[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <529F78D4.10905@gmail.com>
Date: Wed, 04 Dec 2013 11:47:48 -0700
From: David Ahern <dsahern@...il.com>
To: "Pavey, Nicholas" <npavey@...mai.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: 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:
https://github.com/dsahern/linux/tree/perf-sched-timehist-3.11
Or download this version (requires Arnaldo's tree):
https://lkml.org/lkml/2013/11/18/555
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists