Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for traceapi (0.1 sec)

  1. pkg/test/framework/test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package framework
    
    import (
    	context2 "context"
    	"fmt"
    	"testing"
    	"time"
    
    	traceapi "go.opentelemetry.io/otel/trace"
    
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/tracing"
    )
    
    type Test interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/runtime/traceruntime.go

    	}
    	w.commit(traceEvProcSteal, traceArg(pp.id), pp.trace.nextSeq(tl.gen), traceArg(mStolenFrom))
    }
    
    // HeapAlloc emits a HeapAlloc event.
    func (tl traceLocker) HeapAlloc(live uint64) {
    	tl.eventWriter(traceGoRunning, traceProcRunning).commit(traceEvHeapAlloc, traceArg(live))
    }
    
    // HeapGoal reads the current heap goal and emits a HeapGoal event.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. src/runtime/trace.go

    	// Fast mappings from enumerations to string IDs that are prepopulated
    	// in the trace.
    	markWorkerLabels [2][len(gcMarkWorkerModeStrings)]traceArg
    	goStopReasons    [2][len(traceGoStopReasonStrings)]traceArg
    	goBlockReasons   [2][len(traceBlockReasonStrings)]traceArg
    
    	// enabled indicates whether tracing is enabled, but it is only an optimization,
    	// NOT the source of truth on whether tracing is enabled. Tracing is only truly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. src/runtime/export_test.go

    		panic("invalid unsafe point code " + string(itoa(buf[:], uint64(v))))
    	}
    }
    
    type TraceMap struct {
    	traceMap
    }
    
    func (m *TraceMap) PutString(s string) (uint64, bool) {
    	return m.traceMap.put(unsafe.Pointer(unsafe.StringData(s)), uintptr(len(s)))
    }
    
    func (m *TraceMap) Reset() {
    	m.traceMap.reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    	// just expand the whole stack.
    	if len(stk) == 0 {
    		return stk
    	}
    	pc := stk[len(stk)-1]
    	tracepc := pc - 1
    
    	f := findfunc(tracepc)
    	if !f.valid() {
    		// Not a Go function.
    		return stk
    	}
    
    	u, uf := newInlineUnwinder(f, tracepc)
    	if !u.isInlined(uf) {
    		// Nothing inline at tracepc.
    		return stk
    	}
    
    	// Treat the previous func as normal. We haven't actually checked, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/runtime/tracestack.go

    	id := trace.stackTab[gen%2].put(pcBuf[:nstk])
    	return id
    }
    
    // traceStackTable maps stack traces (arrays of PC's) to unique uint32 ids.
    // It is lock-free for reading.
    type traceStackTable struct {
    	tab traceMap
    }
    
    // put returns a unique id for the stack trace pcs and caches it in the table,
    // if it sees the trace for the first time.
    func (t *traceStackTable) put(pcs []uintptr) uint64 {
    	if len(pcs) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top