blktrace: fix output of unknown events
authorLi Zefan <lizf@cn.fujitsu.com>
Wed, 1 Apr 2009 08:18:53 +0000 (16:18 +0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Apr 2009 13:32:45 +0000 (15:32 +0200)
commitb78825d608f30a47e3154ab6872a03f0de0c9d45
treea20ac6c33f67749466fe21ebc8edf8e3c139f579
parentfc182a4330fc22ea1b68fa3d5064dd85a73a4c4a
blktrace: fix output of unknown events

Not all events are pc (packet command) events. An event is a pc
event only if it has BLK_TC_PC bit set.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <49D3236D.3090705@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/blktrace.c