You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/05/18 05:08:48 UTC

[GitHub] [skywalking-data-collect-protocol] mrproliu commented on a diff in pull request #74: Add OFF CPU Profiling data protocol

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


##########
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:
   Updated to nanoseconds. 



-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org