op_interface.h File Reference

Module / user space interface for 2.4. More...

#include "op_config.h"
#include "op_types.h"
Include dependency graph for op_interface.h:

Go to the source code of this file.

Classes

struct  op_sample
 Data type to transfer samples counts from the module to the daemon. More...
struct  op_buffer_head
 The head structure of a kernel sample buffer. More...
struct  op_note
 Data type used by the module to notify daemon of fork/exit/mapping etc. More...
struct  op_hash_index
 A path component. More...

Defines

#define OP_HASH_MAP_SIZE   (OP_HASH_MAP_NR * sizeof(struct op_hash_index) + POOL_SIZE)
 size of hash map in bytes



#define OP_FORK   1
 fork(),vfork(),clone()
#define OP_MAP   2
 mapping
#define OP_EXEC   4
 execve()
#define OP_DROP_MODULES   8
 init_module()
#define OP_EXIT   16
 exit()

Enumerations

enum  oprof_state { STOPPED = 0, STOPPING = 1, RUNNING = 2 }
 

the current kernel-side profiler state

More...

Variables

struct op_buffer_head __packed__
 The head structure of a kernel sample buffer.

Detailed Description

Module / user space interface for 2.4.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Define Documentation

#define OP_DROP_MODULES   8

init_module()

#define OP_EXEC   4

execve()

#define OP_EXIT   16

exit()

#define OP_FORK   1

fork(),vfork(),clone()

#define OP_HASH_MAP_SIZE   (OP_HASH_MAP_NR * sizeof(struct op_hash_index) + POOL_SIZE)

size of hash map in bytes

#define OP_MAP   2

mapping


Enumeration Type Documentation

the current kernel-side profiler state

Enumerator:
STOPPED 
STOPPING 
RUNNING 

Variable Documentation

The head structure of a kernel sample buffer.

A path component.

Directory name are stored as a stack of path components. Note than the name index acts also as an unique identifier


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1