From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755685AbaCNUI7 (ORCPT ); Fri, 14 Mar 2014 16:08:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12675 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755523AbaCNUI5 (ORCPT ); Fri, 14 Mar 2014 16:08:57 -0400 Date: Fri, 14 Mar 2014 16:08:46 -0400 From: Dave Jones To: Linus Torvalds Cc: Kees Cook , Sasha Levin , Linux Kernel Mailing List Subject: Re: [RFC] improve_stack: make stack dump output useful again Message-ID: <20140314200846.GA6633@redhat.com> Mail-Followup-To: Dave Jones , Linus Torvalds , Kees Cook , Sasha Levin , Linux Kernel Mailing List References: <1393114777-21588-1-git-send-email-sasha.levin@oracle.com> <5321CBDA.1060705@oracle.com> <20140313231227.GA32178@redhat.com> <20140314190824.GA6426@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 14, 2014 at 12:32:23PM -0700, Linus Torvalds wrote: > On Fri, Mar 14, 2014 at 12:08 PM, Dave Jones wrote: > > > > ok, nokalsr makes it work too. > > Booting with that and using the perf binary from 3.14rc6 , I just see.. > > > > 9.30% [kernel] [k] 0xffffffffaf18e887 > > Hmm. Do you have CONFIG_KALLSYMS enabled? $ grep KALLSYMS .config CONFIG_KALLSYMS=y CONFIG_KALLSYMS_ALL=y mine looks like this.. http://codemonkey.org.uk/junk/kallsyms > I have CONFIG_RANDOMIZE_BASE=y and perf (both report and top) seems to > work fine for me (current git, not v3.14-rc6, but still) yeah, on current now too. CONFIG_RANDOMIZE_BASE=y CONFIG_RANDOMIZE_BASE_MAX_OFFSET=0x40000000 Dave