diff options
author | Avi Kivity <avi@redhat.com> | 2010-10-11 04:58:35 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-11 16:12:44 -0400 |
commit | c541dab9a894798c7b755d316a3f55aa3895c109 (patch) | |
tree | ca45cf6badb8b889d5c2443058606af5b1073de8 | |
parent | d1f889de923f649f7ff4ac8da5ff30c73cd67b75 (diff) |
plugin_kvm: Fix kvm_exit rip formatting
%0xlx is not a valid printf format.
Signed-off-by: Avi Kivity <avi@redhat.com>
LKML-Reference: <1286787515-13722-1-git-send-email-avi@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | plugin_kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_kvm.c b/plugin_kvm.c index cdd52c7..724143d 100644 --- a/plugin_kvm.c +++ b/plugin_kvm.c | |||
@@ -153,7 +153,7 @@ static int kvm_exit_handler(struct trace_seq *s, struct record *record, | |||
153 | 153 | ||
154 | trace_seq_printf(s, "reason %s", find_vmx_reason(val)); | 154 | trace_seq_printf(s, "reason %s", find_vmx_reason(val)); |
155 | 155 | ||
156 | pevent_print_num_field(s, " rip %0xlx", event, "guest_rip", record, 1); | 156 | pevent_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); |
157 | 157 | ||
158 | return 0; | 158 | return 0; |
159 | } | 159 | } |