golang.org/x/exp@v0.0.0-20240506185415-9bf2ced13842/trace/testdata/tests/go122-annotations.test (about) 1 -- expect -- 2 SUCCESS 3 -- trace -- 4 Trace Go1.22 5 EventBatch gen=1 m=18446744073709551615 time=28113086279559 size=5 6 Frequency freq=15625000 7 EventBatch gen=1 m=167930 time=28113086277797 size=41 8 ProcStart dt=505 p=1 p_seq=1 9 GoStart dt=303 g=7 g_seq=1 10 HeapAlloc dt=646 heapalloc_value=1892352 11 HeapAlloc dt=149 heapalloc_value=1900544 12 GoBlock dt=146 reason_string=12 stack=24 13 GoStart dt=14 g=6 g_seq=1 14 HeapAlloc dt=16 heapalloc_value=1908736 15 GoBlock dt=347 reason_string=12 stack=25 16 EventBatch gen=1 m=167928 time=28113086279032 size=10 17 ProcStart dt=451 p=2 p_seq=1 18 GoStart dt=188 g=8 g_seq=1 19 EventBatch gen=1 m=167926 time=28113086275999 size=324 20 ProcStatus dt=295 p=0 pstatus=1 21 GoStatus dt=5 g=1 m=167926 gstatus=2 22 ProcsChange dt=405 procs_value=48 stack=1 23 STWBegin dt=65 kind_string=21 stack=2 24 HeapGoal dt=2 heapgoal_value=4194304 25 ProcStatus dt=4 p=1 pstatus=2 26 ProcStatus dt=1 p=2 pstatus=2 27 ProcStatus dt=1 p=3 pstatus=2 28 ProcStatus dt=1 p=4 pstatus=2 29 ProcStatus dt=1 p=5 pstatus=2 30 ProcStatus dt=1 p=6 pstatus=2 31 ProcStatus dt=1 p=7 pstatus=2 32 ProcStatus dt=1 p=8 pstatus=2 33 ProcStatus dt=1 p=9 pstatus=2 34 ProcStatus dt=1 p=10 pstatus=2 35 ProcStatus dt=1 p=11 pstatus=2 36 ProcStatus dt=1 p=12 pstatus=2 37 ProcStatus dt=1 p=13 pstatus=2 38 ProcStatus dt=1 p=14 pstatus=2 39 ProcStatus dt=1 p=15 pstatus=2 40 ProcStatus dt=1 p=16 pstatus=2 41 ProcStatus dt=1 p=17 pstatus=2 42 ProcStatus dt=1 p=18 pstatus=2 43 ProcStatus dt=1 p=19 pstatus=2 44 ProcStatus dt=1 p=20 pstatus=2 45 ProcStatus dt=1 p=21 pstatus=2 46 ProcStatus dt=1 p=22 pstatus=2 47 ProcStatus dt=1 p=23 pstatus=2 48 ProcStatus dt=1 p=24 pstatus=2 49 ProcStatus dt=1 p=25 pstatus=2 50 ProcStatus dt=1 p=26 pstatus=2 51 ProcStatus dt=1 p=27 pstatus=2 52 ProcStatus dt=1 p=28 pstatus=2 53 ProcStatus dt=1 p=29 pstatus=2 54 ProcStatus dt=1 p=30 pstatus=2 55 ProcStatus dt=1 p=31 pstatus=2 56 ProcStatus dt=1 p=32 pstatus=2 57 ProcStatus dt=1 p=33 pstatus=2 58 ProcStatus dt=1 p=34 pstatus=2 59 ProcStatus dt=1 p=35 pstatus=2 60 ProcStatus dt=1 p=36 pstatus=2 61 ProcStatus dt=1 p=37 pstatus=2 62 ProcStatus dt=1 p=38 pstatus=2 63 ProcStatus dt=1 p=39 pstatus=2 64 ProcStatus dt=1 p=40 pstatus=2 65 ProcStatus dt=1 p=41 pstatus=2 66 ProcStatus dt=1 p=42 pstatus=2 67 ProcStatus dt=1 p=43 pstatus=2 68 ProcStatus dt=1 p=44 pstatus=2 69 ProcStatus dt=1 p=45 pstatus=2 70 ProcStatus dt=1 p=46 pstatus=2 71 ProcStatus dt=1 p=47 pstatus=2 72 ProcsChange dt=1 procs_value=48 stack=3 73 STWEnd dt=184 74 GoCreate dt=252 new_g=6 new_stack=4 stack=5 75 GoCreate dt=78 new_g=7 new_stack=6 stack=7 76 GoCreate dt=73 new_g=8 new_stack=8 stack=9 77 UserTaskBegin dt=71 task=1 parent_task=0 name_string=22 stack=10 78 UserRegionBegin dt=535 task=1 name_string=23 stack=11 79 HeapAlloc dt=26 heapalloc_value=1884160 80 GoCreate dt=8 new_g=9 new_stack=12 stack=13 81 GoBlock dt=249 reason_string=10 stack=14 82 GoStart dt=8 g=9 g_seq=1 83 UserRegionBegin dt=286 task=1 name_string=24 stack=15 84 UserRegionBegin dt=244 task=1 name_string=25 stack=16 85 UserRegionBegin dt=6 task=1 name_string=26 stack=17 86 UserLog dt=6 task=1 key_string=27 value_string=28 stack=18 87 UserRegionEnd dt=4 task=1 name_string=26 stack=19 88 UserRegionEnd dt=315 task=1 name_string=25 stack=20 89 UserTaskEnd dt=5 task=1 stack=21 90 GoUnblock dt=11 g=1 g_seq=1 stack=22 91 GoDestroy dt=6 92 GoStart dt=10 g=1 g_seq=2 93 UserRegionBegin dt=278 task=0 name_string=29 stack=23 94 EventBatch gen=1 m=18446744073709551615 time=28113086280061 size=57 95 GoStatus dt=318 g=2 m=18446744073709551615 gstatus=4 96 GoStatus dt=3 g=3 m=18446744073709551615 gstatus=4 97 GoStatus dt=1 g=4 m=18446744073709551615 gstatus=4 98 GoStatus dt=1 g=5 m=18446744073709551615 gstatus=4 99 EventBatch gen=1 m=18446744073709551615 time=28113086280852 size=488 100 Stacks 101 Stack id=17 nframes=3 102 pc=4816080 func=30 file=31 line=45 103 pc=4813660 func=32 file=33 line=141 104 pc=4815908 func=34 file=31 line=43 105 Stack id=8 nframes=1 106 pc=4814528 func=35 file=36 line=128 107 Stack id=9 nframes=2 108 pc=4814351 func=37 file=36 line=128 109 pc=4815228 func=38 file=31 line=27 110 Stack id=24 nframes=3 111 pc=4217457 func=39 file=40 line=442 112 pc=4544973 func=41 file=42 line=918 113 pc=4544806 func=43 file=42 line=871 114 Stack id=7 nframes=4 115 pc=4544740 func=44 file=42 line=868 116 pc=4538792 func=45 file=42 line=258 117 pc=4814277 func=37 file=36 line=125 118 pc=4815228 func=38 file=31 line=27 119 Stack id=22 nframes=3 120 pc=4642148 func=46 file=47 line=81 121 pc=4816326 func=48 file=47 line=87 122 pc=4815941 func=34 file=31 line=50 123 Stack id=11 nframes=1 124 pc=4815364 func=38 file=31 line=34 125 Stack id=5 nframes=4 126 pc=4547349 func=49 file=50 line=42 127 pc=4538780 func=45 file=42 line=257 128 pc=4814277 func=37 file=36 line=125 129 pc=4815228 func=38 file=31 line=27 130 Stack id=23 nframes=1 131 pc=4815568 func=38 file=31 line=54 132 Stack id=3 nframes=4 133 pc=4421860 func=51 file=52 line=1360 134 pc=4538775 func=45 file=42 line=255 135 pc=4814277 func=37 file=36 line=125 136 pc=4815228 func=38 file=31 line=27 137 Stack id=21 nframes=2 138 pc=4816228 func=53 file=33 line=80 139 pc=4815926 func=34 file=31 line=50 140 Stack id=1 nframes=4 141 pc=4553515 func=54 file=55 line=255 142 pc=4538503 func=45 file=42 line=237 143 pc=4814277 func=37 file=36 line=125 144 pc=4815228 func=38 file=31 line=27 145 Stack id=12 nframes=1 146 pc=4815680 func=34 file=31 line=37 147 Stack id=6 nframes=1 148 pc=4544768 func=43 file=42 line=868 149 Stack id=2 nframes=3 150 pc=4538523 func=45 file=42 line=238 151 pc=4814277 func=37 file=36 line=125 152 pc=4815228 func=38 file=31 line=27 153 Stack id=13 nframes=1 154 pc=4815492 func=38 file=31 line=37 155 Stack id=4 nframes=1 156 pc=4547456 func=56 file=50 line=42 157 Stack id=14 nframes=2 158 pc=4642407 func=57 file=47 line=116 159 pc=4815502 func=38 file=31 line=51 160 Stack id=18 nframes=5 161 pc=4816147 func=58 file=31 line=46 162 pc=4813660 func=32 file=33 line=141 163 pc=4816080 func=30 file=31 line=45 164 pc=4813660 func=32 file=33 line=141 165 pc=4815908 func=34 file=31 line=43 166 Stack id=20 nframes=1 167 pc=4815908 func=34 file=31 line=43 168 Stack id=25 nframes=3 169 pc=4217457 func=39 file=40 line=442 170 pc=4544973 func=41 file=42 line=918 171 pc=4547514 func=56 file=50 line=54 172 Stack id=16 nframes=1 173 pc=4815908 func=34 file=31 line=43 174 Stack id=15 nframes=1 175 pc=4815838 func=34 file=31 line=41 176 Stack id=19 nframes=3 177 pc=4816080 func=30 file=31 line=45 178 pc=4813660 func=32 file=33 line=141 179 pc=4815908 func=34 file=31 line=43 180 Stack id=10 nframes=1 181 pc=4815332 func=38 file=31 line=33 182 EventBatch gen=1 m=18446744073709551615 time=28113086274600 size=1620 183 Strings 184 String id=1 185 data="Not worker" 186 String id=2 187 data="GC (dedicated)" 188 String id=3 189 data="GC (fractional)" 190 String id=4 191 data="GC (idle)" 192 String id=5 193 data="unspecified" 194 String id=6 195 data="forever" 196 String id=7 197 data="network" 198 String id=8 199 data="select" 200 String id=9 201 data="sync.(*Cond).Wait" 202 String id=10 203 data="sync" 204 String id=11 205 data="chan send" 206 String id=12 207 data="chan receive" 208 String id=13 209 data="GC mark assist wait for work" 210 String id=14 211 data="GC background sweeper wait" 212 String id=15 213 data="system goroutine wait" 214 String id=16 215 data="preempted" 216 String id=17 217 data="wait for debug call" 218 String id=18 219 data="wait until GC ends" 220 String id=19 221 data="sleep" 222 String id=20 223 data="runtime.Gosched" 224 String id=21 225 data="start trace" 226 String id=22 227 data="task0" 228 String id=23 229 data="task0 region" 230 String id=24 231 data="unended region" 232 String id=25 233 data="region0" 234 String id=26 235 data="region1" 236 String id=27 237 data="key0" 238 String id=28 239 data="0123456789abcdef" 240 String id=29 241 data="post-existing region" 242 String id=30 243 data="main.main.func1.1" 244 String id=31 245 data="/usr/local/google/home/mknyszek/work/go-1/src/internal/trace/v2/testdata/testprog/annotations.go" 246 String id=32 247 data="runtime/trace.WithRegion" 248 String id=33 249 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/annotation.go" 250 String id=34 251 data="main.main.func1" 252 String id=35 253 data="runtime/trace.Start.func1" 254 String id=36 255 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/trace.go" 256 String id=37 257 data="runtime/trace.Start" 258 String id=38 259 data="main.main" 260 String id=39 261 data="runtime.chanrecv1" 262 String id=40 263 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/chan.go" 264 String id=41 265 data="runtime.(*wakeableSleep).sleep" 266 String id=42 267 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2.go" 268 String id=43 269 data="runtime.(*traceAdvancerState).start.func1" 270 String id=44 271 data="runtime.(*traceAdvancerState).start" 272 String id=45 273 data="runtime.StartTrace" 274 String id=46 275 data="sync.(*WaitGroup).Add" 276 String id=47 277 data="/usr/local/google/home/mknyszek/work/go-1/src/sync/waitgroup.go" 278 String id=48 279 data="sync.(*WaitGroup).Done" 280 String id=49 281 data="runtime.traceStartReadCPU" 282 String id=50 283 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go" 284 String id=51 285 data="runtime.startTheWorld" 286 String id=52 287 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go" 288 String id=53 289 data="runtime/trace.(*Task).End" 290 String id=54 291 data="runtime.traceLocker.Gomaxprocs" 292 String id=55 293 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go" 294 String id=56 295 data="runtime.traceStartReadCPU.func1" 296 String id=57 297 data="sync.(*WaitGroup).Wait" 298 String id=58 299 data="main.main.func1.1.1"