Re: Add entry.S labels to tag file.
From: Sam Ravnborg
Date: Thu Jan 19 2006 - 11:28:51 EST
On Thu, Jan 19, 2006 at 04:59:05PM +0530, Aneesh Kumar wrote:
> The below patch add functions defined using ENTRY macro to the tag
> file generated
> using ctags.
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxx>
> diff --git a/Makefile b/Makefile
> index 252a659..8f0cc11 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1272,7 +1272,7 @@ define cmd_tags
> CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \
> echo "-I __initdata,__exitdata,__acquires,__releases \
> -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
> - --extra=+f --c-kinds=+px"`; \
> + --extra=+f --c-kinds=+px --regex-asm=/ENTRY\(([^)]*)\).*/\1/"`; \
> $(all-sources) | xargs ctags $$CTAGSF -a
> endef
Fixed line length and applied.
Was this not relevant for etags?
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/