Add entry.S labels to tag file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The below patch add functions defined using ENTRY macro to the tag
file generated
using ctags.

Signed-off-by: Aneesh Kumar K.V <[email protected]>
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
 

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux