[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing arguments to ctags in the new function plugin format
From: |
Hideki IWAMOTO |
Subject: |
Re: Passing arguments to ctags in the new function plugin format |
Date: |
Sat, 27 Mar 2010 14:44:27 +0900 |
Hi.
I think that you should use environment variable CTAGS.
The attached patch for linux kernel may satisfy your necessity.
On Fri, 26 Mar 2010 12:31:31 +0530, Aneesh Kumar wrote...
> Hi,
>
> How do i pass arguments to ctags in the function plugin format ? I
> wanted to pass the below set of arguments
> only to few projects. Is there a easy way to do that ?
>
> -I __initdata,__exitdata,__acquires,__releases \
> -I __read_mostly,____cacheline_aligned \
> -I ____cacheline_aligned_in_smp \
> -I ____cacheline_internodealigned_in_smp \
> -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
> -I DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL
> \
> --extra=+f --c-kinds=-px \
> --regex-asm='/^ENTRY\(([^)]*)\).*/\1/' \
> --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'
>
> -aneesh
>
>
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-global
----
Hideki IWAMOTO address@hidden
linux-gtags.patch
Description: Binary data