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