diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-02-27 10:06:10 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-27 10:06:10 +0100 |
commit | 6fb83029db161141d68cf019760a893d03d0682b (patch) | |
tree | 6f149c23cedc9b2a5f72b5b90ab8426b39afbb7c /kernel/trace/trace_syscalls.c | |
parent | 281b3714e91162b66add1cfac404cf7b81e3e2f2 (diff) | |
parent | e01292b1fd68ff2abe234d584b06e64344d2c1de (diff) | |
download | talos-op-linux-6fb83029db161141d68cf019760a893d03d0682b.tar.gz talos-op-linux-6fb83029db161141d68cf019760a893d03d0682b.zip |
Merge branch 'tracing/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into tracing/core
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r-- | kernel/trace/trace_syscalls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c index 8cdda95da81a..a1834dda85f4 100644 --- a/kernel/trace/trace_syscalls.c +++ b/kernel/trace/trace_syscalls.c @@ -394,6 +394,11 @@ int init_syscall_trace(struct ftrace_event_call *call) return id; } +unsigned long __init arch_syscall_addr(int nr) +{ + return (unsigned long)sys_call_table[nr]; +} + int __init init_ftrace_syscalls(void) { struct syscall_metadata *meta; |