Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 113 for stackID (0.14 sec)

  1. src/runtime/debug/stack.go

    )
    
    // PrintStack prints to standard error the stack trace returned by runtime.Stack.
    func PrintStack() {
    	os.Stderr.Write(Stack())
    }
    
    // Stack returns a formatted stack trace of the goroutine that calls it.
    // It calls [runtime.Stack] with a large enough buffer to capture the entire trace.
    func Stack() []byte {
    	buf := make([]byte, 1024)
    	for {
    		n := runtime.Stack(buf, false)
    		if n < len(buf) {
    			return buf[:n]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    // A StackRecord describes a single execution stack.
    type StackRecord struct {
    	Stack0 [32]uintptr // stack trace for this record; ends at first 0 entry
    }
    
    // Stack returns the stack trace associated with the record,
    // a prefix of r.Stack0.
    func (r *StackRecord) Stack() []uintptr {
    	for i, v := range r.Stack0 {
    		if v == 0 {
    			return r.Stack0[0:i]
    		}
    	}
    	return r.Stack0[0:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. samples/helloworld/helloworld-dual-stack.yaml

    John Howard <******@****.***> 1710626582 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 22:03:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/runtime/cgo/libcgo_unix.h

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
     * Initialize g->stacklo.
     */
    extern void _cgo_set_stacklo(G *, uintptr *);
    
    /*
     * Call pthread_create, retrying on EAGAIN.
     */
    extern int _cgo_try_pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*);
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:06:46 UTC 2023
    - 684 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    	// by a more efficient mechanism
    	stacks []stack
    }
    
    type stack struct {
    	pcs     []uintptr
    	counter *Counter
    }
    
    func NewStack(name string, depth int) *StackCounter {
    	return &StackCounter{name: name, depth: depth, file: &defaultFile}
    }
    
    // Inc increments a stack counter. It computes the caller's stack and
    // looks up the corresponding counter. It then increments that counter,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/leak-detect_test.go

    	"signal.signal_recv",
    	"sigterm.handler",
    	"runtime_mcall",
    	"goroutine in C code",
    }
    
    // Identify whether the stack trace entry is part of ignoredStackFn .
    func isIgnoredStackFn(stack string) (ok bool) {
    	ok = true
    	for _, stackFn := range ignoredStackFns {
    		if !strings.Contains(stack, stackFn) {
    			ok = false
    			continue
    		}
    		break
    	}
    	return ok
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. releasenotes/notes/gateway-dual-stack.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: installation
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 24 20:10:59 UTC 2023
    - 168 bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/AbstractPerformanceTest.groovy

                    if (AbstractBuildExperimentRunner.isProfilingActive()) {
                        def stacks = differentialStacksGenerator.generateDifferentialStacks(outputDirSelector.outputDirFor(results.testId))
                        flameGraphGenerator.generateDifferentialGraphs(stacks)
                    }
                }
    
                @Override
                void close() throws IOException {
                }
            })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go

    	Name     string
    	Versions []string        // versions present in a counterconfig
    	Counters []CounterConfig `json:",omitempty"`
    	Stacks   []CounterConfig `json:",omitempty"`
    }
    
    type CounterConfig struct {
    	Name  string
    	Rate  float64 // If X <= Rate, report this counter
    	Depth int     `json:",omitempty"` // for stack counters
    }
    
    // A Report is what's uploaded (or saved locally)
    type Report struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/tests/go122-confuse-seq-across-generations.test

    ProcStatus dt=1 p=0 pstatus=1
    GoStatus dt=1 g=1 m=0 gstatus=2
    GoStop dt=1 reason_string=1 stack=0
    EventBatch gen=1 m=1 time=0 size=12
    ProcStatus dt=1 p=1 pstatus=1
    GoStart dt=1 g=1 g_seq=1
    GoStop dt=1 reason_string=1 stack=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=12
    Strings
    String id=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1018 bytes
    - Viewed (0)
Back to top