Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234432
b: refs/heads/master
c: c763ba0
h: refs/heads/master
v: v3
  • Loading branch information
Ian Munsie authored and Steven Rostedt committed Feb 8, 2011
1 parent 21d26d6 commit 4894106
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3773b389b6927595512558594d040c1edba46f36
refs/heads/master: c763ba06bd9b5db2c46c36276c89103d92d2c604
3 changes: 3 additions & 0 deletions trunk/Documentation/trace/ftrace-design.txt
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ You need very few things to get the syscalls tracing in an arch.
- Support the TIF_SYSCALL_TRACEPOINT thread flags.
- Put the trace_sys_enter() and trace_sys_exit() tracepoints calls from ptrace
in the ptrace syscalls tracing path.
- If the system call table on this arch is more complicated than a simple array
of addresses of the system calls, implement an arch_syscall_addr to return
the address of a given system call.
- Tag this arch as HAVE_SYSCALL_TRACEPOINTS.


Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ int init_syscall_trace(struct ftrace_event_call *call)
return id;
}

unsigned long __init arch_syscall_addr(int nr)
unsigned long __init __weak arch_syscall_addr(int nr)
{
return (unsigned long)sys_call_table[nr];
}
Expand Down

0 comments on commit 4894106

Please sign in to comment.