Skip to content

Commit

Permalink
Update test_tracetools/src/mark_process.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Tomoya Fujita <[email protected]>
Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette and fujitatomoya authored Mar 20, 2024
1 parent 66088c0 commit 7e426a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_tracetools/src/mark_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 7e426a1

Please sign in to comment.