Move the debug string from TraceMe name to argument.

PiperOrigin-RevId: 283865965
Change-Id: I996b10a3501c57c674bc5fe7d674d36e5d16ea3f
This commit is contained in:
A. Unique TensorFlower 2019-12-04 16:45:58 -08:00 committed by TensorFlower Gardener
parent 3524e73e09
commit fda7ab091f

View File

@ -412,7 +412,8 @@ Status EagerServiceImpl::Enqueue(const EnqueueRequest* request,
EnqueueResponse* response, uint64 stream_id) {
profiler::TraceMe activity(
[&] {
return absl::StrCat("EagerService:Enqueue:", request->DebugString());
return absl::StrCat(
"EagerService:Enqueue#debug_str=", request->DebugString(), "#");
},
profiler::TraceMeLevel::kInfo);
ServerContext* context = nullptr;