tracing: Rename FTRACE_SYSCALLS for tracepoints
[linux-2.6.git] / arch / x86 / kernel / ptrace.c
index 34dd6f1..a909afe 100644 (file)
@@ -1500,7 +1500,7 @@ asmregparm long syscall_trace_enter(struct pt_regs *regs)
            tracehook_report_syscall_entry(regs))
                ret = -1L;
 
-       if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE)))
+       if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT)))
                trace_syscall_enter(regs, regs->orig_ax);
 
        if (unlikely(current->audit_context)) {
@@ -1526,7 +1526,7 @@ asmregparm void syscall_trace_leave(struct pt_regs *regs)
        if (unlikely(current->audit_context))
                audit_syscall_exit(AUDITSC_RESULT(regs->ax), regs->ax);
 
-       if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE)))
+       if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT)))
                trace_syscall_exit(regs, regs->ax);
 
        if (test_thread_flag(TIF_SYSCALL_TRACE))