|
@@ -213,10 +213,19 @@ If you can't trace NMI functions, then skip this option.
|
|
|
<details to be filled>
|
|
|
|
|
|
|
|
|
-HAVE_FTRACE_SYSCALLS
|
|
|
+HAVE_SYSCALL_TRACEPOINTS
|
|
|
---------------------
|
|
|
|
|
|
-<details to be filled>
|
|
|
+You need very few things to get the syscalls tracing in an arch.
|
|
|
+
|
|
|
+- Have a NR_syscalls variable in <asm/unistd.h> that provides the number
|
|
|
+ of syscalls supported by the arch.
|
|
|
+- Implement arch_syscall_addr() that resolves a syscall address from a
|
|
|
+ syscall number.
|
|
|
+- 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.
|
|
|
+- Tag this arch as HAVE_SYSCALL_TRACEPOINTS.
|
|
|
|
|
|
|
|
|
HAVE_FTRACE_MCOUNT_RECORD
|