]> git.baikalelectronics.ru Git - kernel.git/commit
perf sched timehist: Introduce struct idle_time_data
authorNamhyung Kim <namhyung@kernel.org>
Thu, 8 Dec 2016 14:47:51 +0000 (23:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Dec 2016 19:25:44 +0000 (16:25 -0300)
commit3e133d49094d0912f6aaeca418eba733e59a3492
tree5dbb24c56276a631354c2d2473c405903b7700d2
parentb0f943c7d4f22f0ae9ab12d7d7bb85007c8bb5fd
perf sched timehist: Introduce struct idle_time_data

The struct idle_time_data is to keep idle stats with callchains entering
to the idle task.  The normal thread_runtime calculation is done
transparently since it extends the struct thread_runtime.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20161208144755.16673-3-namhyung@kernel.org
[ Align struct field names ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c