Skip to content

Commit

Permalink
Use lttng_ust_tracef instead of lttng_ust__tracef (#103)
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
  • Loading branch information
christophebedard committed Mar 28, 2024
1 parent 4031a40 commit 513bd86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_tracetools/src/mark_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ void mark_trace_test_process()
const auto test_id = rcpputils::get_env_var(env_var.c_str());
if (!test_id.empty()) {
#if LTTNG_UST_MINOR_VERSION <= 12
_lttng_ust_tracef("%s=%s", env_var.c_str(), test_id.c_str());
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());
lttng_ust_tracef("%s=%s", env_var.c_str(), test_id.c_str());
#endif
}
#endif // TRACETOOLS_DISABLED
Expand Down

0 comments on commit 513bd86

Please sign in to comment.