mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Rabin Vincent <rabin@rab.in>
Cc: Sam Ravnborg <sam@ravnborg.org>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] kbuild: add sys_* entries for syscalls in tags
Date: Sun, 25 Jan 2009 14:18:56 +0300	[thread overview]
Message-ID: <20090125111856.GA3268@x200.localdomain> (raw)
In-Reply-To: <20090125100553.GA18239@debian>

On Sun, Jan 25, 2009 at 03:35:54PM +0530, Rabin Vincent wrote:
> Currently, it is no longer possible to use the tags file to jump to
> system call function definitions with sys_foo because the definitions
> are obscured by the use of the SYSCALL_DEFINE* macros.
> 
> This patch adds the appropriate option to ctags to make it see through
> the macro.
> 
> Signed-off-by: Rabin Vincent <rabin@rab.in>
> ---
>  scripts/tags.sh |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/tags.sh b/scripts/tags.sh
> index fdbe78b..0d58f48 100755
> --- a/scripts/tags.sh
> +++ b/scripts/tags.sh
> @@ -99,7 +99,8 @@ exuberant()
>  	-I ____cacheline_internodealigned_in_smp                \
>  	-I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL                      \
>  	--extra=+f --c-kinds=+px                                \
> -	--regex-asm='/^ENTRY\(([^)]*)\).*/\1/'
> +	--regex-asm='/^ENTRY\(([^)]*)\).*/\1/'                  \
> +	--regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'

You should patch emacs() as well.

  reply	other threads:[~2009-01-25 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25 10:05 Rabin Vincent
2009-01-25 11:18 ` Alexey Dobriyan [this message]
2009-01-25 13:09   ` [PATCH v2] " Rabin Vincent
2009-02-15  9:27     ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090125111856.GA3268@x200.localdomain \
    --to=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rabin@rab.in \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®