diff options
author | Jason Baron <jbaron@redhat.com> | 2009-08-10 16:52:35 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-11 14:35:27 -0400 |
commit | 9daa77e2e9a6b8b859660d5e24d0f8cd77c2af39 (patch) | |
tree | 12e86fe4529c2981f0c0ff9b8b3a04de46883f12 /arch | |
parent | a871bd33a6c0bc86fb47cd02ea2650dd43d3d95f (diff) |
tracing: Update FTRACE_SYSCALL_MAX
update FTRACE_SYSCALL_MAX to the current number of syscalls
FTRACE_SYSCALL_MAX is a temporary solution to get the number of
syscalls supported by the arch until we find a more dynamic way
to get this number.
Signed-off-by: Jason Baron <jbaron@redhat.com>
Cc: Lai Jiangshan <laijs@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: Li Zefan <lizf@cn.fujitsu.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/ftrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index bd2c6511c887..71136545187a 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h | |||
@@ -30,9 +30,9 @@ | |||
30 | 30 | ||
31 | /* FIXME: I don't want to stay hardcoded */ | 31 | /* FIXME: I don't want to stay hardcoded */ |
32 | #ifdef CONFIG_X86_64 | 32 | #ifdef CONFIG_X86_64 |
33 | # define FTRACE_SYSCALL_MAX 296 | 33 | # define FTRACE_SYSCALL_MAX 299 |
34 | #else | 34 | #else |
35 | # define FTRACE_SYSCALL_MAX 333 | 35 | # define FTRACE_SYSCALL_MAX 337 |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #ifdef CONFIG_FUNCTION_TRACER | 38 | #ifdef CONFIG_FUNCTION_TRACER |