From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932677AbcHXStS (ORCPT ); Wed, 24 Aug 2016 14:49:18 -0400 Received: from merlin.infradead.org ([205.233.59.134]:35324 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932294AbcHXStR (ORCPT ); Wed, 24 Aug 2016 14:49:17 -0400 Date: Wed, 24 Aug 2016 20:22:20 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Josh Poimboeuf , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , the arch/x86 maintainers , Linux Kernel Mailing List , Andy Lutomirski , Steven Rostedt , Brian Gerst , Kees Cook , Frederic Weisbecker , Byungchul Park , Nilay Vaish Subject: Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful Message-ID: <20160824182220.GB10153@twins.programming.kicks-ass.net> References: <9fbe0db05bacf66d337c162edbf61450d0cff1e2.1472057064.git.jpoimboe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 24, 2016 at 02:03:58PM -0400, Linus Torvalds wrote: > > For the non-kallsyms case we _could_ also just make the '%pB' format > add the [<>] markers back in case somebody still uses the user-space > kallsyms script that looks up hex numbers. > > Right now the hex numbers are not only useless in stack dumps (since > you can't look up symbols using them anyway thanks to randomization), > they are noise that makes the stack traces harder to read. So let's > just remove them? I actively disable KASLR on my dev box and feed these hex numbers into addr2line -ie vmlinux to find where in the function we are. Having the option to make %pB generate them works for me.