From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B958C4740A for ; Mon, 9 Sep 2019 14:45:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2C8E2086D for ; Mon, 9 Sep 2019 14:45:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rG/rfJU3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388278AbfIIOpu (ORCPT ); Mon, 9 Sep 2019 10:45:50 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:33578 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388058AbfIIOps (ORCPT ); Mon, 9 Sep 2019 10:45:48 -0400 Received: by mail-pg1-f194.google.com with SMTP id n190so7983651pgn.0 for ; Mon, 09 Sep 2019 07:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=26Wst1tOghrDUnY62Gv01qINYsQrhb3q0IbTkiTmqqM=; b=rG/rfJU3xh0k1J0AJwUGXwYUar2jktQsLUuMOXzcJb0ls1+ISaHOnUqBcqHbScS8Qc fxdYbctecuMQP4kVTiOgGhwyuVFHSDvkAs1mIuIJTFazsMRPShY0fJ5EtznzwFRZBDxL ap/bAt700qWPX7PT6wcnWksKDAVozVObGXtHwnUDQPlsmspkzlvkC1u99hmtt9iDHYhm Xf+ZNacpugW70l81Jvg+4uC2qmA5/bdtXMRepOmN9VHHMEyqChCxyVpMwUGmOOFPVIv5 2OxFvXNI4M5uR/hbyaiVlN++NoKUpB9/Y/dw9rCOtef5nW1Ca9gYAgPpZ9GP5dPcefEa uR+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=26Wst1tOghrDUnY62Gv01qINYsQrhb3q0IbTkiTmqqM=; b=hBmJC3ktyOdKbIzWM5mFTnAU6UMTHoGicz6NipdsbD/0seXC4PeSDjKCtSQk6dEqye VFsPut9GgqRROPIeyWTnjJgwG3Hfz7jBMiDQwdRrxR3yhMseC7Ckv8I7UeF3ZAae3aeN NNy8CD78eRYIJEUhKcSauOLZUG3Ln4jGmVjEIoOwHwTnqptjnHrjLVYQWuF3xYKXHzM9 fa67P6wLimGdPg+2v78cKtEu+c7+OuXSCZEW2N/EnQi5xybYqVGp2kgyQgHbEBYPcYbF hJ3WAFy/aDXN2SCfBhwCSYfUofFpiKzSFCCBgFAPNOz8zYFiO1FRvwX2sdGxJstKNVej wEUA== X-Gm-Message-State: APjAAAXI1M0Bgu5bcFOouLiIddse02DZkXycZ5a92z8zdYOTC9MtKSRg SZ3NM7+zN6lazI6hoY2jC3k= X-Google-Smtp-Source: APXvYqy8lNimDXQ2Ss3y8cw5j0IRed1AuEGcqTY1oNoklGNuGn+m12ZfrpopYBKbvakqyb4+BbiusQ== X-Received: by 2002:a63:1310:: with SMTP id i16mr21708517pgl.187.1568040347524; Mon, 09 Sep 2019 07:45:47 -0700 (PDT) Received: from localhost.localdomain ([149.28.153.17]) by smtp.gmail.com with ESMTPSA id t9sm15334693pgj.89.2019.09.09.07.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 07:45:47 -0700 (PDT) From: Changbin Du To: Andrew Morton , Randy Dunlap Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Changbin Du Subject: [PATCH v3 8/9] hacking: Move DEBUG_BUGVERBOSE to 'printk and dmesg options' Date: Mon, 9 Sep 2019 22:44:52 +0800 Message-Id: <20190909144453.3520-9-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190909144453.3520-1-changbin.du@gmail.com> References: <20190909144453.3520-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I think DEBUG_BUGVERBOSE is a dmesg option which gives more debug info to dmesg. Signed-off-by: Changbin Du --- lib/Kconfig.debug | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index ce891713c914..ceefe0c1e78b 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -164,6 +164,15 @@ config DYNAMIC_DEBUG See Documentation/admin-guide/dynamic-debug-howto.rst for additional information. +config DEBUG_BUGVERBOSE + bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT + depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE) + default y + help + Say Y here to make BUG() panics output the file name and line number + of the BUG call as well as the EIP and oops trace. This aids + debugging but costs about 70-100K of memory. + endmenu # "printk and dmesg options" menu "Compile-time checks and compiler options" @@ -1323,15 +1332,6 @@ config DEBUG_KOBJECT_RELEASE config HAVE_DEBUG_BUGVERBOSE bool -config DEBUG_BUGVERBOSE - bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT - depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE) - default y - help - Say Y here to make BUG() panics output the file name and line number - of the BUG call as well as the EIP and oops trace. This aids - debugging but costs about 70-100K of memory. - menu "Debug kernel data structures" config DEBUG_LIST -- 2.20.1