Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
oprofile_files.c File Reference
#include <linux/fs.h>
#include <linux/oprofile.h>
#include <linux/jiffies.h>
#include "event_buffer.h"
#include "oprofile_stats.h"
#include "oprof.h"

Go to the source code of this file.

Macros

#define BUFFER_SIZE_DEFAULT   131072
 
#define CPU_BUFFER_SIZE_DEFAULT   8192
 
#define BUFFER_WATERSHED_DEFAULT   32768 /* FIXME: tune */
 
#define TIME_SLICE_DEFAULT   1
 

Functions

void oprofile_create_files (struct super_block *sb, struct dentry *root)
 

Variables

unsigned long oprofile_buffer_size
 
unsigned long oprofile_cpu_buffer_size
 
unsigned long oprofile_buffer_watershed
 
unsigned long oprofile_time_slice
 

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 oprofile_files.c.

Macro Definition Documentation

#define BUFFER_SIZE_DEFAULT   131072

Definition at line 18 of file oprofile_files.c.

#define BUFFER_WATERSHED_DEFAULT   32768 /* FIXME: tune */

Definition at line 20 of file oprofile_files.c.

#define CPU_BUFFER_SIZE_DEFAULT   8192

Definition at line 19 of file oprofile_files.c.

#define TIME_SLICE_DEFAULT   1

Definition at line 21 of file oprofile_files.c.

Function Documentation

void oprofile_create_files ( struct super_block sb,
struct dentry root 
)

Definition at line 178 of file oprofile_files.c.

Variable Documentation

unsigned long oprofile_buffer_size

Definition at line 23 of file oprofile_files.c.

unsigned long oprofile_buffer_watershed

Definition at line 25 of file oprofile_files.c.

unsigned long oprofile_cpu_buffer_size

Definition at line 24 of file oprofile_files.c.

unsigned long oprofile_time_slice

Definition at line 26 of file oprofile_files.c.