diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-24 17:43:11 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-25 18:17:35 -0400 |
commit | 667000011927b4fcc359beac4a2447889db6d349 (patch) | |
tree | d21f0bce17e08479885818792529d3cadf7b8003 /kernel | |
parent | d88cb582325830698de5071fa8b8c9e933dbbcad (diff) |
tracing: Rename FTRACE_SYSCALLS for tracepoints
s/HAVE_FTRACE_SYSCALLS/HAVE_SYSCALL_TRACEPOINTS/g
s/TIF_SYSCALL_FTRACE/TIF_SYSCALL_TRACEPOINT/g
The syscall enter/exit tracing is no longer specific to just ftrace, so
they now have names that reflect their tie to tracepoints instead.
Signed-off-by: Josh Stone <jistone@redhat.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Jiaying Zhang <jiayingz@google.com>
Cc: Martin Bligh <mbligh@google.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
LKML-Reference: <1251150194-1713-2-git-send-email-jistone@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/Kconfig | 4 | ||||
-rw-r--r-- | kernel/tracepoint.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 019f380fd764..06be85a7ef8c 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -41,7 +41,7 @@ config HAVE_FTRACE_MCOUNT_RECORD | |||
41 | config HAVE_HW_BRANCH_TRACER | 41 | config HAVE_HW_BRANCH_TRACER |
42 | bool | 42 | bool |
43 | 43 | ||
44 | config HAVE_FTRACE_SYSCALLS | 44 | config HAVE_SYSCALL_TRACEPOINTS |
45 | bool | 45 | bool |
46 | 46 | ||
47 | config TRACER_MAX_TRACE | 47 | config TRACER_MAX_TRACE |
@@ -211,7 +211,7 @@ config ENABLE_DEFAULT_TRACERS | |||
211 | 211 | ||
212 | config FTRACE_SYSCALLS | 212 | config FTRACE_SYSCALLS |
213 | bool "Trace syscalls" | 213 | bool "Trace syscalls" |
214 | depends on HAVE_FTRACE_SYSCALLS | 214 | depends on HAVE_SYSCALL_TRACEPOINTS |
215 | select GENERIC_TRACER | 215 | select GENERIC_TRACER |
216 | select KALLSYMS | 216 | select KALLSYMS |
217 | help | 217 | help |
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c index 06f165a44083..be86b9a01a09 100644 --- a/kernel/tracepoint.c +++ b/kernel/tracepoint.c | |||
@@ -590,7 +590,7 @@ void syscall_regfunc(void) | |||
590 | if (!sys_tracepoint_refcount) { | 590 | if (!sys_tracepoint_refcount) { |
591 | read_lock_irqsave(&tasklist_lock, flags); | 591 | read_lock_irqsave(&tasklist_lock, flags); |
592 | do_each_thread(g, t) { | 592 | do_each_thread(g, t) { |
593 | set_tsk_thread_flag(t, TIF_SYSCALL_FTRACE); | 593 | set_tsk_thread_flag(t, TIF_SYSCALL_TRACEPOINT); |
594 | } while_each_thread(g, t); | 594 | } while_each_thread(g, t); |
595 | read_unlock_irqrestore(&tasklist_lock, flags); | 595 | read_unlock_irqrestore(&tasklist_lock, flags); |
596 | } | 596 | } |
@@ -608,7 +608,7 @@ void syscall_unregfunc(void) | |||
608 | if (!sys_tracepoint_refcount) { | 608 | if (!sys_tracepoint_refcount) { |
609 | read_lock_irqsave(&tasklist_lock, flags); | 609 | read_lock_irqsave(&tasklist_lock, flags); |
610 | do_each_thread(g, t) { | 610 | do_each_thread(g, t) { |
611 | clear_tsk_thread_flag(t, TIF_SYSCALL_FTRACE); | 611 | clear_tsk_thread_flag(t, TIF_SYSCALL_TRACEPOINT); |
612 | } while_each_thread(g, t); | 612 | } while_each_thread(g, t); |
613 | read_unlock_irqrestore(&tasklist_lock, flags); | 613 | read_unlock_irqrestore(&tasklist_lock, flags); |
614 | } | 614 | } |