Skip to content

Commit

Permalink
scripts/tags.sh: Add magic for trace-events
Browse files Browse the repository at this point in the history
Make tags find the trace-event definitions

Acked-by: WANG Cong <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1290591835.2072.438.camel@laptop>
Signed-off-by: Steven Rostedt <[email protected]>
  • Loading branch information
Peter Zijlstra authored and rostedt committed Dec 2, 2010
1 parent 364829b commit 1566412
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ exuberant()
-I DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL \
--extra=+f --c-kinds=-px \
--regex-asm='/^ENTRY\(([^)]*)\).*/\1/' \
--regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'
--regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
--regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
--regex-c++='/^DEFINE_EVENT\(([^,)]*).*/trace_\1/'

all_kconfigs | xargs $1 -a \
--langdef=kconfig --language-force=kconfig \
Expand Down

0 comments on commit 1566412

Please sign in to comment.