projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d6828
)
scripts/tags.sh: Add magic for trace-events for etags too
author
Steven Rostedt
<
[email protected]
>
Thu, 19 May 2011 18:43:57 +0000
(14:43 -0400)
committer
Steven Rostedt
<
[email protected]
>
Wed, 25 May 2011 23:56:31 +0000
(19:56 -0400)
Seems that Peter Zijlstra treats us emacs users as second class
citizens and the commit:
commit
15664125f7cadcb6d725cb2d9b90f9715397848d
Author: Peter Zijlstra <
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Steven Rostedt <
[email protected]
>
scripts/tags.sh
patch
|
blob
|
history
diff --git
a/scripts/tags.sh
b/scripts/tags.sh
index 33b53cab5dbf99ec18b610ab56d188801f9d84a9..75c5d24f1993ae009aedf2b12bd33f7dd9360b25 100755
(executable)
--- 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/'