- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 95 for traces (0.24 sec)
-
tests/integration/telemetry/tracing/tracing.go
} return nil } func VerifyEchoTraces(t framework.TestContext, namespace, clName string, traces []zipkin.Trace) bool { t.Helper() wtr := WantTraceRoot(namespace, clName) for _, trace := range traces { // compare each candidate trace with the wanted trace for _, s := range trace.Spans { // find the root span of candidate trace and do recursive comparison if s.ParentSpanID == "" && CompareTrace(t, s, wtr) { return true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 19:05:09 UTC 2024 - 6.5K bytes - Viewed (0) -
src/internal/profilerecord/profilerecord.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package profilerecord holds internal types used to represent profiling // records with deep stack traces. // // TODO: Consider moving this to internal/runtime, see golang.org/issue/65355. package profilerecord type StackRecord struct { Stack []uintptr } type MemProfileRecord struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 815 bytes - Viewed (0) -
pkg/test/framework/suitecontext.go
} func (c *suiteContext) ID() string { return c.globalScope.id } func (c *suiteContext) RecordTraceEvent(key string, value any) { c.traces.Store(key, value) } func (c *suiteContext) marshalTraceEvent() []byte { kvs := map[string]any{} c.traces.Range(func(key, value any) bool { kvs[key.(string)] = value return true }) outer := map[string]any{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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)