wu-sheng commented on code in PR #74:
URL: 
https://github.com/apache/skywalking-data-collect-protocol/pull/74#discussion_r875473829


##########
ebpf/profiling/Profile.proto:
##########
@@ -84,4 +85,13 @@ message EBPFOnCPUProfiling {
     repeated EBPFProfilingStackMetadata stacks = 1;
     // stack counts
     int32 dumpCount = 2;
+}
+
+message EBPFOffCPUProfiling {
+    // stack data in one task(thread)
+    repeated EBPFProfilingStackMetadata stacks = 1;
+    // total count of the process is switched to off cpu by the scheduler.
+    int32 switchCount = 2;
+    // where time(microseconds) is spent waiting while blocked on I/O, locks, 
timers, paging/swapping, etc.
+    int64 duration = 3;

Review Comment:
   Be careful on the backend, I think we provide ms for UI consistently for 
both ON and OFF CPU.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to