]> 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)
commitd5acc1813d488181ea0bce0f87e158dd77a73bcd
treeceb6dfdad9cc51f7a98011d0676b4721907118c8
parent133c6a39984d3bfc0de3d8d31716cf46b36223b8
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