p_module.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  old_kernel_sym
struct  old_module_ref
struct  old_module_symbol
struct  old_symbol_table
struct  old_mod_routines
struct  old_module
struct  module_symbol
struct  module_ref
struct  module
class  module_info

Defines

#define MODUTILS_MODULE_H   1
#define OLD_MOD_AUTOCLEAN   0x40000000
#define tgt_sizeof_char   sizeof(char)
#define tgt_sizeof_short   sizeof(short)
#define tgt_sizeof_int   sizeof(int)
#define tgt_sizeof_long   sizeof(long)
#define tgt_sizeof_char_p   sizeof(char *)
#define tgt_sizeof_void_p   sizeof(void *)
#define tgt_long   long
#define tgt_long_fmt   "l"
#define NEW_MOD_RUNNING   1
#define NEW_MOD_DELETED   2
#define NEW_MOD_AUTOCLEAN   4
#define NEW_MOD_VISITED   8
#define NEW_MOD_USED_ONCE   16
#define NEW_MOD_INITIALIZING   64
#define QM_MODULES   1
#define QM_DEPS   2
#define QM_REFS   3
#define QM_SYMBOLS   4
#define QM_INFO   5

Functions

int get_kernel_syms (struct old_kernel_sym *)
int old_sys_init_module (char const *name, char *code, unsigned codesize, struct old_mod_routines *, struct old_symbol_table *)
int sys_init_module (char const *name, const struct module *)
int query_module (char const *name, int which, void *buf, size_t bufsize, size_t *ret)
unsigned long create_module (const char *, size_t)
int delete_module (const char *)

Variables

unsigned int safemode

Define Documentation

#define MODUTILS_MODULE_H   1
#define NEW_MOD_AUTOCLEAN   4
#define NEW_MOD_DELETED   2
#define NEW_MOD_INITIALIZING   64
#define NEW_MOD_RUNNING   1
#define NEW_MOD_USED_ONCE   16
#define NEW_MOD_VISITED   8
#define OLD_MOD_AUTOCLEAN   0x40000000
#define QM_DEPS   2
#define QM_INFO   5
#define QM_MODULES   1
#define QM_REFS   3
#define QM_SYMBOLS   4
#define tgt_long   long
#define tgt_long_fmt   "l"
#define tgt_sizeof_char   sizeof(char)
#define tgt_sizeof_char_p   sizeof(char *)
#define tgt_sizeof_int   sizeof(int)
#define tgt_sizeof_long   sizeof(long)
#define tgt_sizeof_short   sizeof(short)
#define tgt_sizeof_void_p   sizeof(void *)

Function Documentation

unsigned long create_module ( const char *  ,
size_t   
)
int delete_module ( const char *   ) 
int get_kernel_syms ( struct old_kernel_sym  ) 
int old_sys_init_module ( char const *  name,
char *  code,
unsigned  codesize,
struct old_mod_routines ,
struct old_symbol_table  
)
int query_module ( char const *  name,
int  which,
void *  buf,
size_t  bufsize,
size_t *  ret 
)
int sys_init_module ( char const *  name,
const struct module  
)

Variable Documentation

unsigned int safemode

Generated on 27 Aug 2012 for oprofile by  doxygen 1.6.1