Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5965972ybe; Tue, 10 Sep 2019 11:27:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHdtMUdtdGfnqJS38vOXBoj9moct7MWQ2Ixp8ja0VjSM1GwTfdbXwqh2dqPS0WyXi+lDdN X-Received: by 2002:a17:906:a38c:: with SMTP id k12mr26424237ejz.181.1568140027813; Tue, 10 Sep 2019 11:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568140027; cv=none; d=google.com; s=arc-20160816; b=Kfs6YSHMOf2mP/kCgkKLO6QnJ4yL1G4l4+zwCbAYfKzA6rkjLVjQMvpbPvJFYsbsvR JAwQ5+hRdoTeBu3iEGBHipdw2jEFhhNlfn7eOAzlLnmXjLttpT58jcDlxDZg18KBw7FV 83BiTONG3ufqyn+/v/FkwQ27k+KHm/yc2/qjur4ou7+tmS36v0+E4cHar5O5YUNviUzD EI1zVc1o5AmdRmtrpz04hFTvWrAI57YqcY1D7wbt+DlqmZkRV+p1QWsxMll54us20//Z 6J81X5mVGwZW+Odf6XE+6UDU1+ct9/lGjGcPbPcfoyrryfeNPAdBBabLlSRbSjzqBtwc ehLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=26Wst1tOghrDUnY62Gv01qINYsQrhb3q0IbTkiTmqqM=; b=Ct4Ms3S4oLuH7ipcNCxyR6vBMu1stT3AYnOVuBrwWZeuPL07IaDAiYEfUP492V8XpG 4PdXuvnSrThN2HAT8TVFp92HvJ2lQynotTa2kMVb9AaGrrlMH91jru4VXyDJXkVJPPUO cMV0J5E24Lsdl/S9VT75bxKr/srt6xIKcoYBjxzs78GrBOV9Nm3RcSAdD800T69xsBUE 7E/o85TQayN8GwaVe4d5cwwJndqMO3EFpC6C7LkXPfnNVMXB9xVjSCJfYMxmnyDcOdJO Ud7FWVhwgytYKD2Zozoyy3XU+5F9/H5wtVS+vEWiywwYkUSAyDq+af8pyEtvUtYJx/Yh l31Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uDgCrBJ8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y25si3676292edm.358.2019.09.10.11.26.43; Tue, 10 Sep 2019 11:27:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uDgCrBJ8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732362AbfIIOTZ (ORCPT + 99 others); Mon, 9 Sep 2019 10:19:25 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40058 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732116AbfIIOTW (ORCPT ); Mon, 9 Sep 2019 10:19:22 -0400 Received: by mail-pf1-f195.google.com with SMTP id x127so9247815pfb.7 for ; Mon, 09 Sep 2019 07:19:22 -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=uDgCrBJ8MVKrIJnLVcX6OI2xCnSlaOKwBS0DSWEhI6CUBa93RmqQTvPt7XgnLSveB3 7oLwbehofSn81Eqmdkn69+iqm8nxTQ/fh6mDVvWzlmNnqkx3Kyn/g3Xo9SGRD51zWJYu 8+DfMUGX3DN0jRMSzeAqntZ/HCCH1mOOZACEsbT1kibLUXi6qbNaDoyI8Oyke2h00GeE cJYn9BNcRKNUJ4ktDjoajQAXj3zexp3l44Sx0hJ00zRb/4ihTYszssdJf/F28XtCbp2v EZtMO49bblr+anhM8nYxPoWfGV4UC6Vha1MjwFzb/O5z8e5yeYGaHYzBQvR9FSAVGGnA fmrQ== 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=GCiukuPBMMCumFjvb1Xvjcx/knzds5y7qWGsNw8IfC9i6GTSXGqitUrVqFaTRPq0L3 0AAYTRmLmcCrLxayMua5RdcW3kbM3x2ZWspGtTADB5+stEChqlKZj8WxXTqOEnd0nz7f 6XCPtBdLSdlAjVOnJw9BjzcqV8hmq3AndbqNyIX/+48G27bBU9EFKS/q4UJbXfwMVJZv RmKKENBG1MScdw2RGmBisoGtQpW3143wfLzs1BlrT480eu52MAQK/KD95s6VALIl0/zR O9t526JL165o342i7TyJys3jNHoVUqmpSgwuexE5MV+H7BxmIbdb1/QqsW+m8bgPiatk 042g== X-Gm-Message-State: APjAAAW8+ZEzC4RYW7nlf1Ca4FL6IjV2nL6VE/uhUGMi++a2GCD+ch/C aSnOaIjgYJEPcL1iQKh226k= X-Received: by 2002:aa7:82d9:: with SMTP id f25mr17667823pfn.117.1568038761846; Mon, 09 Sep 2019 07:19:21 -0700 (PDT) Received: from localhost.localdomain ([149.28.153.17]) by smtp.gmail.com with ESMTPSA id w6sm34574695pfw.84.2019.09.09.07.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 07:19:21 -0700 (PDT) From: Changbin Du To: Andrew Morton , Randy Dunlap Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Changbin Du Subject: [PATCH v2 8/9] kconfig/hacking: Move DEBUG_BUGVERBOSE to 'printk and dmesg options' Date: Mon, 9 Sep 2019 22:18:22 +0800 Message-Id: <20190909141823.8638-9-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190909141823.8638-1-changbin.du@gmail.com> References: <20190909141823.8638-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