github.com/goplus/gossa@v0.3.25/pkg/runtime/pprof/go115_export.go (about) 1 // export by github.com/goplus/gossa/cmd/qexp 2 3 //+build go1.15,!go1.16 4 5 package pprof 6 7 import ( 8 q "runtime/pprof" 9 10 "reflect" 11 12 "github.com/goplus/gossa" 13 ) 14 15 func init() { 16 gossa.RegisterPackage(&gossa.Package{ 17 Name: "pprof", 18 Path: "runtime/pprof", 19 Deps: map[string]string{ 20 "bufio": "bufio", 21 "bytes": "bytes", 22 "compress/gzip": "gzip", 23 "context": "context", 24 "encoding/binary": "binary", 25 "errors": "errors", 26 "fmt": "fmt", 27 "io": "io", 28 "io/ioutil": "ioutil", 29 "math": "math", 30 "os": "os", 31 "runtime": "runtime", 32 "sort": "sort", 33 "strconv": "strconv", 34 "strings": "strings", 35 "sync": "sync", 36 "syscall": "syscall", 37 "text/tabwriter": "tabwriter", 38 "time": "time", 39 "unsafe": "unsafe", 40 }, 41 Interfaces: map[string]reflect.Type{}, 42 NamedTypes: map[string]gossa.NamedType{ 43 "LabelSet": {reflect.TypeOf((*q.LabelSet)(nil)).Elem(), "", ""}, 44 "Profile": {reflect.TypeOf((*q.Profile)(nil)).Elem(), "", "Add,Count,Name,Remove,WriteTo"}, 45 }, 46 AliasTypes: map[string]reflect.Type{}, 47 Vars: map[string]reflect.Value{}, 48 Funcs: map[string]reflect.Value{ 49 "Do": reflect.ValueOf(q.Do), 50 "ForLabels": reflect.ValueOf(q.ForLabels), 51 "Label": reflect.ValueOf(q.Label), 52 "Labels": reflect.ValueOf(q.Labels), 53 "Lookup": reflect.ValueOf(q.Lookup), 54 "NewProfile": reflect.ValueOf(q.NewProfile), 55 "Profiles": reflect.ValueOf(q.Profiles), 56 "SetGoroutineLabels": reflect.ValueOf(q.SetGoroutineLabels), 57 "StartCPUProfile": reflect.ValueOf(q.StartCPUProfile), 58 "StopCPUProfile": reflect.ValueOf(q.StopCPUProfile), 59 "WithLabels": reflect.ValueOf(q.WithLabels), 60 "WriteHeapProfile": reflect.ValueOf(q.WriteHeapProfile), 61 }, 62 TypedConsts: map[string]gossa.TypedConst{}, 63 UntypedConsts: map[string]gossa.UntypedConst{}, 64 }) 65 }