History

scripts/tags.sh: include compat_sys_* symbols in the generated tags

Since the kernel now has a COMPAT_SYSCALL infrastructure via commit 468366138850 ("COMPAT_SYSCALL_DEFINE: infrastructure"), add the corresponding regex for generating compat_sys_* symbols in the tags files (similar to sys_*).

Catalin Marinas committed 12 years ago

Commit c9655261 parent 45715f31 file · +2 −0Browse files

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

Unified · Split

scripts/tags.sh+2−0
@@ -168,6 +168,7 @@ exuberant() · 167 unmodified lines
168 --extra=+f --c-kinds=+px \168 --extra=+f --c-kinds=+px \
169 --regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \169 --regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \
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++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \172 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
172 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \173 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
173 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \174 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
@@ -231,6 +232,7 @@ emacs() · 57 unmodified lines
231 all_target_sources | xargs $1 -a \232 all_target_sources | xargs $1 -a \
232 --regex='/^\(ENTRY\|_GLOBAL\)(\([^)]*\)).*/\2/' \233 --regex='/^\(ENTRY\|_GLOBAL\)(\([^)]*\)).*/\2/' \
233 --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \234 --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \
235 --regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \
234 --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \236 --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \
235 --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \237 --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \
236 --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \238 --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \