diff options
author | Andreas Krebbel <krebbel1@de.ibm.com> | 2006-01-06 09:19:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 17:33:50 +0100 |
commit | d0f4c16febf258ba8c0f917ac3ba935fc5459566 (patch) | |
tree | 069f60a74c4bed5c4e599f9ffa337d96454b78f6 /arch/s390/oprofile/init.c | |
parent | [PATCH] s390: dasd failfast support (diff) | |
download | linux-d0f4c16febf258ba8c0f917ac3ba935fc5459566.tar.xz linux-d0f4c16febf258ba8c0f917ac3ba935fc5459566.zip |
[PATCH] s390: add oprofile callgraph support
Signed-off-by: Andreas Krebbel <krebbel1@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/s390/oprofile/init.c')
-rw-r--r-- | arch/s390/oprofile/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/oprofile/init.c b/arch/s390/oprofile/init.c index a65ead0e200a..7a995113b918 100644 --- a/arch/s390/oprofile/init.c +++ b/arch/s390/oprofile/init.c @@ -12,8 +12,12 @@ #include <linux/init.h> #include <linux/errno.h> + +extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth); + int __init oprofile_arch_init(struct oprofile_operations* ops) { + ops->backtrace = s390_backtrace; return -ENODEV; } |