Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp789520ybi; Fri, 26 Jul 2019 20:03:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyu1WhKj+yJ+Lr6OzWBL8seyINV2mris68kPTGkNdiBQv7yqv5UMH4fOUVG/qG3m/IV002 X-Received: by 2002:a62:7a8a:: with SMTP id v132mr25455174pfc.103.1564196588125; Fri, 26 Jul 2019 20:03:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564196588; cv=none; d=google.com; s=arc-20160816; b=sKmnx5G810J7NQrunmp88/IbKS7bmX7GXH8c0pvUNMO8Cq8n/BVU2v96oyl1mXAP9Q v/1znVFamHjo4blPtF+YjmUxSH8qTPNdDDvW3V3YsOBlC2GaNJzhE+UencItAbUF9+mj a0Gpl0imHc9RgCmgZZEW9hbbNwdewUsaRbXiomu3DrKgsZZal/CZY9Kaxi8ycM1iBsSx xx/6Nu0KVUO7qyO9MHMK/raaAui33HrErFWPPhZs8xupbX56yVBqe9wmvfoqC+Nmm4Rv Vinhnuh7Pb+fhn63ONMSmlXVgJL2ghxRmIJbxjIRJVTrwtSnZK8YrtyZVIz0aJTA8Qy9 siQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=UNyfgzuhf7SSHm0jA4hur0Fz0ys04Oa0KDkTYVtSEDc=; b=K9/wL+i0R8R1m1Ha5SgR04YFzYediPNZzJs7VDyurl2b4q1p4Mx8Xv8ERJChD8OW2h aeXE80sNY4S8Bo7BOUMgHhS/gSoMN+zrJtkq+88nZ4JlgHNQxTFYbm3IfKXXQ5Cp3b3K zeEw1iqQXz4ukoerPx2TsRiSmSeitNmuTCMJqBMKhoQ4JqA8KL62BGhdS0XvtAyWJIhO FPpK2x5j3DjmLBUXJAYqpHMx++EnG4H2je+0AgGlT+SIvrnnfrfi2x+2EDhx3jQIW31O z82AA4friH4Ok3ysf8uQQjdNptmo6brguaEaGd9q0I3SE5nEOwuauYsby0eAAs1moNCg ceHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="WHk1dk/G"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si22593214plb.41.2019.07.26.20.02.53; Fri, 26 Jul 2019 20:03:08 -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=@nifty.com header.s=dec2015msa header.b="WHk1dk/G"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727569AbfG0DBg (ORCPT + 99 others); Fri, 26 Jul 2019 23:01:36 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:53478 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726184AbfG0DBg (ORCPT ); Fri, 26 Jul 2019 23:01:36 -0400 Received: from grover.flets-west.jp (softbank126026094249.bbtec.net [126.26.94.249]) (authenticated) by conuserg-11.nifty.com with ESMTP id x6R31DYB001215; Sat, 27 Jul 2019 12:01:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x6R31DYB001215 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1564196474; bh=UNyfgzuhf7SSHm0jA4hur0Fz0ys04Oa0KDkTYVtSEDc=; h=From:To:Cc:Subject:Date:From; b=WHk1dk/GTv4oJrrpZoJeX5dy1YFcWYpAJW1ulCm0lYFF8toiGwx+fPiC5jqVv834j 4GeuXH2BvQBaV1i0Xf9HWctpmJA+ZdHnJ5sNNQ+LgVXSEZ7jomflqtnLaBrvb2BOs9 iveJyyMnWFKSe8hrfLHQz0ifZ/OZZFFVF65J+pjzPIfNmDHCiBf4K0+oPX28iiGiNp Z30nvzUK84jxzruInW/odLhB3q/axhMHBRD4OnKGSk/ZBbm+KHrkeWcFCEQhHJvHCy 8WjknL9NDZsW5qgaTrBsfWYBBbdKU3+1AwCxI+vdkjR2f1JdkYi0KZgEYZd5M55k9F 41s8UotmvEvPA== X-Nifty-SrcIP: [126.26.94.249] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Tom Roeder , Nick Desaulniers , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] gen_compile_commands: lower the entry count threshold Date: Sat, 27 Jul 2019 12:01:10 +0900 Message-Id: <20190727030110.17208-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Signed-off-by: Masahiro Yamada --- 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