perf symbols: Correct final kernel map guesses
authorIan Munsie <imunsie@au1.ibm.com>
Thu, 25 Nov 2010 04:12:53 +0000 (15:12 +1100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 27 Nov 2010 03:32:53 +0000 (01:32 -0200)
commit9d1faba5fe410558099f13cfada2eab03186769d
treed54ec147bcf9bdb2f487731ab6a8eb32ecde937f
parent37982ba0a0630066a6a0844a66aedaf91c66db84
perf symbols: Correct final kernel map guesses

If a 32bit userspace perf is running on a 64bit kernel, the end of the final
map in the kernel would incorrectly be set to 2^32-1 rather than 2^64-1.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1290658375-10342-1-git-send-email-imunsie@au1.ibm.com>
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/event.c
tools/perf/util/symbol.c