| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
package stdlib |
| 7 |
|
| 8 |
import ( |
| 9 |
"reflect" |
| 10 |
"runtime/trace" |
| 11 |
) |
| 12 |
|
| 13 |
func init() { |
| 14 |
Symbols["runtime/trace/trace"] = map[string]reflect.Value{ |
| 15 |
|
| 16 |
"IsEnabled": reflect.ValueOf(trace.IsEnabled), |
| 17 |
"Log": reflect.ValueOf(trace.Log), |
| 18 |
"Logf": reflect.ValueOf(trace.Logf), |
| 19 |
"NewTask": reflect.ValueOf(trace.NewTask), |
| 20 |
"Start": reflect.ValueOf(trace.Start), |
| 21 |
"StartRegion": reflect.ValueOf(trace.StartRegion), |
| 22 |
"Stop": reflect.ValueOf(trace.Stop), |
| 23 |
"WithRegion": reflect.ValueOf(trace.WithRegion), |
| 24 |
|
| 25 |
|
| 26 |
"Region": reflect.ValueOf((*trace.Region)(nil)), |
| 27 |
"Task": reflect.ValueOf((*trace.Task)(nil)), |
| 28 |
} |
| 29 |
} |