From: Peter Zijlstra Date: Fri, 7 Oct 2011 11:36:40 +0000 (+0200) Subject: perf/x86: Fix PEBS instruction unwind X-Git-Tag: v3.2-rc5~42^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57d1c0c03c6b48b2b96870d831b9ce6b917f53ac;p=pandora-kernel.git perf/x86: Fix PEBS instruction unwind Masami spotted that we always try to decode the instruction stream as 64bit instructions when running a 64bit kernel, this doesn't work for ia32-compat proglets. Use TIF_IA32 to detect if we need to use the 32bit instruction decoder. Reported-by: Masami Hiramatsu Cc: stable@kernel.org Signed-off-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed