From: Steven Rostedt Date: Thu, 19 May 2011 18:43:57 +0000 (-0400) Subject: scripts/tags.sh: Add magic for trace-events for etags too X-Git-Tag: MMI-PSA29.97-13-9~18912^2~61^2~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4d7a2fa876d1a615649761dc465708d0a062249a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git scripts/tags.sh: Add magic for trace-events for etags too Seems that Peter Zijlstra treats us emacs users as second class citizens and the commit: commit 15664125f7cadcb6d725cb2d9b90f9715397848d Author: Peter Zijlstra scripts/tags.sh: Add magic for trace-events only updated ctags (for vim) and did not do the work to let us lowly emacs users benefit from such a change. Cc: Peter Zijlstra Signed-off-by: Steven Rostedt --- diff --git a/scripts/tags.sh b/scripts/tags.sh index 33b53cab5dbf..75c5d24f1993 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -152,7 +152,9 @@ emacs() { all_sources | xargs $1 -a \ --regex='/^ENTRY(\([^)]*\)).*/\1/' \ - --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' + --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \ + --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \ + --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' all_kconfigs | xargs $1 -a \ --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'