]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/internal/trace/v2/testdata/tests/go122-annotations.test
internal/trace/v2: resolve syscall parsing ambiguity
[gostls13.git] / src / internal / trace / v2 / testdata / tests / go122-annotations.test
index ab4b92352d9633cff2b544318567e6374b7e06a0..4749d8200423c518e8dd55766c56c23bf4bc8bf1 100644 (file)
@@ -2,30 +2,28 @@
 SUCCESS
 -- trace --
 Trace Go1.22
-EventBatch gen=1 m=18446744073709551615 time=23991883811065 size=5
+EventBatch gen=1 m=18446744073709551615 time=28113086279559 size=5
 Frequency freq=15625000
-EventBatch gen=1 m=1331278 time=23991883808413 size=16
-ProcStart dt=297 p=2 p_seq=1
-GoStart dt=162 g=7 g_seq=1
-HeapAlloc dt=267 heapalloc_value=1908736
-EventBatch gen=1 m=1331277 time=23991883807353 size=28
-ProcStart dt=472 p=1 p_seq=1
-GoStart dt=309 g=6 g_seq=1
-HeapAlloc dt=533 heapalloc_value=1892352
-HeapAlloc dt=47 heapalloc_value=1900544
-GoBlock dt=2071 reason_string=12 stack=23
-ProcStop dt=54
-EventBatch gen=1 m=1331276 time=23991883809162 size=10
-ProcStart dt=426 p=3 p_seq=1
-HeapAlloc dt=108 heapalloc_value=1916928
-EventBatch gen=1 m=1331274 time=23991883805418 size=325
-ProcStatus dt=241 p=0 pstatus=1
-GoStatus dt=5 g=1 m=1331274 gstatus=2
-ProcsChange dt=486 procs_value=48 stack=1
-STWBegin dt=80 kind_string=21 stack=2
-HeapGoal dt=3 heapgoal_value=4194304
-ProcStatus dt=3 p=1 pstatus=2
-ProcStatus dt=2 p=2 pstatus=2
+EventBatch gen=1 m=167930 time=28113086277797 size=41
+ProcStart dt=505 p=1 p_seq=1
+GoStart dt=303 g=7 g_seq=1
+HeapAlloc dt=646 heapalloc_value=1892352
+HeapAlloc dt=149 heapalloc_value=1900544
+GoBlock dt=146 reason_string=12 stack=24
+GoStart dt=14 g=6 g_seq=1
+HeapAlloc dt=16 heapalloc_value=1908736
+GoBlock dt=347 reason_string=12 stack=25
+EventBatch gen=1 m=167928 time=28113086279032 size=10
+ProcStart dt=451 p=2 p_seq=1
+GoStart dt=188 g=8 g_seq=1
+EventBatch gen=1 m=167926 time=28113086275999 size=324
+ProcStatus dt=295 p=0 pstatus=1
+GoStatus dt=5 g=1 m=167926 gstatus=2
+ProcsChange dt=405 procs_value=48 stack=1
+STWBegin dt=65 kind_string=21 stack=2
+HeapGoal dt=2 heapgoal_value=4194304
+ProcStatus dt=4 p=1 pstatus=2
+ProcStatus dt=1 p=2 pstatus=2
 ProcStatus dt=1 p=3 pstatus=2
 ProcStatus dt=1 p=4 pstatus=2
 ProcStatus dt=1 p=5 pstatus=2
@@ -71,113 +69,117 @@ ProcStatus dt=1 p=44 pstatus=2
 ProcStatus dt=1 p=45 pstatus=2
 ProcStatus dt=1 p=46 pstatus=2
 ProcStatus dt=1 p=47 pstatus=2
