Make conditional the compilation of static functions and data that are only used later, when that same preprocessor condition is in place.
Make conditional the compilation of static functions and data
that are only used later, when that same preprocessor condition
is in place.

HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit