From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AAFEC55185 for ; Sat, 25 Apr 2020 08:03:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D303D206ED for ; Sat, 25 Apr 2020 08:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587801827; bh=Q9FVcEXiVrvBg/q16CBnBZeiK5yQybG9lZ1rY/Zw65Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=XT5K3i+1BwiJfd+ni63YoMkKOjZxPiUDb+7kGwSVKQfRBSMCE8h5/bBgbrtHxnse1 N4ib5yrey+nHQr9XSuSE1QMdH4VJphrbGFax+decEoZea1rSRZ96DakN5Coc8Y7+Xp yKnF8rhFMGUGjezyk08k+6sRydbfzf4aCwEp2/HM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726128AbgDYIDq (ORCPT ); Sat, 25 Apr 2020 04:03:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:48952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgDYIDq (ORCPT ); Sat, 25 Apr 2020 04:03:46 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 680D5206B6; Sat, 25 Apr 2020 08:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587801826; bh=Q9FVcEXiVrvBg/q16CBnBZeiK5yQybG9lZ1rY/Zw65Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lvPdP4x2ZA2V8BXJ/fIU9WpT9mGCDGvJc0wKhivptX8gdpLI1Vtl3ONVKuYtkNVNG 63ruBPEXkeF63T99UiZtCk+iOgNooqauOCnOsLYJhdYWqb6cXA1eM6jjsbiUtva35c 6zwW/5aRaMMUlBtRR8kCFcZuvJcjGGhDkaN/SlVU= Date: Sat, 25 Apr 2020 10:03:43 +0200 From: Greg KH To: xujialu Cc: corbet@lwn.net, linux-kernel@vger.kernel.org, masahiroy@kernel.org, akpm@linux-foundation.org, mchehab+huawei@kernel.org Subject: Re: [PATCH] scripts: gtags_files_generator.sh Message-ID: <20200425080343.GA2048673@kroah.com> References: <20200423143642.11788-2-xujialu@vimux.org> <20200425073105.27796-1-xujialu@vimux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200425073105.27796-1-xujialu@vimux.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 25, 2020 at 03:31:06PM +0800, xujialu wrote: > Add a script to generate a gtags.files file. > > For navigating linux sources, it will be more efficient if gtags/cscope just > collects source files that needed by compilation. The kernel makefiles already > create *.cmd files that contain the files we needed, then just extracts files > list from them and into gtags.files cause it's the default name list file for > gtags. > > make defconfig > make > scripts/gtags_files_generator.sh > gtags [-f gtags.files] > > Enjoy with vim+gtags. :) What's wrong with just 'make gtags' that we currently have in the kernel tree? Shouldn't that be sufficient, and if not, then you need to explain why it isn't in your changelog. thanks, greg k-h