-ProcsChange dt=9 procs_value=48 stack=3
-STWEnd dt=209
-GoCreate dt=376 new_g=6 new_stack=4 stack=5
-GoCreate dt=96 new_g=7 new_stack=6 stack=7
-GoCreate dt=574 new_g=8 new_stack=8 stack=9
-UserTaskBegin dt=19 task=1 parent_task=0 name_string=22 stack=10
-UserRegionBegin dt=19 task=1 name_string=23 stack=11
-HeapAlloc dt=27 heapalloc_value=1884160
-GoCreate dt=578 new_g=9 new_stack=12 stack=13
-GoBlock dt=67 reason_string=10 stack=14
-GoStart dt=13 g=9 g_seq=1
-UserRegionBegin dt=61 task=1 name_string=24 stack=15
-UserRegionBegin dt=8 task=1 name_string=25 stack=16
+ProcsChange dt=1 procs_value=48 stack=3
+STWEnd dt=184
+GoCreate dt=252 new_g=6 new_stack=4 stack=5
+GoCreate dt=78 new_g=7 new_stack=6 stack=7
+GoCreate dt=73 new_g=8 new_stack=8 stack=9
+UserTaskBegin dt=71 task=1 parent_task=0 name_string=22 stack=10
+UserRegionBegin dt=535 task=1 name_string=23 stack=11
+HeapAlloc dt=26 heapalloc_value=1884160
+GoCreate dt=8 new_g=9 new_stack=12 stack=13
+GoBlock dt=249 reason_string=10 stack=14
+GoStart dt=8 g=9 g_seq=1
+UserRegionBegin dt=286 task=1 name_string=24 stack=15
+UserRegionBegin dt=244 task=1 name_string=25 stack=16
 UserRegionBegin dt=6 task=1 name_string=26 stack=17
-UserLog dt=780 task=1 key_string=27 value_string=28 stack=18
-UserRegionEnd dt=9 task=1 name_string=26 stack=19
-UserRegionEnd dt=504 task=1 name_string=25 stack=20
-UserTaskEnd dt=425 task=1 stack=21
-GoUnblock dt=503 g=1 g_seq=1 stack=22
-GoDestroy dt=7
-GoStart dt=13 g=1 g_seq=2
-UserRegionBegin dt=367 task=0 name_string=29 stack=24
-EventBatch gen=1 m=18446744073709551615 time=23991883811600 size=57
-GoStatus dt=358 g=2 m=18446744073709551615 gstatus=4
+UserLog dt=6 task=1 key_string=27 value_string=28 stack=18
+UserRegionEnd dt=4 task=1 name_string=26 stack=19
+UserRegionEnd dt=315 task=1 name_string=25 stack=20
+UserTaskEnd dt=5 task=1 stack=21
+GoUnblock dt=11 g=1 g_seq=1 stack=22
+GoDestroy dt=6
+GoStart dt=10 g=1 g_seq=2
+UserRegionBegin dt=278 task=0 name_string=29 stack=23
+EventBatch gen=1 m=18446744073709551615 time=28113086280061 size=57
+GoStatus dt=318 g=2 m=18446744073709551615 gstatus=4
 GoStatus dt=3 g=3 m=18446744073709551615 gstatus=4
-GoStatus dt=2 g=4 m=18446744073709551615 gstatus=4
+GoStatus dt=1 g=4 m=18446744073709551615 gstatus=4
 GoStatus dt=1 g=5 m=18446744073709551615 gstatus=4
-EventBatch gen=1 m=18446744073709551615 time=23991883812197 size=461
+EventBatch gen=1 m=18446744073709551615 time=28113086280852 size=488
 Stacks
+Stack id=17 nframes=3
+       pc=4816080 func=30 file=31 line=45
+       pc=4813660 func=32 file=33 line=141
+       pc=4815908 func=34 file=31 line=43
 Stack id=8 nframes=1
-       pc=4812576 func=30 file=31 line=128
-Stack id=13 nframes=1
-       pc=4813540 func=32 file=33 line=37
-Stack id=3 nframes=4
-       pc=4421156 func=34 file=35 line=1360
-       pc=4537289 func=36 file=37 line=246
-       pc=4812325 func=38 file=31 line=125
-       pc=4813276 func=32 file=33 line=27
-Stack id=2 nframes=3
-       pc=4537037 func=36 file=37 line=229
-       pc=4812325 func=38 file=31 line=125
-       pc=4813276 func=32 file=33 line=27
-Stack id=16 nframes=1
-       pc=4813956 func=39 file=33 line=43
-Stack id=19 nframes=3
-       pc=4814128 func=40 file=33 line=45
-       pc=4811708 func=41 file=42 line=141
-       pc=4813956 func=39 file=33 line=43
-Stack id=10 nframes=1
-       pc=4813380 func=32 file=33 line=33
-Stack id=1 nframes=4
-       pc=4551915 func=43 file=44 line=248
-       pc=4537017 func=36 file=37 line=228
-       pc=4812325 func=38 file=31 line=125
-       pc=4813276 func=32 file=33 line=27
+       pc=4814528 func=35 file=36 line=128
+Stack id=9 nframes=2
+       pc=4814351 func=37 file=36 line=128
+       pc=4815228 func=38 file=31 line=27
+Stack id=24 nframes=3
+       pc=4217457 func=39 file=40 line=442
+       pc=4544973 func=41 file=42 line=918
+       pc=4544806 func=43 file=42 line=871
 Stack id=7 nframes=4
