diff --git a/tsl/profiler/protobuf/profiler_service.proto b/tsl/profiler/protobuf/profiler_service.proto index 0382e763b..36cf8ce67 100644 --- a/tsl/profiler/protobuf/profiler_service.proto +++ b/tsl/profiler/protobuf/profiler_service.proto @@ -20,6 +20,9 @@ service ProfilerService { // Starts a continuous profiling session. rpc StartContinuousProfiling(ProfileRequest) returns (ContinuousProfilingResponse) {} + // Stops an ongoing continuous profiling session. + rpc StopContinuousProfiling(StopContinuousProfilingRequest) + returns (StopContinuousProfilingResponse) {} // Gets a snapshot of an ongoing profiling session. rpc GetSnapshot(GetSnapshotRequest) returns (ProfileResponse) {} } @@ -108,6 +111,10 @@ message GetSnapshotRequest {} message ContinuousProfilingResponse {} +message StopContinuousProfilingRequest {} + +message StopContinuousProfilingResponse {} + // Next-ID: 4 message MonitorRequest { // Duration for which to profile between each update.