perf tools: Don't cast RIP to pointers
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Jan 2010 14:23:09 +0000 (12:23 -0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 16 Jan 2010 09:58:45 +0000 (10:58 +0100)
commit0d755034dbd01e240eadf2d31f4f75d3088ccd21
tree922b509d4bf2964ea369c8586f9f2931065e0191
parent66aeb6d5cb701aedd508187e08612bfd1e108e2e
perf tools: Don't cast RIP to pointers

Since they can come from another architecture with bigger
pointers, i.e. processing a 64-bit perf.data on a 32-bit arch.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1263478990-8200-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-diff.c
tools/perf/builtin-kmem.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-trace.c
tools/perf/util/event.c
tools/perf/util/session.c