From: Randy Dunlap <rdunlap@infradead.org>
To: Hanasaki Jiji <hanasaki@gmail.com>,
LIST - Linux Kernel <linux-kernel@vger.kernel.org>,
Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>
Subject: Re: .config and "make" / turning off all debug
Date: Wed, 22 Feb 2023 16:29:31 -0800 [thread overview]
Message-ID: <6dc4d3ce-005c-13be-971b-1c026e3272c1@infradead.org> (raw)
In-Reply-To: <CAMr-kF0rCQZ6OQkb5g5pAzWddFKDv4CGYLFzDQs=hYLjJMsuQw@mail.gmail.com>
Hi,
On 2/22/23 16:21, Hanasaki Jiji wrote:
> Hello,
>
> Thank you so much for helping out.
>
> Might the below accomplish the task?
>
> cat f | grep -v DEBUG| grep -v TRACE | grep -v TRACING > newConfigFileWithout
It will disable CONFIG_DEBUG_FS. That's OK if that's what you want to do.
But this will just give you something to begin with. It will need more work.
There are lots of config options that use "select" to force another config
option to be set/enabled. Even if you disable an option and you have one of
these other options set/enabled, they will just enable the DEBUG/TRACE options
again for you.
When you find one of these, they pretty much have to be checked and tuned
one-by-one. It can take a lot of time to do that.
--
~Randy
https://people.kernel.org/tglx/notes-about-netiquette
next prev parent reply other threads:[~2023-02-23 0:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 16:16 Hanasaki Jiji
2023-02-22 0:17 ` Randy Dunlap
2023-02-23 0:21 ` Hanasaki Jiji
2023-02-23 0:29 ` Randy Dunlap [this message]
2023-02-24 0:09 ` Hanasaki Jiji
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=6dc4d3ce-005c-13be-971b-1c026e3272c1@infradead.org \
--to=rdunlap@infradead.org \
--cc=hanasaki@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.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®