Add 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 <[email protected]>
Makefile +1 -1
@@ -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
Quoted 11 lines · Aneesh Kumar
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]>Makefile +0
-0
Makefile define cmd_tags · line 1277
Quoted 7 lines
Makefile +1
-1@@ -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