lkml.org 
[lkml]   [2006]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAdd entry.S labels to tag file.
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
\
 
 \ /
  Last update: 2006-01-19 12:32    [W:0.023 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site