blktrace: fix wrong calculation of RWBS
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 24 Mar 2009 08:05:06 +0000 (16:05 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Mar 2009 12:08:59 +0000 (13:08 +0100)
commit65796348e09880e12b97267d39b8857c758440a6
tree176f962be8db38b8fe7309363d73c72fa6c4c69e
parente4955c9986a27bb47ddeb6cd55803053f547e2e9
blktrace: fix wrong calculation of RWBS

Impact: fix the output of IO type category characters

Trace categories are the upper 16 bits, not the lower 16 bits.

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