Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]:Custom Backend Tracing #7403

Merged
merged 15 commits into from
Jul 5, 2024
Prev Previous commit
Review comments
  • Loading branch information
oandreeva-nv committed Jul 5, 2024
commit 636cc13c7cc6751bc7500aa16381ff8fb47f8ff0
2 changes: 1 addition & 1 deletion qa/L0_trace/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1238,4 +1238,4 @@ set -e
kill $SERVER_PID
wait $SERVER_PID
set +e
exit $RET
exit $RET
4 changes: 2 additions & 2 deletions src/tracer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,8 @@ TraceManager::Trace::AddEvent(
{
std::string activity_name =
RetrieveActivityName(trace, activity, timestamp_ns);
std::string start = "_START";
std::string end = "_END";
static std::string start = "_START";
static std::string end = "_END";
if (activity == TRITONSERVER_TRACE_REQUEST_START ||
activity == TRITONSERVER_TRACE_COMPUTE_START ||
(activity == TRITONSERVER_TRACE_CUSTOM_ACTIVITY &&
Expand Down
Loading