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