History

scripts/tags.sh: Include trace_*_rcuidle() in tags

Every tracepoint creates two functions, the usual one 'trace_*()' and the rcuidle one 'trace_*_rcuidle()'. Add regex for the rcuidle variant so that we can jump to the tracepoints that use rcuidle.

Stephen Boyd committed 11 years ago

Commit 3c42f0b1 parent 21a59991 file · +4 −0Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/tags.sh+4−0
@@ -170,7 +170,9 @@ exuberant() · 169 unmodified lines
170170 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
171171 --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \
172172 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
173+ --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1_rcuidle/' \
173174 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
175+ --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1_rcuidle/' \
174176 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
175177 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \
176178 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \
@@ -233,7 +235,9 @@ emacs() · 56 unmodified lines
233235 --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \
234236 --regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \
235237 --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \
238+ --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1_rcuidle/' \
236239 --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \
240+ --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1_rcuidle/' \
237241 --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \
238242 --regex='/PAGEFLAG(\([^,)]*\).*/SetPage\1/' \
239243 --regex='/PAGEFLAG(\([^,)]*\).*/ClearPage\1/' \