diff --git a/test_tracetools/src/mark_process.cpp b/test_tracetools/src/mark_process.cpp index 069b9a8e..a6671428 100644 --- a/test_tracetools/src/mark_process.cpp +++ b/test_tracetools/src/mark_process.cpp @@ -41,7 +41,7 @@ void mark_trace_test_process() const std::string env_var{trace_test_id_env_var}; const auto test_id = rcpputils::get_env_var(env_var.c_str()); if (!test_id.empty()) { -#if LTTNG_UST_MINOR_VERSION == 12 +#if LTTNG_UST_MINOR_VERSION <= 12 _lttng_ust_tracef("%s=%s", env_var.c_str(), test_id.c_str()); #else lttng_ust__tracef("%s=%s", env_var.c_str(), test_id.c_str());