| commit | 21783c9746619a782c21be606f6498bbd4d4615e | [log] [tgz] |
|---|---|---|
| author | Mikael Starvik <mikael.starvik@axis.com> | Wed Jul 27 11:44:40 2005 -0700 |
| committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Jul 27 16:26:00 2005 -0700 |
| tree | e02f3e7b583576d850b3aac2fdcf38172ee565eb | |
| parent | 59c61138a556cf89692e0d5bd2c9de5df54b824f [diff] [blame] |
[PATCH] CRIS update: profiler System-level profiler. Signed-off-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
diff --git a/include/asm-cris/ptrace.h b/include/asm-cris/ptrace.h index 7a8c288..1ec69a7 100644 --- a/include/asm-cris/ptrace.h +++ b/include/asm-cris/ptrace.h
@@ -9,4 +9,6 @@ #define PTRACE_SETREGS 13 #endif +#define profile_pc(regs) instruction_pointer(regs) + #endif /* _CRIS_PTRACE_H */