github.com/goplus/igop@v0.25.0/pkg/runtime/trace/go121_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.21 4 // +build go1.21 5 6 package trace 7 8 import ( 9 q "runtime/trace" 10 11 "reflect" 12 13 "github.com/goplus/igop" 14 ) 15 16 func init() { 17 igop.RegisterPackage(&igop.Package{ 18 Name: "trace", 19 Path: "runtime/trace", 20 Deps: map[string]string{ 21 "context": "context", 22 "fmt": "fmt", 23 "io": "io", 24 "runtime": "runtime", 25 "sync": "sync", 26 "sync/atomic": "atomic", 27 "unsafe": "unsafe", 28 }, 29 Interfaces: map[string]reflect.Type{}, 30 NamedTypes: map[string]reflect.Type{ 31 "Region": reflect.TypeOf((*q.Region)(nil)).Elem(), 32 "Task": reflect.TypeOf((*q.Task)(nil)).Elem(), 33 }, 34 AliasTypes: map[string]reflect.Type{}, 35 Vars: map[string]reflect.Value{}, 36 Funcs: map[string]reflect.Value{ 37 "IsEnabled": reflect.ValueOf(q.IsEnabled), 38 "Log": reflect.ValueOf(q.Log), 39 "Logf": reflect.ValueOf(q.Logf), 40 "NewTask": reflect.ValueOf(q.NewTask), 41 "Start": reflect.ValueOf(q.Start), 42 "StartRegion": reflect.ValueOf(q.StartRegion), 43 "Stop": reflect.ValueOf(q.Stop), 44 "WithRegion": reflect.ValueOf(q.WithRegion), 45 }, 46 TypedConsts: map[string]igop.TypedConst{}, 47 UntypedConsts: map[string]igop.UntypedConst{}, 48 }) 49 }