\hypertarget{memchecker__valgrind__module_8c}{\section{opal/mca/memchecker/valgrind/memchecker\+\_\+valgrind\+\_\+module.c File Reference}
\label{memchecker__valgrind__module_8c}\index{opal/mca/memchecker/valgrind/memchecker\+\_\+valgrind\+\_\+module.\+c@{opal/mca/memchecker/valgrind/memchecker\+\_\+valgrind\+\_\+module.\+c}}
}


memchecker (memory checker) valgrind framework component interface.  


{\ttfamily \#include \char`\"{}opal\+\_\+config.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/constants.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/base/mca\+\_\+base\+\_\+param.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/memchecker/memchecker.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}opal/mca/memchecker/base/base.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}memchecker\+\_\+valgrind.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}valgrind/valgrind.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}valgrind/memcheck.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{memchecker__valgrind__module_8c_a98030d01d17a161247909dd288a1a8b0}{static int {\bfseries valgrind\+\_\+module\+\_\+init} (void)}\label{memchecker__valgrind__module_8c_a98030d01d17a161247909dd288a1a8b0}

\item 
\hypertarget{memchecker__valgrind__module_8c_a992764bd8701bbbcb9be64bf06e21b33}{static int {\bfseries valgrind\+\_\+module\+\_\+runindebugger} (void)}\label{memchecker__valgrind__module_8c_a992764bd8701bbbcb9be64bf06e21b33}

\item 
\hypertarget{memchecker__valgrind__module_8c_abcd4d8fc6287976c6c8125d739ca64ae}{static int {\bfseries valgrind\+\_\+module\+\_\+isaddressable} (void $\ast$p, size\+\_\+t len)}\label{memchecker__valgrind__module_8c_abcd4d8fc6287976c6c8125d739ca64ae}

\item 
\hypertarget{memchecker__valgrind__module_8c_ae7ffa2ea528d95d29adcf8fc7acf02b5}{static int {\bfseries valgrind\+\_\+module\+\_\+isdefined} (void $\ast$p, size\+\_\+t len)}\label{memchecker__valgrind__module_8c_ae7ffa2ea528d95d29adcf8fc7acf02b5}

\item 
\hypertarget{memchecker__valgrind__module_8c_a0507838333371054521b3bf96091cf5c}{static int {\bfseries valgrind\+\_\+module\+\_\+mem\+\_\+noaccess} (void $\ast$p, size\+\_\+t len)}\label{memchecker__valgrind__module_8c_a0507838333371054521b3bf96091cf5c}

\item 
\hypertarget{memchecker__valgrind__module_8c_a3675d76b5ae26b3bd35f3e601554bceb}{static int {\bfseries valgrind\+\_\+module\+\_\+mem\+\_\+undefined} (void $\ast$p, size\+\_\+t len)}\label{memchecker__valgrind__module_8c_a3675d76b5ae26b3bd35f3e601554bceb}

\item 
\hypertarget{memchecker__valgrind__module_8c_afca0760ac56263da43ca01c7188851f9}{static int {\bfseries valgrind\+\_\+module\+\_\+mem\+\_\+defined} (void $\ast$p, size\+\_\+t len)}\label{memchecker__valgrind__module_8c_afca0760ac56263da43ca01c7188851f9}

\item 
\hypertarget{memchecker__valgrind__module_8c_a64d867e7d4c89f6a1e5aa2035e8f626e}{static int {\bfseries valgrind\+\_\+module\+\_\+mem\+\_\+defined\+\_\+if\+\_\+addressable} (void $\ast$p, size\+\_\+t len)}\label{memchecker__valgrind__module_8c_a64d867e7d4c89f6a1e5aa2035e8f626e}

\item 
\hypertarget{memchecker__valgrind__module_8c_a06e11ef416815090d7fd38f9abd0832f}{static int {\bfseries valgrind\+\_\+module\+\_\+create\+\_\+block} (void $\ast$p, size\+\_\+t len, char $\ast$description)}\label{memchecker__valgrind__module_8c_a06e11ef416815090d7fd38f9abd0832f}

\item 
\hypertarget{memchecker__valgrind__module_8c_ae99a4e8eb8ae2ad4bafb7efad1889369}{static int {\bfseries valgrind\+\_\+module\+\_\+discard\+\_\+block} (void $\ast$p)}\label{memchecker__valgrind__module_8c_ae99a4e8eb8ae2ad4bafb7efad1889369}

\item 
\hypertarget{memchecker__valgrind__module_8c_a24c3e95d8893d2ea73bf1571e76a67c3}{static int {\bfseries valgrind\+\_\+module\+\_\+leakcheck} (void)}\label{memchecker__valgrind__module_8c_a24c3e95d8893d2ea73bf1571e76a67c3}

\item 
int \hyperlink{memchecker__valgrind__module_8c_a4c393384636eb31cec43758ce07d0d8f}{opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query} (\hyperlink{mca_8h_a754b82edf8c7a63b09f7ee5270031bdd}{mca\+\_\+base\+\_\+module\+\_\+t} $\ast$$\ast$module, int $\ast$priority)
\begin{DoxyCompactList}\small\item\em memchecker query A\+P\+I function \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
static const \\*
\hyperlink{structopal__memchecker__base__module__1__0__0__t}{opal\+\_\+memchecker\+\_\+base\+\_\+module\+\_\+1\+\_\+0\+\_\+0\+\_\+t} {\bfseries loc\+\_\+module}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
memchecker (memory checker) valgrind framework component interface. 

Intent 

\subsection{Function Documentation}
\hypertarget{memchecker__valgrind__module_8c_a4c393384636eb31cec43758ce07d0d8f}{\index{memchecker\+\_\+valgrind\+\_\+module.\+c@{memchecker\+\_\+valgrind\+\_\+module.\+c}!opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query@{opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query}}
\index{opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query@{opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query}!memchecker\+\_\+valgrind\+\_\+module.\+c@{memchecker\+\_\+valgrind\+\_\+module.\+c}}
\subsubsection[{opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query}]{\setlength{\rightskip}{0pt plus 5cm}int opal\+\_\+memchecker\+\_\+valgrind\+\_\+component\+\_\+query (
\begin{DoxyParamCaption}
\item[{{\bf mca\+\_\+base\+\_\+module\+\_\+t} $\ast$$\ast$}]{module, }
\item[{int $\ast$}]{priority}
\end{DoxyParamCaption}
)}}\label{memchecker__valgrind__module_8c_a4c393384636eb31cec43758ce07d0d8f}


memchecker query A\+P\+I function 

Query function for memchecker components. Simply returns a priority to rank it against other available memchecker components (assumedly, only one component will be available per platform, but it's possible that there could be more than one available). 

References mca\+\_\+base\+\_\+param\+\_\+find(), and mca\+\_\+base\+\_\+param\+\_\+lookup\+\_\+int().



\subsection{Variable Documentation}
\hypertarget{memchecker__valgrind__module_8c_a49de9937b6a8994b0eb8704292294fe2}{\index{memchecker\+\_\+valgrind\+\_\+module.\+c@{memchecker\+\_\+valgrind\+\_\+module.\+c}!loc\+\_\+module@{loc\+\_\+module}}
\index{loc\+\_\+module@{loc\+\_\+module}!memchecker\+\_\+valgrind\+\_\+module.\+c@{memchecker\+\_\+valgrind\+\_\+module.\+c}}
\subsubsection[{loc\+\_\+module}]{\setlength{\rightskip}{0pt plus 5cm}const {\bf opal\+\_\+memchecker\+\_\+base\+\_\+module\+\_\+1\+\_\+0\+\_\+0\+\_\+t} loc\+\_\+module\hspace{0.3cm}{\ttfamily [static]}}}\label{memchecker__valgrind__module_8c_a49de9937b6a8994b0eb8704292294fe2}
{\bfseries Initial value\+:}
\begin{DoxyCode}
= \{
    
    valgrind\_module\_init,

    
    valgrind\_module\_runindebugger,
    valgrind\_module\_isaddressable,
    valgrind\_module\_isdefined,
    valgrind\_module\_mem\_noaccess,
    valgrind\_module\_mem\_undefined,
    valgrind\_module\_mem\_defined,
    valgrind\_module\_mem\_defined\_if\_addressable,
    valgrind\_module\_create\_block,
    valgrind\_module\_discard\_block,
    valgrind\_module\_leakcheck
\}
\end{DoxyCode}
