Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-15 Thread Namhyung Kim
On Wed, Dec 14, 2016 at 02:33:45PM -0700, David Ahern wrote: > On 12/13/16 1:05 AM, Namhyung Kim wrote: > > Hmm... something like this? > > yes. 1 comment though ... > > > > > > > > > From 5a1702bd15d78b0fe0c31d2d48ec8afa41fbf10c Mon Sep 17 00:00:00 2001 > > From: Namhyung Kim > > Date: Tue,

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-14 Thread David Ahern
On 12/13/16 1:05 AM, Namhyung Kim wrote: > Hmm... something like this? yes. 1 comment though ... > > > > From 5a1702bd15d78b0fe0c31d2d48ec8afa41fbf10c Mon Sep 17 00:00:00 2001 > From: Namhyung Kim > Date: Tue, 13 Dec 2016 15:05:14 +0900 > Subject: [PATCH] perf sched timehist: Show total sched

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-13 Thread Namhyung Kim
On Mon, Dec 12, 2016 at 10:37:30AM -0700, David Ahern wrote: > On 12/12/16 10:26 AM, Namhyung Kim wrote: > > Do you mean adding an elapsed time so that it can see the cpu utilization > > (or > > something similar)? Then we need to expose the elapsed time during record > > or > > maybe just use t

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-12 Thread David Ahern
On 12/12/16 10:26 AM, Namhyung Kim wrote: > Do you mean adding an elapsed time so that it can see the cpu utilization (or > something similar)? Then we need to expose the elapsed time during record or > maybe just use time difference between first and last sample? I was thinking tstart = time of

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-12 Thread Namhyung Kim
Hi David, On Sat, Dec 10, 2016 at 09:32:54AM -0700, David Ahern wrote: > On 12/8/16 7:47 AM, Namhyung Kim wrote: > > Hi, > > > > This patchset implements the idle hist feature which analyze reason of > > system > > idle. Sometimes I need to investigate what makes CPUs to go idle even > > thoug

Re: [PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-10 Thread David Ahern
On 12/8/16 7:47 AM, Namhyung Kim wrote: > Hi, > > This patchset implements the idle hist feature which analyze reason of system > idle. Sometimes I need to investigate what makes CPUs to go idle even though > I have jobs to do. It may be due to I/O, waiting on lock or whatever. > ... > Namhyu

[PATCHSET 0/6] perf sched timehist: Introduce --idle-hist option (v2)

2016-12-08 Thread Namhyung Kim
Hi, This patchset implements the idle hist feature which analyze reason of system idle. Sometimes I need to investigate what makes CPUs to go idle even though I have jobs to do. It may be due to I/O, waiting on lock or whatever. To identify the reasons it only accounts events related to idle ta