Commit 60d970c2 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

tracing: Fix syscall tracing on !HAVE_FTRACE_SYSCALLS architectures

The new syscall_regfunc()/unregfunc() functions rely on
the existence of TIF_SYSCALL_FTRACE - but that TIF flag
is only offered by HAVE_FTRACE_SYSCALLS.

Cc: Frederic Weisbecker <>
Cc: Jason Baron <>
Cc: Steven Rostedt <>
Cc: Peter Zijlstra <>
LKML-Reference: <new-submission>
Signed-off-by: default avatarIngo Molnar <>
parent 19007a67
......@@ -579,6 +579,8 @@ __initcall(init_tracepoints);
#endif /* CONFIG_MODULES */
static DEFINE_MUTEX(regfunc_mutex);
static int sys_tracepoint_refcount;
......@@ -615,3 +617,4 @@ void syscall_unregfunc(void)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment