init.c 538 B

1234567891011121314151617181920212223242526
  1. /**
  2. * arch/s390/oprofile/init.c
  3. *
  4. * S390 Version
  5. * Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
  6. * Author(s): Thomas Spatzier (tspat@de.ibm.com)
  7. *
  8. * @remark Copyright 2002 OProfile authors
  9. */
  10. #include <linux/oprofile.h>
  11. #include <linux/init.h>
  12. #include <linux/errno.h>
  13. extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
  14. int __init oprofile_arch_init(struct oprofile_operations* ops)
  15. {
  16. ops->backtrace = s390_backtrace;
  17. return -ENODEV;
  18. }
  19. void oprofile_arch_exit(void)
  20. {
  21. }