/arch/s390/oprofile/init.c
https://bitbucket.org/thekraven/iscream_thunderc-2.6.35 · C · 26 lines · 12 code · 5 blank · 9 comment · 0 complexity · e63fd68f2ff1cee8bd2d9be9459b2557 MD5 · raw file
- /**
- * arch/s390/oprofile/init.c
- *
- * S390 Version
- * Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
- * Author(s): Thomas Spatzier (tspat@de.ibm.com)
- *
- * @remark Copyright 2002 OProfile authors
- */
- #include <linux/oprofile.h>
- #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;
- }
- void oprofile_arch_exit(void)
- {
- }