diff --git a/tsl/profiler/protobuf/profiler_service.proto b/tsl/profiler/protobuf/profiler_service.proto index 2419d8290..3bf499dd0 100644 --- a/tsl/profiler/protobuf/profiler_service.proto +++ b/tsl/profiler/protobuf/profiler_service.proto @@ -17,6 +17,11 @@ service ProfilerService { rpc Terminate(TerminateRequest) returns (TerminateResponse) {} // Collects profiling data and returns user-friendly metrics. rpc Monitor(MonitorRequest) returns (MonitorResponse) {} + // Starts a continuous profiling session. + rpc ContinuousProfiling(ProfileRequest) + returns (ContinuousProfilingResponse) {} + // Gets a snapshot of an ongoing profiling session. + rpc GetSnapShot(GetSnapShotRequest) returns (ProfileResponse) {} } message ToolRequestOptions { @@ -99,6 +104,10 @@ message TerminateRequest { message TerminateResponse {} +message GetSnapShotRequest {} + +message ContinuousProfilingResponse {} + // Next-ID: 4 message MonitorRequest { // Duration for which to profile between each update.