From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89A15254AFF; Wed, 27 May 2026 18:47:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779907646; cv=none; b=Q3ef9NNn742g1QZQf4KFXKIW6kY8i0zepapOUOLft9Qcsl8UHkilPcWMk8vI+OMSEBo10a6ds+PFHJ8VytTgRm5TahyhlHEwoaQFesepDuOH4F+aSH38xthDUSnsnzZvUQ/y3GMrKy6zxxficdC8mTxQgggL6d3W+XI4gCjtoqU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779907646; c=relaxed/simple; bh=oQpCe0uGj3OBquUbAbn7iUlrhQGUI6Gpp+26g5W4iLE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MMskpxJankbuGofBS+bFiteOk/qabiZN6AnoWN9sVIvLXbBB4JypSEa8kwrXKO6VHY2rKALt7SVwaSPWmijqNvRywh856lNHh3jiYsZofh9h6wRdcqxsfhfHn3dG1K/65MwdGTt9stThqM5Qys9bCMA1snt0EOAufJ8T1VYIGMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kNn+hnzf; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kNn+hnzf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E12B1F000E9; Wed, 27 May 2026 18:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779907645; bh=zNKdKhH7xIGI7HF5U52Cf95RYaJurNZo5C94X67AV2U=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=kNn+hnzf8/cTStHUqlAZ3SzKCludSC+c9toKSJ0iRME+hCRUcmvp68QvXkLNVZVk3 AWQvpYw/jmX15w5E/UMaqtctW2LB5+hZP9eEg+4kEYtDm7Vu3Q8Z9dBNjiT2KC6CZu KxGofWenRd1ZTKnq52nmpWYP+AUgebisyCM4ue7r8rpWaTN38VdEUvzvAmUUGdf11B C8/L8MRVm08tACFwpM83yY4QO7ZLhMagkIVmqmXgpsm1BS6sBC//61PSVlWWRZ1Kzx uIxaZRtzA7FAetpsH7QC9d9Ao3/UZ9bNmJ6TDuQKXqgFuufDCz0ITPZOEnlG1ArkbJ 5Cf/A4KV54iBQ== Date: Wed, 27 May 2026 14:47:22 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: LKML , Linux trace kernel , linux-kbuild , Andrew Morton , Masahiro Yamada , Masatake YAMATO , Geert Uytterhoeven , Michal Marek , Yang Bai Subject: Re: [PATCH v2] scripts: Have make TAGS not include structure members Message-ID: <20260527144722.40109437@fedora> In-Reply-To: <20260527162914.GH3102624@noisy.programming.kicks-ass.net> References: <20260527121144.08a1f676@fedora> <20260527162914.GH3102624@noisy.programming.kicks-ass.net> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 27 May 2026 18:29:14 +0200 Peter Zijlstra wrote: > Yeah, I often use member tags. > > The tags file have a 'kind' field, what you want is for emacs to order > on kind and prefer 'f' over 'm'. > > The alternative is switching to use emacs-lsp, that way the editor knows > the kind of symbol you want. If you're on a function call, it should > only consider 'f' tags. Whereas if the cursor is on a member deref, it > should only consider 'm'. OK, so in addition to my procrastination of sending out this patch, I finally changed my .emacs file to have "Meta-." call xref-find-definitions instead of find-tags. The xref-find-definitions gives a list of all the tags it finds and you can search for the function. In the example of "dev_name", I simply searched for "dev_name(" and it found the function immediately. As "find-tags" has been deprecated back in 2016 (10 years ago!), and xref-find-definitions doesn't suffer as much as 'find-tags' does with respect to member tags. I'll simply drop this patch. I can also finally archive the conversation I have in my INBOX! ;-) -- Steve