Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560AbdIERJz (ORCPT ); Tue, 5 Sep 2017 13:09:55 -0400 Received: from scorn.kernelslacker.org ([45.56.101.199]:45936 "EHLO scorn.kernelslacker.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075AbdIERJy (ORCPT ); Tue, 5 Sep 2017 13:09:54 -0400 Date: Tue, 5 Sep 2017 13:09:53 -0400 From: Dave Jones To: Linux Kernel Mailing List Cc: Josh Poimboeuf Subject: Re: x86/kconfig: Consolidate unwinders into multiple choice selection Message-ID: <20170905170953.gqqrnmeahoojrdwz@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Linux Kernel Mailing List , Josh Poimboeuf MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Note: SpamAssassin invocation failed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2083 Lines: 65 On Mon, Sep 04, 2017 at 08:05:13PM +0000, Linux Kernel wrote: > Web: https://git.kernel.org/torvalds/c/81d387190039c14edac8de2b3ec789beb899afd9 > Commit: 81d387190039c14edac8de2b3ec789beb899afd9 > Parent: a34a766ff96d9e88572e35a45066279e40a85d84 > Refname: refs/heads/master > Author: Josh Poimboeuf > AuthorDate: Tue Jul 25 08:54:24 2017 -0500 > Committer: Ingo Molnar > CommitDate: Wed Jul 26 14:05:36 2017 +0200 > > x86/kconfig: Consolidate unwinders into multiple choice selection > > There are three mutually exclusive unwinders. Make that more obvious by > combining them into a multiple-choice selection: > > CONFIG_FRAME_POINTER_UNWINDER > CONFIG_ORC_UNWINDER > CONFIG_GUESS_UNWINDER (if CONFIG_EXPERT=y) The help texts for the various unwinders are now attached to the wrong kconfig item. > +choice > + prompt "Choose kernel unwinder" > + default FRAME_POINTER_UNWINDER > + ---help--- > + This determines which method will be used for unwinding kernel stack > + traces for panics, oopses, bugs, warnings, perf, /proc//stack, > + livepatch, lockdep, and more. This is what gets displayed, but tells me nothing about what the benefits/downsides are of each (or even what they are; I had to read the Kconfig file to figure out what 'GUESS' meant) an oldconfig run .. Choose kernel unwinder > 1. Frame pointer unwinder (FRAME_POINTER_UNWINDER) (NEW) 2. ORC unwinder (ORC_UNWINDER) (NEW) 3. Guess unwinder (GUESS_UNWINDER) (NEW) choice[1-3?]: ? This determines which method will be used for unwinding kernel stack traces for panics, oopses, bugs, warnings, perf, /proc//stack, livepatch, lockdep, and more. Prompt: Choose kernel unwinder Location: -> Kernel hacking Defined at arch/x86/Kconfig.debug:359 Selected by: m Choose kernel unwinder > 1. Frame pointer unwinder (FRAME_POINTER_UNWINDER) (NEW) 2. ORC unwinder (ORC_UNWINDER) (NEW) 3. Guess unwinder (GUESS_UNWINDER) (NEW) choice[1-3?]: Dave