]> git.baikalelectronics.ru Git - kernel.git/commit
perf sched timehist: Account thread wait time separately
authorNamhyung Kim <namhyung@kernel.org>
Fri, 13 Jan 2017 10:45:21 +0000 (19:45 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Jan 2017 14:35:44 +0000 (11:35 -0300)
commitfbcb256cce9b0abed4e4e03108158bdaa7e06289
treeceb6dfdad9cc51f7a98011d0676b4721907118c8
parent43652dd3411e30dba71ee7e2b4c6b100d2781228
perf sched timehist: Account thread wait time separately

Separate thread wait time into 3 parts - sleep, iowait and preempt based
on the prev_state of the last event.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170113104523.31212-1-namhyung@kernel.org
[ Fix the build on centos:5 where 'wait' shadows a global declaration ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c