github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_runtime_trace.go (about)

     1  // Code generated by 'yaegi extract runtime/trace'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     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  		// function, constant and variable definitions
    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  		// type definitions
    26  		"Region": reflect.ValueOf((*trace.Region)(nil)),
    27  		"Task":   reflect.ValueOf((*trace.Task)(nil)),
    28  	}
    29  }