def METHOD_NAME(frame):
    """Return the evaluation expression for getting SamplingProfiler instance"""
    expression = "::hermes::vm::SamplingProfiler::getInstance()"
    profiler_sharedptr_value = _evaluate_expression(frame, expression)
    # Currently lldb segfault while evaluating std::shared_ptr<T>::get() for GNU C++.
    # To workaround this issue we manually decode the shared_ptr raw pointer.
    profiler_raw_ptr = _get_raw_ptr_from_shared_ptr(profiler_sharedptr_value)
    return (
        "((::hermes::vm::SamplingProfiler *)%u)" % profiler_raw_ptr.GetValueAsUnsigned()
    )