perf kvm: Total count is a u64, print as so
authorDavid Ahern <[email protected]>
Mon, 8 Oct 2012 17:17:34 +0000 (11:17 -0600)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 8 Oct 2012 20:15:25 +0000 (17:15 -0300)
remove cast and use proper type in format.

Signed-off-by: David Ahern <[email protected]>
Cc: Dong Hao <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Xiao Guangrong <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-kvm.c

index 8416754b2bc3fda0e02ad2395b4d5b3eb1333122..72a302e7807e64c6e5882bd0c7cf7aa195c951f5 100644 (file)
@@ -673,8 +673,8 @@ static void print_result(struct perf_kvm *kvm)
                pr_info("\n");
        }
 
-       pr_info("\nTotal Samples:%lld, Total events handled time:%.2fus.\n\n",
-               (unsigned long long)kvm->total_count, kvm->total_time / 1e3);
+       pr_info("\nTotal Samples:%" PRIu64 ", Total events handled time:%.2fus.\n\n",
+               kvm->total_count, kvm->total_time / 1e3);
 }
 
 static int process_sample_event(struct perf_tool *tool,