From: Avi Kivity <avi@redhat.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-trace-users@vger.kernel.org
Subject: [PATCH] plugin_kvm: fix kvm_exit rip formatting
Date: Mon, 11 Oct 2010 10:58:35 +0200 [thread overview]
Message-ID: <1286787515-13722-1-git-send-email-avi@redhat.com> (raw)
%0xlx is not a valid printf format.
Signed-off-by: Avi Kivity <avi@redhat.com>
---
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
next reply other threads:[~2010-10-11 8:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 8:58 Avi Kivity [this message]
2010-10-11 20:19 ` [PATCH] plugin_kvm: fix kvm_exit rip formatting Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1286787515-13722-1-git-send-email-avi@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-users@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox