github.com/goplus/igop@v0.25.0/pkg/runtime/pprof/go117_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.17 && !go1.18 4 // +build go1.17,!go1.18 5 6 package pprof 7 8 import ( 9 q "runtime/pprof" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "pprof", 19 Path: "runtime/pprof", 20 Deps: map[string]string{ 21 "bufio": "bufio", 22 "bytes": "bytes", 23 "compress/gzip": "gzip", 24 "context": "context", 25 "encoding/binary": "binary", 26 "errors": "errors", 27 "fmt": "fmt", 28 "io": "io", 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]reflect.Type{ 43 "LabelSet": reflect.TypeOf((*q.LabelSet)(nil)).Elem(), 44 "Profile": reflect.TypeOf((*q.Profile)(nil)).Elem(), 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]igop.TypedConst{}, 63 UntypedConsts: map[string]igop.UntypedConst{}, 64 }) 65 }