Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 92 for traces (0.12 sec)

  1. internal/grid/trace.go

    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    		trace.Path += typed.Values().Encode()
    	case *NoPayload, *Bytes:
    		trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/runtime/trace/trace_test.go

    package trace_test
    
    import (
    	"bytes"
    	"flag"
    	"os"
    	. "runtime/trace"
    	"testing"
    	"time"
    )
    
    var saveTraces = flag.Bool("savetraces", false, "save traces collected by tests")
    
    func TestTraceStartStop(t *testing.T) {
    	if IsEnabled() {
    		t.Skip("skipping because -test.trace is set")
    	}
    	buf := new(bytes.Buffer)
    	if err := Start(buf); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-create-syscall-with-p.go

    // a syscall (in the tracer's model). Because the actual
    // m can be reused, it's possible for that m to have never
    // had its P (in _Psyscall) stolen if the runtime doesn't
    // model the scenario correctly. Make sure we reject such
    // traces.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/trace_cgo_test.go

    }
    
    func mustFindLogV2(t *testing.T, trc io.Reader, category string) trace.Event {
    	r, err := trace.NewReader(trc)
    	if err != nil {
    		t.Fatalf("bad trace: %v", err)
    	}
    	var candidates []trace.Event
    	for {
    		ev, err := r.ReadEvent()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			t.Fatalf("failed to parse trace: %v", err)
    		}
    		if ev.Kind() == trace.EventLog && ev.Log().Category == category {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemDiagnosticsFactoryTest.groovy

            1 * userCodeContext.current() >> Mock(UserCodeApplicationContext.Application) {
                getSource() >> currentSource
            }
        }
    
        void assertIsCallerStackTrace(List<StackTraceElement> trace) {
            assert trace.any { it.className == DefaultProblemDiagnosticsFactoryTest.name }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/runtime/tracetype.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Trace stack table and acquisition.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    // traceTypeTable maps stack traces (arrays of PC's) to unique uint32 ids.
    // It is lock-free for reading.
    type traceTypeTable struct {
    	tab traceMap
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/trace/parser.go

    	ProfileP // depicts recording of CPU profile samples
    )
    
    // Event types in the trace.
    // Verbatim copy from src/runtime/trace.go with the "trace" prefix removed.
    const (
    	EvNone              = 0  // unused
    	EvBatch             = 1  // start of per-P batch of events [pid, timestamp]
    	EvFrequency         = 2  // contains tracer timer frequency [frequency (ticks per second)]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. doc/next/3-tools.md

    errors with a very large `CGO_LDFLAGS`.
    
    ### Trace {#trace}
    
    <!-- go.dev/issue/65316 -->
    The `trace` tool now better tolerates partially broken traces by attempting to
    recover what trace data it can. This functionality is particularly helpful when
    viewing a trace that was collected during a program crash, since the trace data
    leading up to the crash will now [be recoverable](/issue/65319) under most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/cmd/trace/procgen.go

    package main
    
    import (
    	"fmt"
    	"internal/trace"
    	"internal/trace/traceviewer"
    	"internal/trace/traceviewer/format"
    )
    
    var _ generator = &procGenerator{}
    
    type procGenerator struct {
    	globalRangeGenerator
    	globalMetricGenerator
    	procRangeGenerator
    	stackSampleGenerator[trace.ProcID]
    	logEventGenerator[trace.ProcID]
    
    	gStates   map[trace.GoID]*gState[trace.ProcID]
    	inSyscall map[trace.ProcID]*gState[trace.ProcID]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/runtime/mklockrank.go

    mheap, mspanSpecial < mheapSpecial;
    mheap, mheapSpecial < globalAlloc;
    
    # Execution tracer events (with a P)
    hchan,
      mheap,
      root,
      sched,
      traceStrings,
      notifyList,
      fin
    # Above TRACE is anything that can create a trace event
    < TRACE
    < trace
    < traceStackTab;
    
    # panic is handled specially. It is implicitly below all other locks.
    NONE < panic;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top