perf sched: Sanity check context switch events
authorIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 12:07:00 +0000 (14:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Sep 2009 10:08:28 +0000 (12:08 +0200)
commitc8a37751043427c6e4397a2cbfd617cb5f215c72
treeb4399844d7064741c4df4098509b7dc3bd7d3493
parentdc02bf7178c8e2cb3d442ae19027b736d51c7dd5
perf sched: Sanity check context switch events

Use 'perf sched latency' to track the current task based on
context-switch events, and flag the cases where there's some
impossible transition: such as a PID being switched out that
was not switched in.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-sched.c