- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for PCs (0.03 sec)
-
src/cmd/trace/pprof.go
return rec } // Slow path: the stack may still be in the map. // Grab the stack's PCs as the source-of-truth. var pcs [pprofMaxStack]uint64 pcsForStack(stack, &pcs) // Check the source-of-truth. var rec *traceviewer.ProfileRecord if existing, ok := m.pcs[pcs]; ok { // In the map. rec = m.stacks[existing] delete(m.stacks, existing) } else { // Not in the map.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.1K bytes - Viewed (0) -
src/runtime/tracestack.go
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 { return 0 } id, _ := t.tab.put(noescape(unsafe.Pointer(&pcs[0])), uintptr(len(pcs))*unsafe.Sizeof(uintptr(0))) return id }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/trace/generation.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/select.go
// statements in packages compiled without -race (e.g., // ensureSigM in runtime/signal_unix.go). var pcs []uintptr if raceenabled && pc0 != nil { pc1 := (*[1 << 16]uintptr)(unsafe.Pointer(pc0)) pcs = pc1[:ncases:ncases] } casePC := func(casi int) uintptr { if pcs == nil { return 0 } return pcs[casi] } var t0 int64 if blockprofilerate > 0 { t0 = cputicks() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
evt.stacks.insert(stackID(id), stack{pcs: stk}) } // OPT(dh): if we could share the frame type between this package and // oldtrace we wouldn't have to copy the map. for pc, f := range pr.PCs { evt.pcs[pc] = frame{ pc: pc, funcID: stringID(f.Fn), fileID: stringID(f.File), line: uint64(f.Line), } } pr.Stacks = nil pr.PCs = nil evt.stacks.compactify() return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/deploymentcontroller_test.go
} proxyConfig := model.GetProxyConfigs(store, mesh.DefaultMeshConfig()) tests := []struct { name string gw k8sbeta.Gateway objects []runtime.Object pcs *model.ProxyConfigs values string discoveryNamespaceFilter kubetypes.DynamicObjectFilter ignore bool }{ { name: "simple",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 16.5K bytes - Viewed (0) -
src/runtime/symtab.go
f = nil // When CallersFrame is invoked using the PC list returned by Callers, // the PC list includes virtual PCs corresponding to each outer frame // around an innermost real inlined PC. // We also want to support code passing in a PC list extracted from a // stack trace, and there only the real PCs are printed, not the virtual ones. // So check to see if the implied virtual PC for this PC (obtained from the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
type Trace struct { Version version.Version // Events is the sorted list of Events in the trace. Events Events // Stacks is the stack traces (stored as slices of PCs), keyed by stack IDs // from the trace. Stacks map[uint32][]uint64 PCs map[uint64]Frame Strings map[uint64]string InlineStrings []string } // batchOffset records the byte offset of, and number of events in, a batch. A
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
src/log/slog/value.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/runtime/debuglog.go
case debugLogPC: printDebugLogPC(uintptr(r.uvarint()), false) case debugLogTraceback: n := int(r.uvarint()) for i := 0; i < n; i++ { print("\n\t") // gentraceback PCs are always return PCs. // Convert them to call PCs. // // TODO(austin): Expand inlined frames. printDebugLogPC(uintptr(r.uvarint()), true) } } return true } // printDebugLog prints the debug log.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0)