Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3641925ybi; Mon, 29 Jul 2019 10:00:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnNIdxpeY67XVQ3PBiK+0nzrOxL3EuLxjlIFELtKCfbW77YE3voPuHPowKc8NALI/Irwon X-Received: by 2002:a17:90a:c20e:: with SMTP id e14mr72980486pjt.0.1564419613921; Mon, 29 Jul 2019 10:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564419613; cv=none; d=google.com; s=arc-20160816; b=BlM4ainLgBEBrxIpklcG/Qn6GBFE7KDirjRE4Pclwy02MA7aDXjlN/nhC5pZW0iP0d O2zAx4Ql/6Lq6NIixrdgS68oqke4Xq4TktrXDrvFMf0S06dWLnZfa/t6Te4NIdus4H92 7yMBb22UloXpmPKQQ45x6ZzkpaARTl2BNgi9MuOjMhBCef2b9mHV4m8VVywpE2tI5//p a8qRjsO8V6s1+uGVUSVtvR12/1lHHERaDvY6hSBoKeYDkgVRxq8rRALcylmj6A/qyWh7 SIEdRCsUYNcFD5VXGpeQiWnHu3WpwDsu7SBoo4iDDJdmH6ySVdAW4LSR+wkvvwCZUIlb AgRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pAIl7l5xV9a61+zwFKixB9aQRDsJsbV90e9I/piolA4=; b=oExGW9FSkT9/nQC5wIbkFIx74L7T4WbXz+uAZJWCEb3YvXM8B84bXjnFwPq5wnNghp fsVy+q1o/g0B0jj3Yq/Q7me/qrQLQQRshMKHgMceDUB79nWbwVPGR75F3ne2dBMoSeYR E8V2sSoFeaF2W2qm8w4NHBFMHVdG7jet09SqJiCI3imUnIi6mxK3PuPb8jpvYn2OiHRK bE34j+RNIgLmC/J/MOzt0Js4/ywgHeHxznb1o4hUtayrasPs7bgjAjWg6yv5PLyGJAaj DC83mAa9Y+oeDRJQewlraZKRjiVHdjJDz0tMjUDnEcXJcX5F9IqJvBynD+NQ5cmYVpRM 9z1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="c/T89pkw"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si26723888pfc.155.2019.07.29.09.59.58; Mon, 29 Jul 2019 10:00:13 -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=@google.com header.s=20161025 header.b="c/T89pkw"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728051AbfG2Qpv (ORCPT + 99 others); Mon, 29 Jul 2019 12:45:51 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46527 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727488AbfG2Qpv (ORCPT ); Mon, 29 Jul 2019 12:45:51 -0400 Received: by mail-pl1-f194.google.com with SMTP id c2so27703586plz.13 for ; Mon, 29 Jul 2019 09:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pAIl7l5xV9a61+zwFKixB9aQRDsJsbV90e9I/piolA4=; b=c/T89pkwIUj69b0jSIkbiOwuu/NDAXXwoyH2e+hkNbC9KBow0X0s40uzOd3jHqdmoO vQBK8QdLYbyHbIls9D1bDHbOrYU59y2ItiNmwb4onsM0SJKt694uU7eIbRS1ARauPJ6l EXDVjXhCJ1BH2uj6/k4ssjiIYxLAcEEpqZVbJq1ylD7ksMpnPhnYDjLCz7MAXfxXDtyR FYny1flcGh2KgqQt4T+ISe8rKRmbGoDYJLUTi8yJPFfMdL7xY3ftN23S4R0MlfE//X1p ZsRwq29gL+sEgQVxujFtLh/VgYkvMj3KNcrBmr0TGagCTKIV1SKl2VTFokmorSZxQzw5 zE2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pAIl7l5xV9a61+zwFKixB9aQRDsJsbV90e9I/piolA4=; b=UO6ea2JPZc18s04X2YoEoksUfQfDJ8bvIcYrVB+PmQi0TIotY11XpERnW1mHFu6/6s WyX6q+phCuz7xO9OSj56ToRROPHl+ml0+cCOVtEMZjAJ3XOd2udQV0L6/bT5UCiTEpJA Bv18/HjlVJG8auHT+0W46mOMpF7QXGOFcxVp86ObAP0NXaOmFs1+XcTmTvNYOyNA7iZw kuhN0Ry9uzhAYxZDaKBqeadFru2PGXX7hcrbaJw83Cc7g2cZsiR+LNZMgzBeOHmsmLcb W/pw3BZnDbv1IMctiDPWPSVPyEISbPKNdcXMOr0cY3pNgJHSg/cavHHzkpbDrrC2q37g ltrw== X-Gm-Message-State: APjAAAVZzeRYY+1PHDWpKmgEb+FvBIammFW+yUR77tLyWVCA/oPrO46q amMvptNXvHE0i3TDs996P0H4DM8svUo= X-Received: by 2002:a17:902:23:: with SMTP id 32mr24198236pla.34.1564418749725; Mon, 29 Jul 2019 09:45:49 -0700 (PDT) Received: from google.com ([2620:0:1008:1101:3355:2f1d:dbad:b153]) by smtp.gmail.com with ESMTPSA id o13sm64761916pje.28.2019.07.29.09.45.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 09:45:49 -0700 (PDT) Date: Mon, 29 Jul 2019 09:45:45 -0700 From: Tom Roeder To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Nick Desaulniers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] gen_compile_commands: lower the entry count threshold Message-ID: <20190729164545.GA200478@google.com> References: <20190727030110.17208-1-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190727030110.17208-1-yamada.masahiro@socionext.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 27, 2019 at 12:01:10PM +0900, Masahiro Yamada wrote: > Running gen_compile_commands.py after building with allnoconfig > gave this: > > $ ./scripts/gen_compile_commands.py > WARNING: Found 449 entries. Have you compiled the kernel? Thanks for catching this! I should have tried with allnoconfig when I originally did this, but I didn't think of it. > > Signed-off-by: Masahiro Yamada Reviewed-by: Tom Roeder > --- > > scripts/gen_compile_commands.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/scripts/gen_compile_commands.py b/scripts/gen_compile_commands.py > index 7915823b92a5..c458696ef3a7 100755 > --- a/scripts/gen_compile_commands.py > +++ b/scripts/gen_compile_commands.py > @@ -21,9 +21,9 @@ _LINE_PATTERN = r'^cmd_[^ ]*\.o := (.* )([^ ]*\.c)$' > _VALID_LOG_LEVELS = ['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'] > > # A kernel build generally has over 2000 entries in its compile_commands.json > -# database. If this code finds 500 or fewer, then warn the user that they might > +# database. If this code finds 300 or fewer, then warn the user that they might > # not have all the .cmd files, and they might need to compile the kernel. > -_LOW_COUNT_THRESHOLD = 500 > +_LOW_COUNT_THRESHOLD = 300 > > > def parse_arguments(): > -- > 2.17.1 >