diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-05-11 02:33:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 06:25:50 -0400 |
commit | 049862579333cc6cd9e6edfd6987cd0addfd8c59 (patch) | |
tree | 171ce56995657c0dd92825b733afbd88242a3887 | |
parent | 4671c79408a3f8a5a6a45e39c4c164dada3a5678 (diff) |
blktrace: pdu_buf of pc events should be unsigned
I got this:
8,0 1 305.417782332 2037 I R 32 (ffffff9e 10 00 ...) [bash]
It should be:
8,0 1 305.417782332 2037 I R 32 (9e 10 00 ...) [bash]
[ Impact: fix output of pc events ]
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A07C6B3.9080802@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | kernel/trace/blktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index e099f8cc1d1c..05b4747fd873 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c | |||
@@ -1065,7 +1065,7 @@ static int blk_log_action(struct trace_iterator *iter, const char *act) | |||
1065 | 1065 | ||
1066 | static int blk_log_dump_pdu(struct trace_seq *s, const struct trace_entry *ent) | 1066 | static int blk_log_dump_pdu(struct trace_seq *s, const struct trace_entry *ent) |
1067 | { | 1067 | { |
1068 | const char *pdu_buf; | 1068 | const unsigned char *pdu_buf; |
1069 | int pdu_len; | 1069 | int pdu_len; |
1070 | int i, end, ret; | 1070 | int i, end, ret; |
1071 | 1071 | ||