projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6e363
)
tools lib traceevent: Fix format in plugin_kvm
author
Steven Rostedt
<rostedt@goodmis.org>
Fri, 13 Jun 2014 14:31:27 +0000
(10:31 -0400)
committer
Jiri Olsa
<jolsa@kernel.org>
Thu, 19 Jun 2014 16:18:33 +0000
(18:18 +0200)
The format field argument passed to the format
in pevent_print_num_field() will be of type long long. That means that
%ll must be used instead of %l.
Acked-by: Namhyung Kim <namhyung@kernel.org>
Reported-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link:
http://lkml.kernel.org/r/20140613103127.1a9bdee7@gandalf.local.home
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/lib/traceevent/plugin_kvm.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/lib/traceevent/plugin_kvm.c
b/tools/lib/traceevent/plugin_kvm.c
index 0575e59c65f09c197ce7aa4b566b19202fa6d1e3..88fe83dff7cdf4fb957a23670324138225affa86 100644
(file)
--- a/
tools/lib/traceevent/plugin_kvm.c
+++ b/
tools/lib/traceevent/plugin_kvm.c
@@
-344,7
+344,7
@@
static int kvm_nested_vmexit_inject_handler(struct trace_seq *s, struct pevent_r
static int kvm_nested_vmexit_handler(struct trace_seq *s, struct pevent_record *record,
struct event_format *event, void *context)
{
- pevent_print_num_field(s, "rip %lx ", event, "rip", record, 1);
+ pevent_print_num_field(s, "rip %l
l
x ", event, "rip", record, 1);
return kvm_nested_vmexit_inject_handler(s, record, event, context);
}
This page took
0.024633 seconds
and
5
git commands to generate.