34 #ifndef OPAL_MCA_MEMCHECKER_MEMCHECKER_H
35 #define OPAL_MCA_MEMCHECKER_MEMCHECKER_H
37 #include "opal_config.h"
40 #include "opal/mca/base/base.h"
180 #define OPAL_MEMCHECKER_BASE_VERSION_2_0_0 \
181 MCA_BASE_VERSION_2_0_0, \
182 "memchecker", 2, 0, 0
int(* opal_memchecker_base_module_mem_defined_if_addressable_fn_t)(void *p, size_t len)
Module function to set memory region to defined, but only if addressable.
Definition: memchecker.h:81
int(* opal_memchecker_base_module_discard_block_fn_t)(void *p)
Module function to discard a named memory region.
Definition: memchecker.h:91
int(* opal_memchecker_base_module_set_vbits_fn_t)(void *p, char *vbits, size_t len)
Module function to set vbits.
Definition: memchecker.h:106
Common type for all MCA components.
Definition: mca.h:250
int(* opal_memchecker_base_module_isaddressable_fn_t)(void *p, size_t len)
Module function to check, whether memory region is addressable.
Definition: memchecker.h:56
int(* opal_memchecker_base_module_leakcheck_fn_t)(void)
Module function to check for any leaks.
Definition: memchecker.h:96
opal_memchecker_base_module_mem_noaccess_fn_t mem_noaccess
Module function to set memory region to not accessible.
Definition: memchecker.h:143
mca_base_component_t base_version
MCA base component.
Definition: memchecker.h:115
int(* opal_memchecker_base_module_mem_undefined_fn_t)(void *p, size_t len)
Module function to set memory region to undefined.
Definition: memchecker.h:71
int(* opal_memchecker_base_module_mem_noaccess_fn_t)(void *p, size_t len)
Module function to set memory region to not accessible.
Definition: memchecker.h:66
opal_memchecker_base_module_mem_defined_fn_t mem_defined
Module function to set memory region to defined.
Definition: memchecker.h:149
opal_memchecker_base_module_leakcheck_fn_t leakcheck
Module function to check for any leaks.
Definition: memchecker.h:161
int(* opal_memchecker_base_module_create_block_fn_t)(void *p, size_t len, char *description)
Module function name a specific memory region.
Definition: memchecker.h:86
opal_memchecker_base_module_set_vbits_fn_t set_vbits
Module function to set vbits.
Definition: memchecker.h:167
Top-level interface for all MCA components.
int(* opal_memchecker_base_module_get_vbits_fn_t)(void *p, char *vbits, size_t len)
Module function to get vbits.
Definition: memchecker.h:101
opal_memchecker_base_module_create_block_fn_t create_block
Module function name a specific memory region.
Definition: memchecker.h:155
opal_memchecker_base_module_runindebugger_fn_t runindebugger
Module function to check, whether we are executed by memory debugger.
Definition: memchecker.h:134
int(* opal_memchecker_base_module_init_1_0_0_fn_t)(void)
Module initialization function.
Definition: memchecker.h:45
int(* opal_memchecker_base_module_isdefined_fn_t)(void *p, size_t len)
Module function to check, whether memory region is defined.
Definition: memchecker.h:61
opal_memchecker_base_module_get_vbits_fn_t get_vbits
Module function to get vbits.
Definition: memchecker.h:164
mca_base_component_data_t base_data
MCA base data.
Definition: memchecker.h:117
int(* opal_memchecker_base_module_runindebugger_fn_t)(void)
Module function to query, whether we're under the memory checking program, like valgrind.
Definition: memchecker.h:51
opal_memchecker_base_module_mem_defined_if_addressable_fn_t mem_defined_if_addressable
Module function to set memory region to defined, but only if addressable.
Definition: memchecker.h:152
opal_memchecker_base_module_isaddressable_fn_t isaddressable
Module function to check, whether memory region is addressable.
Definition: memchecker.h:137
opal_memchecker_base_module_discard_block_fn_t discard_block
Module function to discard a named memory region.
Definition: memchecker.h:158
opal_memchecker_base_module_mem_undefined_fn_t mem_undefined
Module function to set memory region to undefined.
Definition: memchecker.h:146
Meta data for MCA v2.0.0 components.
Definition: mca.h:309
Structure for memchecker components.
Definition: memchecker.h:113
opal_memchecker_base_module_isdefined_fn_t isdefined
Module function to check, whether memory region is defined.
Definition: memchecker.h:140
opal_memchecker_base_module_init_1_0_0_fn_t init
Module initialization function.
Definition: memchecker.h:131
int(* opal_memchecker_base_module_mem_defined_fn_t)(void *p, size_t len)
Module function to set memory region to defined.
Definition: memchecker.h:76
Structure for memchecker modules.
Definition: memchecker.h:129