op_interface.h File Reference

#include "op_config.h"
#include "op_types.h"
Include dependency graph for op_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  op_sample
struct  op_buffer_head
struct  op_note
struct  op_hash_index

Defines

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



#define OP_FORK   1
#define OP_MAP   2
#define OP_EXEC   4
#define OP_DROP_MODULES   8
#define OP_EXIT   16

Enumerations

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

Variables

struct op_buffer_head __packed__

Detailed Description

Module / user space interface for 2.4

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

Definition in file op_interface.h.


Define Documentation

#define OP_DROP_MODULES   8

init_module()

Definition at line 27 of file op_interface.h.

Referenced by opd_do_notes().

#define OP_EXEC   4

execve()

Definition at line 25 of file op_interface.h.

Referenced by opd_do_notes().

#define OP_EXIT   16

exit()

Definition at line 29 of file op_interface.h.

Referenced by opd_do_notes().

#define OP_FORK   1

fork(),vfork(),clone()

Definition at line 21 of file op_interface.h.

Referenced by opd_do_notes().

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

size of hash map in bytes

Definition at line 85 of file op_interface.h.

Referenced by opd_init_hash_map().

#define OP_MAP   2

mapping

Definition at line 23 of file op_interface.h.

Referenced by opd_do_notes().


Enumeration Type Documentation

the current kernel-side profiler state

Enumerator:
STOPPED 
STOPPING 
RUNNING 

Definition at line 41 of file op_interface.h.


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 8 Nov 2012 for Oprofile by  doxygen 1.6.1