Re: [PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 13, 2017 at 07:45:21PM +0900, Namhyung Kim escreveu: > @@ -1943,8 +1968,16 @@ static void timehist_update_runtime_stats(struct > thread_runtime *r, > > if (r->last_time > tprev) > pr_debug("time travel: last sched out time for task > > previous

Re: [PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-17 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 13, 2017 at 07:45:21PM +0900, Namhyung Kim escreveu: > @@ -1943,8 +1968,16 @@ static void timehist_update_runtime_stats(struct > thread_runtime *r, > > if (r->last_time > tprev) > pr_debug("time travel: last sched out time for task > > previous

Re: [PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-13 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 13, 2017 at 07:45:21PM +0900, Namhyung Kim escreveu: > Separate thread wait time into 3 parts - sleep, iowait and preempt > based on the prev_state of the last event. Thanks, looks good, tested and applied, - Arnaldo > Cc: David Ahern > Signed-off-by: Namhyung

Re: [PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-13 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 13, 2017 at 07:45:21PM +0900, Namhyung Kim escreveu: > Separate thread wait time into 3 parts - sleep, iowait and preempt > based on the prev_state of the last event. Thanks, looks good, tested and applied, - Arnaldo > Cc: David Ahern > Signed-off-by: Namhyung Kim > --- >

[PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-13 Thread Namhyung Kim
Separate thread wait time into 3 parts - sleep, iowait and preempt based on the prev_state of the last event. Cc: David Ahern Signed-off-by: Namhyung Kim --- tools/perf/builtin-sched.c | 50 -- 1 file changed,

[PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-13 Thread Namhyung Kim
Separate thread wait time into 3 parts - sleep, iowait and preempt based on the prev_state of the last event. Cc: David Ahern Signed-off-by: Namhyung Kim --- tools/perf/builtin-sched.c | 50 -- 1 file changed, 44 insertions(+), 6 deletions(-) diff