- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 40 for PCs (0.14 sec)
-
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/traceback.go
} // tracebackPCs populates pcBuf with the return addresses for each frame from u // and returns the number of PCs written to pcBuf. The returned PCs correspond // to "logical frames" rather than "physical frames"; that is if A is inlined // into B, this will still return a PCs for both A and B. This also includes PCs // generated by the cgo unwinder, if one is registered. // // If skip != 0, this skips this many logical frames. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K 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) -
src/runtime/extern.go
// // To translate these PCs into symbolic information such as function // names and line numbers, use [CallersFrames]. CallersFrames accounts // for inlined functions and adjusts the return program counters into // call program counters. Iterating over the returned slice of PCs // directly is discouraged, as is using [FuncForPC] on any of the // returned PCs, since these cannot account for inlining or return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 18.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
// different units. sval := d.ldr.SymValue(sym) u0val := d.ldr.SymValue(loader.Sym(unit.Textp[0])) if prevUnit != unit { unit.PCs = append(unit.PCs, dwarf.Range{Start: sval - u0val}) prevUnit = unit } unit.PCs[len(unit.PCs)-1].End = sval - u0val + int64(len(d.ldr.Data(sym))) } } func movetomodule(ctxt *Link, parent *dwarf.DWDie) { die := ctxt.runtimeCU.DWInfo.Child
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/internal/bisect/bisect.go
func (m *Matcher) stack(w Writer) bool { const maxStack = 16 var stk [maxStack]uintptr n := runtime.Callers(2, stk[:]) // caller #2 is not for printing; need it to normalize PCs if ASLR. if n <= 1 { return false } base := stk[0] // normalize PCs for i := range stk[:n] { stk[i] -= base } h := Hash(stk[:n]) if m.ShouldPrint(h) { var d *dedup for { d = m.dedup.Load()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 17:28:43 UTC 2024 - 22.9K bytes - Viewed (0) -
src/runtime/traceevent.go
// stack ID for it. // // It then returns a traceArg representing that stack which may be // passed to write. func (tl traceLocker) startPC(pc uintptr) traceArg { // +PCQuantum because makeTraceFrame expects return PCs and subtracts PCQuantum. return traceArg(trace.stackTab[tl.gen%2].put([]uintptr{ logicalStackSentinel, startPCForTrace(pc) + sys.PCQuantum, })) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.2K bytes - Viewed (0) -
src/runtime/pprof/pprof.go
expandedStack := pprof_makeProfStack() for _, r := range records { values[0] = r.Count values[1] = int64(float64(r.Cycles) / cpuGHz) // For count profiles, all stack addresses are // return PCs, which is what appendLocsForStack expects. n := pprof_fpunwindExpand(expandedStack[:], r.Stack) locs = b.appendLocsForStack(locs[:0], expandedStack[:n]) b.pbSample(values, locs, nil) } b.build() return nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 30.6K bytes - Viewed (0) -
src/runtime/preempt.go
func init() { f := findfunc(abi.FuncPCABI0(asyncPreempt)) total := funcMaxSPDelta(f) f = findfunc(abi.FuncPCABIInternal(asyncPreempt2)) total += funcMaxSPDelta(f) // Add some overhead for return PCs, etc. asyncPreemptStack = uintptr(total) + 8*goarch.PtrSize if asyncPreemptStack > stackNosplit { // We need more than the nosplit limit. This isn't // unsafe, but it may limit asynchronous preemption. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/internal/trace/event.go
// Frames is an iterator over the frames in a Stack. func (s Stack) Frames(yield func(f StackFrame) bool) bool { if s.id == 0 { return true } stk := s.table.stacks.mustGet(s.id) for _, pc := range stk.pcs { f := s.table.pcs[pc] sf := StackFrame{ PC: f.pc, Func: s.table.strings.mustGet(f.funcID), File: s.table.strings.mustGet(f.fileID), Line: f.line, } if !yield(sf) { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0)