Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
oprof.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/oprofile.h>
#include <linux/moduleparam.h>
#include <linux/workqueue.h>
#include <linux/time.h>
#include <linux/mutex.h>
#include "oprof.h"
#include "event_buffer.h"
#include "cpu_buffer.h"
#include "buffer_sync.h"
#include "oprofile_stats.h"

Go to the source code of this file.

Functions

int oprofile_setup (void)
 
int oprofile_start (void)
 
void oprofile_stop (void)
 
void oprofile_shutdown (void)
 
int oprofile_set_ulong (unsigned long *addr, unsigned long val)
 
 module_init (oprofile_init)
 
 module_exit (oprofile_exit)
 
 module_param_named (timer, timer, int, 0644)
 
 MODULE_PARM_DESC (timer,"force use of timer interrupt")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("John Levon <[email protected]>")
 
 MODULE_DESCRIPTION ("OProfile system profiler")
 

Variables

struct oprofile_operations oprofile_ops
 
unsigned long oprofile_started
 
unsigned long oprofile_backtrace_depth
 

Detailed Description

Remarks
Copyright 2002 OProfile authors
Read the file COPYING
Author
John Levon levon.nosp@m.@mov.nosp@m.ement.nosp@m.aria.nosp@m.n.org

Definition in file oprof.c.

Function Documentation

MODULE_AUTHOR ( "John Levon <[email protected]>"  )
MODULE_DESCRIPTION ( "OProfile system profiler"  )
module_exit ( oprofile_exit  )
module_init ( oprofile_init  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( timer  ,
timer  ,
int  ,
0644   
)
MODULE_PARM_DESC ( timer  ,
"force use of timer interrupt  
)
int oprofile_set_ulong ( unsigned long addr,
unsigned long  val 
)

Definition at line 228 of file oprof.c.

int oprofile_setup ( void  )

Definition at line 38 of file oprof.c.

void oprofile_shutdown ( void  )

Definition at line 203 of file oprof.c.

int oprofile_start ( void  )

Definition at line 157 of file oprof.c.

void oprofile_stop ( void  )

Definition at line 186 of file oprof.c.

Variable Documentation

unsigned long oprofile_backtrace_depth

Definition at line 28 of file oprof.c.

Definition at line 25 of file oprof.c.

unsigned long oprofile_started

Definition at line 27 of file oprof.c.