mirror of https://github.com/golang/go.git
runtime: fix cpu sample comment
This commit is contained in:
parent
2da8a55584
commit
7e0d04b503
|
|
@ -1078,7 +1078,7 @@ const (
|
|||
EvUserTaskEnd = 46 // end of task [timestamp, internal task id, stack]
|
||||
EvUserRegion = 47 // trace.WithRegion [timestamp, internal task id, mode(0:start, 1:end), stack, name string]
|
||||
EvUserLog = 48 // trace.Log [timestamp, internal id, key string id, stack, value string]
|
||||
EvCPUSample = 49 // CPU profiling sample [timestamp, stack, real timestamp, real P id (-1 when absent), goroutine id]
|
||||
EvCPUSample = 49 // CPU profiling sample [timestamp, real timestamp, real P id (-1 when absent), goroutine id, stack]
|
||||
EvCount = 50
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ const (
|
|||
traceEvUserTaskEnd = 46 // end of a task [timestamp, internal task id, stack]
|
||||
traceEvUserRegion = 47 // trace.WithRegion [timestamp, internal task id, mode(0:start, 1:end), stack, name string]
|
||||
traceEvUserLog = 48 // trace.Log [timestamp, internal task id, key string id, stack, value string]
|
||||
traceEvCPUSample = 49 // CPU profiling sample [timestamp, stack, real timestamp, real P id (-1 when absent), goroutine id]
|
||||
traceEvCPUSample = 49 // CPU profiling sample [timestamp, real timestamp, real P id (-1 when absent), goroutine id, stack]
|
||||
traceEvCount = 50
|
||||
// Byte is used but only 6 bits are available for event type.
|
||||
// The remaining 2 bits are used to specify the number of arguments.
|
||||
|
|
|
|||
Loading…
Reference in New Issue