[PATCH] s390: add oprofile callgraph support
[deliverable/linux.git] / arch / s390 / oprofile / init.c
CommitLineData
1da177e4
LT
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
11#include <linux/oprofile.h>
12#include <linux/init.h>
13#include <linux/errno.h>
14
d0f4c16f
AK
15
16extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
17
1da177e4
LT
18int __init oprofile_arch_init(struct oprofile_operations* ops)
19{
d0f4c16f 20 ops->backtrace = s390_backtrace;
1da177e4
LT
21 return -ENODEV;
22}
23
24void oprofile_arch_exit(void)
25{
26}
This page took 0.136279 seconds and 5 git commands to generate.