public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add ENTRY() declared label in .S files to tags
@ 2006-01-19  5:01 Zhang Le
  0 siblings, 0 replies; only message in thread
From: Zhang Le @ 2006-01-19  5:01 UTC (permalink / raw)
  To: kai; +Cc: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tags file generated by new Makefile may allow you to search labels like:
"swapper_pg_dir", "empty_zero_page" and so on

Signed-off-by: Zhang Le <robert@thizgroup.com>

- --- linux-2.6.16-rc1-mm1/Makefile.orig  2006-01-19 12:41:42.000000000
+0800
+++ linux-2.6.16-rc1-mm1/Makefile   2006-01-19 12:55:02.000000000 +0800
@@ -1273,7 +1273,8 @@ 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

- --
Zhang Le, Robert
Linux Engineer/Trainer

Institute of Thiz Technology Limited
Address: Unit 1004, 10/F, Tower B,
Hunghom Commercial Centre, 37 Ma Tau Wai Road,
To Kwa Wan, Kowloon, Hong Kong
Telephone: (852) 2735 2725
Mobile:(852) 9845 4336
Fax: (852) 2111 0702
URL: http://www.thizgroup.com
Public key: gpg --keyserver pgp.mit.edu --recv-keys 1E4E2973

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDzx0bvFHICB5OKXMRAu5jAJ0RsbxWe63tvXroMg5phIfjO+c1tQCfex5U
OwA0WlIUNesUULx+QPc5/Mg=
=QtuW
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-19  5:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-19  5:01 [PATCH] add ENTRY() declared label in .S files to tags Zhang Le

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox