Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
op_model_avr32.c File Reference
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/oprofile.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <asm/sysreg.h>

Go to the source code of this file.

Data Structures

struct  avr32_perf_counter
 

Macros

#define AVR32_PERFCTR_IRQ_GROUP   0
 
#define AVR32_PERFCTR_IRQ_LINE   1
 

Enumerations

enum  { PCCNT, PCNT0, PCNT1, NR_counter }
 

Functions

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

Macro Definition Documentation

#define AVR32_PERFCTR_IRQ_GROUP   0

Definition at line 21 of file op_model_avr32.c.

#define AVR32_PERFCTR_IRQ_LINE   1

Definition at line 22 of file op_model_avr32.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
PCCNT 
PCNT0 
PCNT1 
NR_counter 

Definition at line 26 of file op_model_avr32.c.

Function Documentation

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

Definition at line 55 of file backtrace.c.

void oprofile_arch_exit ( void  )

One-time exit/cleanup for the arch.

Definition at line 234 of file op_model_avr32.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 219 of file op_model_avr32.c.