]> Cypherpunks.ru repositories - gostls13.git/blob - src/internal/trace/v2/testdata/tests/go122-annotations.test
internal/trace: implement goroutine analysis for v2 traces
[gostls13.git] / src / internal / trace / v2 / testdata / tests / go122-annotations.test
1 -- expect --
2 SUCCESS
3 -- trace --
4 Trace Go1.22
5 EventBatch gen=1 m=18446744073709551615 time=23991883811065 size=5
6 Frequency freq=15625000
7 EventBatch gen=1 m=1331278 time=23991883808413 size=16
8 ProcStart dt=297 p=2 p_seq=1
9 GoStart dt=162 g=7 g_seq=1
10 HeapAlloc dt=267 heapalloc_value=1908736
11 EventBatch gen=1 m=1331277 time=23991883807353 size=28
12 ProcStart dt=472 p=1 p_seq=1
13 GoStart dt=309 g=6 g_seq=1
14 HeapAlloc dt=533 heapalloc_value=1892352
15 HeapAlloc dt=47 heapalloc_value=1900544
16 GoBlock dt=2071 reason_string=12 stack=23
17 ProcStop dt=54
18 EventBatch gen=1 m=1331276 time=23991883809162 size=10
19 ProcStart dt=426 p=3 p_seq=1
20 HeapAlloc dt=108 heapalloc_value=1916928
21 EventBatch gen=1 m=1331274 time=23991883805418 size=325
22 ProcStatus dt=241 p=0 pstatus=1
23 GoStatus dt=5 g=1 m=1331274 gstatus=2
24 ProcsChange dt=486 procs_value=48 stack=1
25 STWBegin dt=80 kind_string=21 stack=2
26 HeapGoal dt=3 heapgoal_value=4194304
27 ProcStatus dt=3 p=1 pstatus=2
28 ProcStatus dt=2 p=2 pstatus=2
29 ProcStatus dt=1 p=3 pstatus=2
30 ProcStatus dt=1 p=4 pstatus=2
31 ProcStatus dt=1 p=5 pstatus=2
32 ProcStatus dt=1 p=6 pstatus=2
33 ProcStatus dt=1 p=7 pstatus=2
34 ProcStatus dt=1 p=8 pstatus=2
35 ProcStatus dt=1 p=9 pstatus=2
36 ProcStatus dt=1 p=10 pstatus=2
37 ProcStatus dt=1 p=11 pstatus=2
38 ProcStatus dt=1 p=12 pstatus=2
39 ProcStatus dt=1 p=13 pstatus=2
40 ProcStatus dt=1 p=14 pstatus=2
41 ProcStatus dt=1 p=15 pstatus=2
42 ProcStatus dt=1 p=16 pstatus=2
43 ProcStatus dt=1 p=17 pstatus=2
44 ProcStatus dt=1 p=18 pstatus=2
45 ProcStatus dt=1 p=19 pstatus=2
46 ProcStatus dt=1 p=20 pstatus=2
47 ProcStatus dt=1 p=21 pstatus=2
48 ProcStatus dt=1 p=22 pstatus=2
49 ProcStatus dt=1 p=23 pstatus=2
50 ProcStatus dt=1 p=24 pstatus=2
51 ProcStatus dt=1 p=25 pstatus=2
52 ProcStatus dt=1 p=26 pstatus=2
53 ProcStatus dt=1 p=27 pstatus=2
54 ProcStatus dt=1 p=28 pstatus=2
55 ProcStatus dt=1 p=29 pstatus=2
56 ProcStatus dt=1 p=30 pstatus=2
57 ProcStatus dt=1 p=31 pstatus=2
58 ProcStatus dt=1 p=32 pstatus=2
59 ProcStatus dt=1 p=33 pstatus=2
60 ProcStatus dt=1 p=34 pstatus=2
61 ProcStatus dt=1 p=35 pstatus=2
62 ProcStatus dt=1 p=36 pstatus=2
63 ProcStatus dt=1 p=37 pstatus=2
64 ProcStatus dt=1 p=38 pstatus=2
65 ProcStatus dt=1 p=39 pstatus=2
66 ProcStatus dt=1 p=40 pstatus=2
67 ProcStatus dt=1 p=41 pstatus=2
68 ProcStatus dt=1 p=42 pstatus=2
69 ProcStatus dt=1 p=43 pstatus=2
70 ProcStatus dt=1 p=44 pstatus=2
71 ProcStatus dt=1 p=45 pstatus=2
72 ProcStatus dt=1 p=46 pstatus=2
73 ProcStatus dt=1 p=47 pstatus=2
74 ProcsChange dt=9 procs_value=48 stack=3
75 STWEnd dt=209
76 GoCreate dt=376 new_g=6 new_stack=4 stack=5
77 GoCreate dt=96 new_g=7 new_stack=6 stack=7
78 GoCreate dt=574 new_g=8 new_stack=8 stack=9
79 UserTaskBegin dt=19 task=1 parent_task=0 name_string=22 stack=10
80 UserRegionBegin dt=19 task=1 name_string=23 stack=11
81 HeapAlloc dt=27 heapalloc_value=1884160
82 GoCreate dt=578 new_g=9 new_stack=12 stack=13
83 GoBlock dt=67 reason_string=10 stack=14
84 GoStart dt=13 g=9 g_seq=1
85 UserRegionBegin dt=61 task=1 name_string=24 stack=15
86 UserRegionBegin dt=8 task=1 name_string=25 stack=16
87 UserRegionBegin dt=6 task=1 name_string=26 stack=17
88 UserLog dt=780 task=1 key_string=27 value_string=28 stack=18
89 UserRegionEnd dt=9 task=1 name_string=26 stack=19
90 UserRegionEnd dt=504 task=1 name_string=25 stack=20
91 UserTaskEnd dt=425 task=1 stack=21
92 GoUnblock dt=503 g=1 g_seq=1 stack=22
93 GoDestroy dt=7
94 GoStart dt=13 g=1 g_seq=2
95 UserRegionBegin dt=367 task=0 name_string=29 stack=24
96 EventBatch gen=1 m=18446744073709551615 time=23991883811600 size=57
97 GoStatus dt=358 g=2 m=18446744073709551615 gstatus=4
98 GoStatus dt=3 g=3 m=18446744073709551615 gstatus=4
99 GoStatus dt=2 g=4 m=18446744073709551615 gstatus=4
100 GoStatus dt=1 g=5 m=18446744073709551615 gstatus=4
101 EventBatch gen=1 m=18446744073709551615 time=23991883812197 size=461
102 Stacks
103 Stack id=8 nframes=1
104         pc=4812576 func=30 file=31 line=128
105 Stack id=13 nframes=1
106         pc=4813540 func=32 file=33 line=37
107 Stack id=3 nframes=4
108         pc=4421156 func=34 file=35 line=1360
109         pc=4537289 func=36 file=37 line=246
110         pc=4812325 func=38 file=31 line=125
111         pc=4813276 func=32 file=33 line=27
112 Stack id=2 nframes=3
113         pc=4537037 func=36 file=37 line=229
114         pc=4812325 func=38 file=31 line=125
115         pc=4813276 func=32 file=33 line=27
116 Stack id=16 nframes=1
117         pc=4813956 func=39 file=33 line=43
118 Stack id=19 nframes=3
119         pc=4814128 func=40 file=33 line=45
120         pc=4811708 func=41 file=42 line=141
121         pc=4813956 func=39 file=33 line=43
122 Stack id=10 nframes=1
123         pc=4813380 func=32 file=33 line=33
124 Stack id=1 nframes=4
125         pc=4551915 func=43 file=44 line=248
126         pc=4537017 func=36 file=37 line=228
127         pc=4812325 func=38 file=31 line=125
128         pc=4813276 func=32 file=33 line=27
129 Stack id=7 nframes=4
130         pc=4543253 func=45 file=37 line=831
131         pc=4537306 func=36 file=37 line=249
132         pc=4812325 func=38 file=31 line=125
133         pc=4813276 func=32 file=33 line=27
134 Stack id=11 nframes=1
135         pc=4813412 func=32 file=33 line=34
136 Stack id=4 nframes=1
137         pc=4545952 func=46 file=47 line=42
138 Stack id=5 nframes=4
139         pc=4545861 func=48 file=47 line=42
140         pc=4537294 func=36 file=37 line=248
141         pc=4812325 func=38 file=31 line=125
142         pc=4813276 func=32 file=33 line=27
143 Stack id=17 nframes=3
144         pc=4814128 func=40 file=33 line=45
145         pc=4811708 func=41 file=42 line=141
146         pc=4813956 func=39 file=33 line=43
147 Stack id=24 nframes=1
148         pc=4813616 func=32 file=33 line=54
149 Stack id=21 nframes=2
150         pc=4814276 func=49 file=42 line=80
151         pc=4813974 func=39 file=33 line=50
152 Stack id=12 nframes=1
153         pc=4813728 func=39 file=33 line=37
154 Stack id=14 nframes=2
155         pc=4640519 func=50 file=51 line=116
156         pc=4813550 func=32 file=33 line=51
157 Stack id=9 nframes=2
158         pc=4812399 func=38 file=31 line=128
159         pc=4813276 func=32 file=33 line=27
160 Stack id=22 nframes=3
161         pc=4640260 func=52 file=51 line=81
162         pc=4814374 func=53 file=51 line=87
163         pc=4813989 func=39 file=33 line=50
164 Stack id=20 nframes=1
165         pc=4813956 func=39 file=33 line=43
166 Stack id=6 nframes=1
167         pc=4543296 func=54 file=37 line=831
168 Stack id=15 nframes=1
169         pc=4813886 func=39 file=33 line=41
170 Stack id=18 nframes=5
171         pc=4814195 func=55 file=33 line=46
172         pc=4811708 func=41 file=42 line=141
173         pc=4814128 func=40 file=33 line=45
174         pc=4811708 func=41 file=42 line=141
175         pc=4813956 func=39 file=33 line=43
176 Stack id=23 nframes=3
177         pc=4217457 func=56 file=57 line=442
178         pc=4543501 func=58 file=37 line=881
179         pc=4546010 func=46 file=47 line=54
180 EventBatch gen=1 m=18446744073709551615 time=23991883804190 size=1620
181 Strings
182 String id=1
183         data="Not worker"
184 String id=2
185         data="GC (dedicated)"
186 String id=3
187         data="GC (fractional)"
188 String id=4
189         data="GC (idle)"
190 String id=5
191         data="unspecified"
192 String id=6
193         data="forever"
194 String id=7
195         data="network"
196 String id=8
197         data="select"
198 String id=9
199         data="sync.(*Cond).Wait"
200 String id=10
201         data="sync"
202 String id=11
203         data="chan send"
204 String id=12
205         data="chan receive"
206 String id=13
207         data="GC mark assist wait for work"
208 String id=14
209         data="GC background sweeper wait"
210 String id=15
211         data="system goroutine wait"
212 String id=16
213         data="preempted"
214 String id=17
215         data="wait for debug call"
216 String id=18
217         data="wait until GC ends"
218 String id=19
219         data="sleep"
220 String id=20
221         data="runtime.GoSched"
222 String id=21
223         data="start trace"
224 String id=22
225         data="task0"
226 String id=23
227         data="task0 region"
228 String id=24
229         data="unended region"
230 String id=25
231         data="region0"
232 String id=26
233         data="region1"
234 String id=27
235         data="key0"
236 String id=28
237         data="0123456789abcdef"
238 String id=29
239         data="post-existing region"
240 String id=30
241         data="runtime/trace.Start.func1"
242 String id=31
243         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/trace.go"
244 String id=32
245         data="main.main"
246 String id=33
247         data="/usr/local/google/home/mknyszek/work/go-1/src/internal/trace/v2/testdata/testprog/annotations.go"
248 String id=34
249         data="runtime.startTheWorld"
250 String id=35
251         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
252 String id=36
253         data="runtime.StartTrace"
254 String id=37
255         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2.go"
256 String id=38
257         data="runtime/trace.Start"
258 String id=39
259         data="main.main.func1"
260 String id=40
261         data="main.main.func1.1"
262 String id=41
263         data="runtime/trace.WithRegion"
264 String id=42
265         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/annotation.go"
266 String id=43
267         data="runtime.traceLocker.Gomaxprocs"
268 String id=44
269         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go"
270 String id=45
271         data="runtime.(*traceAdvancerState).start"
272 String id=46
273         data="runtime.traceStartReadCPU.func1"
274 String id=47
275         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go"
276 String id=48
277         data="runtime.traceStartReadCPU"
278 String id=49
279         data="runtime/trace.(*Task).End"
280 String id=50
281         data="sync.(*WaitGroup).Wait"
282 String id=51
283         data="/usr/local/google/home/mknyszek/work/go-1/src/sync/waitgroup.go"
284 String id=52
285         data="sync.(*WaitGroup).Add"
286 String id=53
287         data="sync.(*WaitGroup).Done"
288 String id=54
289         data="runtime.(*traceAdvancerState).start.func1"
290 String id=55
291         data="main.main.func1.1.1"
292 String id=56
293         data="runtime.chanrecv1"
294 String id=57
295         data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/chan.go"
296 String id=58
297         data="runtime.(*wakeableSleep).sleep"