-       pc=4543253 func=45 file=37 line=831
-       pc=4537306 func=36 file=37 line=249
-       pc=4812325 func=38 file=31 line=125
-       pc=4813276 func=32 file=33 line=27
+       pc=4544740 func=44 file=42 line=868
+       pc=4538792 func=45 file=42 line=258
+       pc=4814277 func=37 file=36 line=125
+       pc=4815228 func=38 file=31 line=27
+Stack id=22 nframes=3
+       pc=4642148 func=46 file=47 line=81
+       pc=4816326 func=48 file=47 line=87
+       pc=4815941 func=34 file=31 line=50
 Stack id=11 nframes=1
-       pc=4813412 func=32 file=33 line=34
-Stack id=4 nframes=1
-       pc=4545952 func=46 file=47 line=42
+       pc=4815364 func=38 file=31 line=34
 Stack id=5 nframes=4
-       pc=4545861 func=48 file=47 line=42
-       pc=4537294 func=36 file=37 line=248
-       pc=4812325 func=38 file=31 line=125
-       pc=4813276 func=32 file=33 line=27
-Stack id=17 nframes=3
-       pc=4814128 func=40 file=33 line=45
-       pc=4811708 func=41 file=42 line=141
-       pc=4813956 func=39 file=33 line=43
-Stack id=24 nframes=1
-       pc=4813616 func=32 file=33 line=54
+       pc=4547349 func=49 file=50 line=42
+       pc=4538780 func=45 file=42 line=257
+       pc=4814277 func=37 file=36 line=125
+       pc=4815228 func=38 file=31 line=27
+Stack id=23 nframes=1
+       pc=4815568 func=38 file=31 line=54
+Stack id=3 nframes=4
+       pc=4421860 func=51 file=52 line=1360
+       pc=4538775 func=45 file=42 line=255
+       pc=4814277 func=37 file=36 line=125
+       pc=4815228 func=38 file=31 line=27
 Stack id=21 nframes=2
-       pc=4814276 func=49 file=42 line=80
-       pc=4813974 func=39 file=33 line=50
+       pc=4816228 func=53 file=33 line=80
+       pc=4815926 func=34 file=31 line=50
+Stack id=1 nframes=4
+       pc=4553515 func=54 file=55 line=255
+       pc=4538503 func=45 file=42 line=237
+       pc=4814277 func=37 file=36 line=125
+       pc=4815228 func=38 file=31 line=27
 Stack id=12 nframes=1
-       pc=4813728 func=39 file=33 line=37
+       pc=4815680 func=34 file=31 line=37
+Stack id=6 nframes=1
+       pc=4544768 func=43 file=42 line=868
+Stack id=2 nframes=3
+       pc=4538523 func=45 file=42 line=238
+       pc=4814277 func=37 file=36 line=125
+       pc=4815228 func=38 file=31 line=27
+Stack id=13 nframes=1
+       pc=4815492 func=38 file=31 line=37
+Stack id=4 nframes=1
+       pc=4547456 func=56 file=50 line=42
 Stack id=14 nframes=2
-       pc=4640519 func=50 file=51 line=116
-       pc=4813550 func=32 file=33 line=51
-Stack id=9 nframes=2
-       pc=4812399 func=38 file=31 line=128
-       pc=4813276 func=32 file=33 line=27
-Stack id=22 nframes=3
-       pc=4640260 func=52 file=51 line=81
-       pc=4814374 func=53 file=51 line=87
-       pc=4813989 func=39 file=33 line=50
+       pc=4642407 func=57 file=47 line=116
+       pc=4815502 func=38 file=31 line=51
+Stack id=18 nframes=5
+       pc=4816147 func=58 file=31 line=46
+       pc=4813660 func=32 file=33 line=141
+       pc=4816080 func=30 file=31 line=45
+       pc=4813660 func=32 file=33 line=141
+       pc=4815908 func=34 file=31 line=43
 Stack id=20 nframes=1
