The below patch add functions defined using ENTRY macro to the tag
file generated
Signed-off-by: Aneesh Kumar K.V <[email protected]>
diff --git a/Makefile b/Makefile
index 274b780..42efa59 100644
--- a/Makefile
+++ b/Makefile
@@ -1316,7 +1316,8 @@ define xtags
$(all-sources) | xargs $1 -a \
-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-kconfigs) | xargs $1 -a \
--langdef=kconfig \
--language-force=kconfig \