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