Files
linux-kernel-test/arch/x86/kernel
Torok Edwin 257ef9d21f perf, x86: Fix callgraphs of 32-bit processes on 64-bit kernels
When profiling a 32-bit process on a 64-bit kernel, callgraph tracing
stopped after the first function, because it has seen a garbage memory
address (tried to interpret the frame pointer, and return address as a
64-bit pointer).

Fix this by using a struct stack_frame with 32-bit pointers when the
TIF_IA32 flag is set.

Note that TIF_IA32 flag must be used, and not is_compat_task(), because
the latter is only set when the 32-bit process is executing a syscall,
which may not always be the case (when tracing page fault events for
example).

Signed-off-by: Török Edwin <edwintorok@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
LKML-Reference: <1268820436-13145-1-git-send-email-edwintorok@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-04-02 19:30:03 +02:00
..
2009-07-19 18:27:51 +02:00
2009-10-29 22:34:14 +09:00
2010-02-17 18:28:05 +01:00
2010-02-07 17:47:51 +01:00
2010-01-05 09:17:33 +09:00
2010-02-09 11:13:56 +01:00
2009-09-24 09:34:52 +09:30
2010-02-24 11:01:33 -08:00
2009-11-17 07:53:21 +01:00
2009-07-14 16:25:05 +02:00
2009-09-15 15:08:40 -04:00
2009-12-09 16:28:59 -08:00
2009-07-19 18:27:51 +02:00
2010-03-12 15:52:32 -08:00
2010-03-12 15:52:32 -08:00
2010-02-16 18:21:32 +01:00
2010-03-08 16:55:37 +01:00