github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_runtime_pprof.go (about) 1 // Code generated by 'yaegi extract runtime/pprof'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "reflect" 9 "runtime/pprof" 10 ) 11 12 func init() { 13 Symbols["runtime/pprof/pprof"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "Do": reflect.ValueOf(pprof.Do), 16 "ForLabels": reflect.ValueOf(pprof.ForLabels), 17 "Label": reflect.ValueOf(pprof.Label), 18 "Labels": reflect.ValueOf(pprof.Labels), 19 "Lookup": reflect.ValueOf(pprof.Lookup), 20 "NewProfile": reflect.ValueOf(pprof.NewProfile), 21 "Profiles": reflect.ValueOf(pprof.Profiles), 22 "SetGoroutineLabels": reflect.ValueOf(pprof.SetGoroutineLabels), 23 "StartCPUProfile": reflect.ValueOf(pprof.StartCPUProfile), 24 "StopCPUProfile": reflect.ValueOf(pprof.StopCPUProfile), 25 "WithLabels": reflect.ValueOf(pprof.WithLabels), 26 "WriteHeapProfile": reflect.ValueOf(pprof.WriteHeapProfile), 27 28 // type definitions 29 "LabelSet": reflect.ValueOf((*pprof.LabelSet)(nil)), 30 "Profile": reflect.ValueOf((*pprof.Profile)(nil)), 31 } 32 }