Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
init.c File Reference
#include <linux/oprofile.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <asm/processor.h>
#include "../../../drivers/oprofile/oprof.h"

Go to the source code of this file.

Functions

void s390_backtrace (struct pt_regs *const regs, unsigned int depth)
 
int __init oprofile_arch_init (struct oprofile_operations *ops)
 
void oprofile_arch_exit (void)
 

Function Documentation

void oprofile_arch_exit ( void  )

One-time exit/cleanup for the arch.

Definition at line 502 of file init.c.

int __init oprofile_arch_init ( struct oprofile_operations ops)

One-time initialisation. *ops must be set to a filled-in operations structure. This is called even in timer interrupt mode so an arch can set a backtrace callback.

If an error occurs, the fields should be left untouched.

Definition at line 483 of file init.c.

void s390_backtrace ( struct pt_regs *const  regs,
unsigned int  depth 
)

Definition at line 56 of file backtrace.c.