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
170 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \170 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
171 --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \171 --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \
172 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \172 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
173 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1_rcuidle/' \
173 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \174 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
175 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1_rcuidle/' \
174 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \176 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
175 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \177 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \
176 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \178 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \
@@ -233,7 +235,9 @@ emacs() · 56 unmodified lines
233 --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \235 --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \
234 --regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \236 --regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \
235 --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \237 --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \
238 --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1_rcuidle/' \
236 --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \239 --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \
240 --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1_rcuidle/' \
237 --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \241 --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \
238 --regex='/PAGEFLAG(\([^,)]*\).*/SetPage\1/' \242 --regex='/PAGEFLAG(\([^,)]*\).*/SetPage\1/' \
239 --regex='/PAGEFLAG(\([^,)]*\).*/ClearPage\1/' \243 --regex='/PAGEFLAG(\([^,)]*\).*/ClearPage\1/' \