diff options
author | David Ahern <dsahern@gmail.com> | 2012-10-08 13:17:34 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-08 16:15:25 -0400 |
commit | e4f7637f8aefa2ad5159a1cda46fedea6eaf64fc (patch) | |
tree | 52851c9c02c4c8acdf0a08dccb55e49403856212 /tools/perf/builtin-kvm.c | |
parent | b880deeaffd9df0cec9a4496447d0d7fd78086f2 (diff) |
perf kvm: Total count is a u64, print as so
remove cast and use proper type in format.
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Dong Hao <haodong@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1349716656-48165-11-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-kvm.c')
-rw-r--r-- | tools/perf/builtin-kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c index 8416754b2bc3..72a302e7807e 100644 --- a/tools/perf/builtin-kvm.c +++ b/tools/perf/builtin-kvm.c | |||
@@ -673,8 +673,8 @@ static void print_result(struct perf_kvm *kvm) | |||
673 | pr_info("\n"); | 673 | pr_info("\n"); |
674 | } | 674 | } |
675 | 675 | ||
676 | pr_info("\nTotal Samples:%lld, Total events handled time:%.2fus.\n\n", | 676 | pr_info("\nTotal Samples:%" PRIu64 ", Total events handled time:%.2fus.\n\n", |
677 | (unsigned long long)kvm->total_count, kvm->total_time / 1e3); | 677 | kvm->total_count, kvm->total_time / 1e3); |
678 | } | 678 | } |
679 | 679 | ||
680 | static int process_sample_event(struct perf_tool *tool, | 680 | static int process_sample_event(struct perf_tool *tool, |