]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/runtime/trace2event.go
internal/trace/v2: resolve syscall parsing ambiguity
[gostls13.git] / src / runtime / trace2event.go
index f7abf60c5fc83aac0e79192baddeb35de9e13c59..1f2a9f754be1f701a398220897b6f9d47a7ed6cb 100644 (file)
@@ -52,7 +52,7 @@ const (
        traceEvGoStop              // goroutine yields its time, but is runnable [timestamp, reason, stack ID]
        traceEvGoBlock             // goroutine blocks [timestamp, reason, stack ID]
        traceEvGoUnblock           // goroutine is unblocked [timestamp, goroutine ID, goroutine seq, stack ID]
-       traceEvGoSyscallBegin      // syscall enter [timestamp, stack ID]
+       traceEvGoSyscallBegin      // syscall enter [timestamp, P seq, stack ID]
        traceEvGoSyscallEnd        // syscall exit [timestamp]
        traceEvGoSyscallEndBlocked // syscall exit and it blocked at some point [timestamp]
        traceEvGoStatus            // goroutine status at the start of a generation [timestamp, goroutine ID, M ID, status]