From fdf1db3a27e4f53524efe29c8f7a80ae02721843 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Sat, 18 Apr 2026 00:36:28 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 901664679 --- tsl/profiler/lib/profiler_controller.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tsl/profiler/lib/profiler_controller.cc b/tsl/profiler/lib/profiler_controller.cc index d9c58717c..8d51c93a8 100644 --- a/tsl/profiler/lib/profiler_controller.cc +++ b/tsl/profiler/lib/profiler_controller.cc @@ -43,10 +43,10 @@ absl::Status ProfilerController::Start() { if (status_.ok()) { status = status_ = profiler_->Start(); } else { - status = errors::Aborted("Previous call returned an error."); + status = absl::AbortedError("Previous call returned an error."); } } else { - status = errors::Aborted("Start called in the wrong order"); + status = absl::AbortedError("Start called in the wrong order"); } if (!status.ok()) LOG(ERROR) << status; return status; @@ -59,10 +59,10 @@ absl::Status ProfilerController::Stop() { if (status_.ok()) { status = status_ = profiler_->Stop(); } else { - status = errors::Aborted("Previous call returned an error."); + status = absl::AbortedError("Previous call returned an error."); } } else { - status = errors::Aborted("Stop called in the wrong order"); + status = absl::AbortedError("Stop called in the wrong order"); } if (!status.ok()) LOG(ERROR) << status; return status; @@ -76,10 +76,10 @@ absl::Status ProfilerController::CollectData( if (status_.ok()) { status = status_ = profiler_->CollectData(space); } else { - status = errors::Aborted("Previous call returned an error."); + status = absl::AbortedError("Previous call returned an error."); } } else { - status = errors::Aborted("CollectData called in the wrong order."); + status = absl::AbortedError("CollectData called in the wrong order."); } if (!status.ok()) LOG(ERROR) << status; return status;