aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-23 17:23:16 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-06 03:30:29 -0400
commit193e8df1b465f206f8a286202680702e1c153367 (patch)
treeb49a4477c536f070b58a3b2b08c1d065839dfa06
parent383c5f8cd7d253be0017d8d5a39cbb78aaf70206 (diff)
perf_counter tools: fix build warning in kerneltop.c
Fix: kerneltop.c: In function ‘record_ip’: kerneltop.c:1005: warning: format ‘%016llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ Cc: Wu Fengguang <fengguang.wu@intel.com> Cc: Paul Mackerras <paulus@samba.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Orig-LKML-Reference: <20090323172417.677932499@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--Documentation/perf_counter/kerneltop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/kerneltop.c b/Documentation/perf_counter/kerneltop.c
index 25e80bc44556..8f9a303f28d8 100644
--- a/Documentation/perf_counter/kerneltop.c
+++ b/Documentation/perf_counter/kerneltop.c
@@ -1002,7 +1002,7 @@ static void record_ip(uint64_t ip, int counter)
1002 assert(left <= middle && middle <= right); 1002 assert(left <= middle && middle <= right);
1003 if (!(left <= ip && ip <= right)) { 1003 if (!(left <= ip && ip <= right)) {
1004 printf(" left: %016lx\n", left); 1004 printf(" left: %016lx\n", left);
1005 printf(" ip: %016llx\n", ip); 1005 printf(" ip: %016lx\n", (unsigned long)ip);
1006 printf("right: %016lx\n", right); 1006 printf("right: %016lx\n", right);
1007 } 1007 }
1008 assert(left <= ip && ip <= right); 1008 assert(left <= ip && ip <= right);