-       pc=4813956 func=39 file=33 line=43
-Stack id=6 nframes=1
-       pc=4543296 func=54 file=37 line=831
+       pc=4815908 func=34 file=31 line=43
+Stack id=25 nframes=3
+       pc=4217457 func=39 file=40 line=442
+       pc=4544973 func=41 file=42 line=918
+       pc=4547514 func=56 file=50 line=54
+Stack id=16 nframes=1
+       pc=4815908 func=34 file=31 line=43
 Stack id=15 nframes=1
-       pc=4813886 func=39 file=33 line=41
-Stack id=18 nframes=5
-       pc=4814195 func=55 file=33 line=46
-       pc=4811708 func=41 file=42 line=141
-       pc=4814128 func=40 file=33 line=45
-       pc=4811708 func=41 file=42 line=141
-       pc=4813956 func=39 file=33 line=43
-Stack id=23 nframes=3
-       pc=4217457 func=56 file=57 line=442
-       pc=4543501 func=58 file=37 line=881
-       pc=4546010 func=46 file=47 line=54
-EventBatch gen=1 m=18446744073709551615 time=23991883804190 size=1620
+       pc=4815838 func=34 file=31 line=41
+Stack id=19 nframes=3
+       pc=4816080 func=30 file=31 line=45
+       pc=4813660 func=32 file=33 line=141
+       pc=4815908 func=34 file=31 line=43
+Stack id=10 nframes=1
+       pc=4815332 func=38 file=31 line=33
+EventBatch gen=1 m=18446744073709551615 time=28113086274600 size=1620
 Strings
 String id=1
        data="Not worker"
@@ -238,60 +240,60 @@ String id=28
 String id=29
        data="post-existing region"
 String id=30
-       data="runtime/trace.Start.func1"
+       data="main.main.func1.1"
 String id=31
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/trace.go"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/internal/trace/v2/testdata/testprog/annotations.go"
 String id=32
-       data="main.main"
+       data="runtime/trace.WithRegion"
 String id=33
-       data="/usr/local/google/home/mknyszek/work/go-1/src/internal/trace/v2/testdata/testprog/annotations.go"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/annotation.go"
 String id=34
-       data="runtime.startTheWorld"
+       data="main.main.func1"
 String id=35
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
+       data="runtime/trace.Start.func1"
 String id=36
-       data="runtime.StartTrace"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/trace.go"
 String id=37
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2.go"
-String id=38
        data="runtime/trace.Start"
+String id=38
+       data="main.main"
 String id=39
-       data="main.main.func1"
+       data="runtime.chanrecv1"
 String id=40
-       data="main.main.func1.1"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/chan.go"
 String id=41
-       data="runtime/trace.WithRegion"
+       data="runtime.(*wakeableSleep).sleep"
 String id=42
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace/annotation.go"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2.go"
 String id=43
-       data="runtime.traceLocker.Gomaxprocs"
+       data="runtime.(*traceAdvancerState).start.func1"
 String id=44
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go"
-String id=45
        data="runtime.(*traceAdvancerState).start"
+String id=45
+       data="runtime.StartTrace"
 String id=46
-       data="runtime.traceStartReadCPU.func1"
+       data="sync.(*WaitGroup).Add"
 String id=47
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/sync/waitgroup.go"
 String id=48
-       data="runtime.traceStartReadCPU"
+       data="sync.(*WaitGroup).Done"
 String id=49
-       data="runtime/trace.(*Task).End"
+       data="runtime.traceStartReadCPU"
 String id=50
-       data="sync.(*WaitGroup).Wait"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go"
 String id=51
-       data="/usr/local/google/home/mknyszek/work/go-1/src/sync/waitgroup.go"
+       data="runtime.startTheWorld"
 String id=52
-       data="sync.(*WaitGroup).Add"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
 String id=53
-       data="sync.(*WaitGroup).Done"
+       data="runtime/trace.(*Task).End"
 String id=54
-       data="runtime.(*traceAdvancerState).start.func1"
+       data="runtime.traceLocker.Gomaxprocs"
 String id=55
-       data="main.main.func1.1.1"
+       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2runtime.go"
 String id=56
-       data="runtime.chanrecv1"
+       data="runtime.traceStartReadCPU.func1"
 String id=57
-       data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/chan.go"
+       data="sync.(*WaitGroup).Wait"
 String id=58
-       data="runtime.(*wakeableSleep).sleep"
+       data="main.main.func1.1.1"