mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Qian Cai <quic_qiancai@quicinc.com>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: <linux-kbuild@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Introduce "make debugconfig"
Date: Thu, 28 Oct 2021 09:32:51 -0400	[thread overview]
Message-ID: <962c0565-89a3-c6d2-37e0-a93c8c753d57@quicinc.com> (raw)

Hi there, some general debugging features like kmemleak, KASAN, lockdep,

UBSAN etc help fix many viruses like a microscope. On the other hand, those
 features are scatter around and mixed up with more situational debugging
 options making them difficult to consume properly.



Since I have been deal with those options on a daily basis for the last

a few years and accumulated the knowledge of their pros and cons, I am

thinking about to create an initial "make debugconfig" target, so that
it could amplify the general debugging/testing efforts and help
establish sensitive default values for those options across the broad.


The idea is to have a debugconfig inside kernel/configs/ and update
scripts/kconfig/Makefile and Documentation/admin-guide/README.rst
accordingly. I am still trying to figure out a few implementation
details like how to convert an existing .config to debugconfig, but want
to gather some feedback before I dive in too deep.

             reply	other threads:[~2021-10-28 13:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-28 13:32 Qian Cai [this message]
2021-10-28 14:03 ` Masahiro Yamada
2021-10-28 14:14   ` Qian Cai
2021-10-28 15:08   ` Qian Cai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=962c0565-89a3-c6d2-37e0-a93c8c753d57@quicinc.com \
    --to=quic_qiancai@quicinc.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®