* Add entry.S labels to tag file.
@ 2006-01-19 11:29 Aneesh Kumar
2006-01-19 16:29 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Kumar @ 2006-01-19 11:29 UTC (permalink / raw)
To: sam, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
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@gmail.com>
[-- Attachment #2: Makefile.diff --]
[-- Type: text/plain, Size: 573 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add entry.S labels to tag file.
2006-01-19 11:29 Add entry.S labels to tag file Aneesh Kumar
@ 2006-01-19 16:29 ` Sam Ravnborg
0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2006-01-19 16:29 UTC (permalink / raw)
To: Aneesh Kumar; +Cc: linux-kernel
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@gmail.com>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-19 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-19 11:29 Add entry.S labels to tag file Aneesh Kumar
2006-01-19 16:29 ` Sam Ravnborg
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®