[PATCH v2 3/6] perf sched timehist: Save callchain when entering idle

2016-12-08 Thread Namhyung Kim
In order to investigate reason of idle, it needs to keep the callchains when entering to idle. This can be identified sched_switch event having next_pid as 0. Signed-off-by: Namhyung Kim --- tools/perf/builtin-sched.c | 29 + 1 file changed, 29

[PATCH v2 3/6] perf sched timehist: Save callchain when entering idle

2016-12-08 Thread Namhyung Kim
In order to investigate reason of idle, it needs to keep the callchains when entering to idle. This can be identified sched_switch event having next_pid as 0. Signed-off-by: Namhyung Kim --- tools/perf/builtin-sched.c | 29 + 1 file changed, 29 insertions(+) diff