diff options
author | Mikael Starvik <mikael.starvik@axis.com> | 2005-07-27 22:44:40 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-28 03:26:00 +0400 |
commit | 21783c9746619a782c21be606f6498bbd4d4615e (patch) | |
tree | e02f3e7b583576d850b3aac2fdcf38172ee565eb /include/asm-cris/ptrace.h | |
parent | 59c61138a556cf89692e0d5bd2c9de5df54b824f (diff) | |
download | linux-21783c9746619a782c21be606f6498bbd4d4615e.tar.xz |
[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>
Diffstat (limited to 'include/asm-cris/ptrace.h')
-rw-r--r-- | include/asm-cris/ptrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-cris/ptrace.h b/include/asm-cris/ptrace.h index 7a8c2880e487..1ec69a7ea836 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 */ |