Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753772AbaATXOT (ORCPT ); Mon, 20 Jan 2014 18:14:19 -0500 Received: from terminus.zytor.com ([198.137.202.10]:53996 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762AbaATXOR (ORCPT ); Mon, 20 Jan 2014 18:14:17 -0500 Message-ID: <52DDAD9D.9030504@zytor.com> Date: Mon, 20 Jan 2014 15:13:33 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Linus Torvalds , Arnaldo Carvalho de Melo , Peter Zijlstra CC: Cong Ding , "H. Peter Anvin" , Ingo Molnar , Ingo Molnar , Kees Cook , Linux Kernel Mailing List , Mathias Krause , Michael Davidson , Thomas Gleixner , Wei Yongjun Subject: Re: [GIT PULL] x86/kaslr for v3.14 References: <201401201647.s0KGlZdh004167@tazenda.hos.anvin.org> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/20/2014 03:12 PM, Linus Torvalds wrote: > On Mon, Jan 20, 2014 at 2:54 PM, Linus Torvalds > wrote: >> So I pulled this, but one question: > > .. oh, and since I decided to test it, and was looking for problems: > enabling kaslr breaks "perf". The *profile* looks fine, but the > disassembly doesn't work. > > I'm not entirely surprised. I decided I wanted to test it for a > reason, after all. So it's not unexpected, but perhaps people hadn't > thought about it, and clearly hadn't tested it. > > Kernel modules disassemble fine, so clearly perf knows about code that > moves around, but apparently it gets surprised when the core vmlinux > file disassembly doesn't match addresses. > So this is presumably something that needs to be fixed in perf? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/