Module / user space interface for 2.4. More...
#include "op_config.h"#include "op_types.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. | |
Module / user space interface for 2.4.
| #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
Referenced by opd_init_hash_map().
| #define OP_MAP 2 |
mapping
| enum oprof_state |
| struct op_hash_index __packed__ |
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
1.6.1