tracing/syscalls: Make arch_syscall_addr weak
[linux-2.6-block.git] / Documentation / trace / ftrace-design.txt
index dc52bd442c92aa11b5c717ad811bcd2f92a169fd..6fca17beee2f3957b9a83d880dfb8aded4991bc6 100644 (file)
@@ -247,6 +247,9 @@ You need very few things to get the syscalls tracing in an arch.
 - Support the TIF_SYSCALL_TRACEPOINT thread flags.
 - Put the trace_sys_enter() and trace_sys_exit() tracepoints calls from ptrace
   in the ptrace syscalls tracing path.
+- If the system call table on this arch is more complicated than a simple array
+  of addresses of the system calls, implement an arch_syscall_addr to return
+  the address of a given system call.
 - Tag this arch as HAVE_SYSCALL_TRACEPOINTS.