github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_runtime_trace.go (about) 1 // Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "reflect" 9 "runtime/trace" 10 ) 11 12 func init() { 13 Symbols["runtime/trace/trace"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "IsEnabled": reflect.ValueOf(trace.IsEnabled), 16 "Log": reflect.ValueOf(trace.Log), 17 "Logf": reflect.ValueOf(trace.Logf), 18 "NewTask": reflect.ValueOf(trace.NewTask), 19 "Start": reflect.ValueOf(trace.Start), 20 "StartRegion": reflect.ValueOf(trace.StartRegion), 21 "Stop": reflect.ValueOf(trace.Stop), 22 "WithRegion": reflect.ValueOf(trace.WithRegion), 23 24 // type definitions 25 "Region": reflect.ValueOf((*trace.Region)(nil)), 26 "Task": reflect.ValueOf((*trace.Task)(nil)), 27 } 28 }