Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
common.c File Reference
#include <linux/cpumask.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/oprofile.h>
#include <linux/perf_event.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <asm/stacktrace.h>
#include <linux/uaccess.h>
#include <asm/perf_event.h>
#include <asm/ptrace.h>

Go to the source code of this file.

Data Structures

struct  frame_tail
 

Functions

struct frame_tail __attribute__ ((packed))
 
int __init oprofile_arch_init (struct oprofile_operations *ops)
 
void oprofile_arch_exit (void)
 

Variables

struct frame_tailfp
 
unsigned long sp
 
unsigned long lr
 

Function Documentation

struct frame_tail __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

void oprofile_arch_exit ( void  )

One-time exit/cleanup for the arch.

Definition at line 130 of file common.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 122 of file common.c.

Variable Documentation

Definition at line 83 of file common.c.

unsigned long lr

Definition at line 85 of file common.c.

unsigned long sp

Definition at line 84 of file common.c.