-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcgo.golden.json
98 lines (98 loc) · 2.82 KB
/
cgo.golden.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"Errors": null,
"Goroutines": [
{
"ID": 1,
"State": "running",
"Wait": 0,
"LockedToThread": false,
"Stack": [
{
"Func": "runtime/pprof.writeGoroutineStacks",
"File": "/usr/local/Cellar/go/1.15.6/libexec/src/runtime/pprof/pprof.go",
"Line": 693
},
{
"Func": "runtime/pprof.writeGoroutine",
"File": "/usr/local/Cellar/go/1.15.6/libexec/src/runtime/pprof/pprof.go",
"Line": 682
},
{
"Func": "runtime/pprof.(*Profile).WriteTo",
"File": "/usr/local/Cellar/go/1.15.6/libexec/src/runtime/pprof/pprof.go",
"Line": 331
},
{
"Func": "main.main",
"File": "/Users/felix.geisendoerfer/go/src/github.com/DataDog/dd-trace-go/profiler/internal/stackparse/test-fixtures/cgo.go",
"Line": 40
}
],
"FramesElided": false,
"CreatedBy": null
},
{
"ID": 6,
"State": "syscall",
"Wait": 0,
"LockedToThread": false,
"Stack": [
{
"Func": "main._Cfunc_c_sleep_loop",
"File": "_cgo_gotypes.go",
"Line": 56
},
{
"Func": "main.cSleepLoop",
"File": "/Users/felix.geisendoerfer/go/src/github.com/DataDog/dd-trace-go/profiler/internal/stackparse/test-fixtures/cgo.go",
"Line": 44
}
],
"FramesElided": false,
"CreatedBy": {
"Func": "main.main",
"File": "/Users/felix.geisendoerfer/go/src/github.com/DataDog/dd-trace-go/profiler/internal/stackparse/test-fixtures/cgo.go",
"Line": 36
}
},
{
"ID": 7,
"State": "sleep",
"Wait": 0,
"LockedToThread": true,
"Stack": [
{
"Func": "time.Sleep",
"File": "/usr/local/Cellar/go/1.15.6/libexec/src/runtime/time.go",
"Line": 188
},
{
"Func": "main.goSleep",
"File": "/Users/felix.geisendoerfer/go/src/github.com/DataDog/dd-trace-go/profiler/internal/stackparse/test-fixtures/cgo.go",
"Line": 53
},
{
"Func": "main._cgoexpwrap_65ad5df3a112_goSleep",
"File": "_cgo_gotypes.go",
"Line": 73
},
{
"Func": "main._Cfunc_c_go_sleep_loop",
"File": "_cgo_gotypes.go",
"Line": 43
},
{
"Func": "main.cGoSleepLoop",
"File": "/Users/felix.geisendoerfer/go/src/github.com/DataDog/dd-trace-go/profiler/internal/stackparse/test-fixtures/cgo.go",
"Line": 48
}
],
"FramesElided": false,
"CreatedBy": {
"Func": "main.main",
"File": "/Users/felix.geisendoerfer/go/src/github.com/DataDog/dd-trace-go/profiler/internal/stackparse/test-fixtures/cgo.go",
"Line": 37
}
}
]
}