From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH] plugin_kvm: fix kvm_exit rip formatting Date: Mon, 11 Oct 2010 10:58:35 +0200 Message-ID: <1286787515-13722-1-git-send-email-avi@redhat.com> Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-users@vger.kernel.org To: Steven Rostedt Return-path: Sender: linux-trace-users-owner@vger.kernel.org List-Id: kvm.vger.kernel.org %0xlx is not a valid printf format. Signed-off-by: Avi Kivity --- 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, trace_seq_printf(s, "reason %s", find_vmx_reason(val)); - pevent_print_num_field(s, " rip %0xlx", event, "guest_rip", record, 1); + pevent_print_num_field(s, " rip 0x%lx", event, "guest_rip", record, 1); return 0; } -- 1.7.3.1