Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1623882pxb; Thu, 28 Oct 2021 07:10:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkxOdJfcadvcT1ej/DWykC+QPUasmXooYTGjB+QTtenb8mykLklQjsuvu74ZzBG4U8yhKY X-Received: by 2002:a50:bf05:: with SMTP id f5mr6458418edk.156.1635430246534; Thu, 28 Oct 2021 07:10:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635430246; cv=none; d=google.com; s=arc-20160816; b=sN1FFTpQx3nuK5C9RVlkayaUvLsBqlRCfwnCFFtCkKEcHcVqP0e9gXGjhZNiEqS2FS JlAQ9ev8W4TdXzg5c+f9bKyfekweL3k7ada9XMdQ2MFObE0TAqf5TfgO7UjPsjF+2ZHt MAMRIj9LfJDNGD1i7cRt03uRDBRSFUjuj68996Aizzz1K8BF0VZ4Gii7LVynZmoBfZI3 5CLrjAzBrQ8YgxMXePkpak5nFrhHFRo9o7/BeLeHU5QoMrzdF6iKvlmAn9qYlyIZOqEE 48RiUydulBCNlzg5hKQt3z4ADwNKI4uyEYfXWFEOVK1XgzJd7X0o0vnAXl2pp3uiIwoZ DKkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=Sea5hD6phvwTmk5ZADmU7oqXzEZCMAYU29Idfkm0Ubg=; b=AkBGP+7cVdikabhT6FIXXAvgybMm9NXKy9LDeqlmosT2JvQVOdTvutWItqqI6zJlw4 ZaxBIIEsx9qns3VV7leUioZj+wpeFG3xZypaRvIr+QvMSneWFfgBj223dVvEeNWpUSnk KiPdO5DieowmkfHOOPbps4flZXEDP9+lVjcvJYNiQ6Obvst9eM1OtViotUzb9cdEO9gg g5/rNRku6QQ/4lZ46uvNqKtoUKUQ7FBBT9g7E7MzQxEz5AbI3uhGZ4R0A9rLW8wgorpX p6CFO0QF2+fwPAsdSNtsikVpfY0gvhq4hOSg4ugiyIwo6Gi9wU/In25OMLG0EwDvvsAz n0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=yi6Bwuyy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hg3si5096133ejc.421.2021.10.28.07.10.14; Thu, 28 Oct 2021 07:10:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=yi6Bwuyy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230471AbhJ1OHX (ORCPT + 99 others); Thu, 28 Oct 2021 10:07:23 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:54253 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbhJ1OHT (ORCPT ); Thu, 28 Oct 2021 10:07:19 -0400 Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 19SE4WjO022024; Thu, 28 Oct 2021 23:04:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 19SE4WjO022024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1635429873; bh=Sea5hD6phvwTmk5ZADmU7oqXzEZCMAYU29Idfkm0Ubg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=yi6BwuyyjwhN8oBIlmznzedZQr+PW3rIPs6ynCAqem0e1daYGX3uxzeFAGu3f2XS2 xu/H52j/+0ymy6o/EJJ/ULeM2YHq4/DvlJmR7yQaFxVsAywb0DS7rePauSePa0hsHp HoFD3dJhL1+HncmghTJSxkZu5nec+K9GSbrnm6qK0iVv5lFwRMedTtBHAIynvJ40Gg aUNqdtB11wCXtrS5H+BLaPXDklyKjFwS7Nl22tJR3xIKkNe0SFBQ5YcNvEc6BWJBBW 9wIqU6QHfb9CrynA6S5qAp+Jfuph2+bI7bEdI/NK8tLZ1BQBcKG772Rkf1foEENmD2 q5Ynm4fz9Tpbw== X-Nifty-SrcIP: [209.85.215.169] Received: by mail-pg1-f169.google.com with SMTP id g184so6461445pgc.6; Thu, 28 Oct 2021 07:04:32 -0700 (PDT) X-Gm-Message-State: AOAM532zVUIGjF7f+KWtISQEuZf6ENkq+7hrGe6aVhQyOt9anFnvmKxb KbKBXqc03QlmnUh6zx57U8FbyUVlNHl1vlZlUd4= X-Received: by 2002:a63:d64c:: with SMTP id d12mr3422492pgj.186.1635429871388; Thu, 28 Oct 2021 07:04:31 -0700 (PDT) MIME-Version: 1.0 References: <962c0565-89a3-c6d2-37e0-a93c8c753d57@quicinc.com> In-Reply-To: <962c0565-89a3-c6d2-37e0-a93c8c753d57@quicinc.com> From: Masahiro Yamada Date: Thu, 28 Oct 2021 23:03:54 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Introduce "make debugconfig" To: Qian Cai Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 28, 2021 at 10:32 PM Qian Cai wrote: > > 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 Please do not wire it up to 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. -- Best Regards Masahiro Yamada