- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for aframe (0.09 sec)
-
src/runtime/tracestack.go
w.byte(byte(traceEvStacks)) } // Emit stack event. w.byte(byte(traceEvStack)) w.varint(uint64(node.id)) w.varint(uint64(len(frames))) for _, frame := range frames { w.varint(uint64(frame.PC)) w.varint(frame.funcID) w.varint(frame.fileID) w.varint(frame.line) } // Recursively walk all child nodes. for i := range node.children { child := node.children[i].Load() if child == nil {
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/trace_test.go
totalTraceSamples++ if hogRegion != nil && ev.Goroutine() == hogRegion.Goroutine() { traceSamples++ var fns []string ev.Stack().Frames(func(frame trace.StackFrame) bool { if frame.Func != "runtime.goexit" { fns = append(fns, fmt.Sprintf("%s:%d", frame.Func, frame.Line)) } return true }) stack := strings.Join(fns, "|") traceStacks[stack]++ } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/runtime/stack.go
func adjustframe(frame *stkframe, adjinfo *adjustinfo) { if frame.continpc == 0 { // Frame is dead. return } f := frame.fn if stackDebug >= 2 { print(" adjusting ", funcname(f), " frame=[", hex(frame.sp), ",", hex(frame.fp), "] pc=", hex(frame.pc), " continpc=", hex(frame.continpc), "\n") } // Adjust saved frame pointer if there is one.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
src/internal/trace/generation.go
return err } // Read how many frames are in each stack. nFrames, err := binary.ReadUvarint(r) if err != nil { return err } if nFrames > go122.MaxFramesPerStack { return fmt.Errorf("invalid stack size %d, maximum is %d", nFrames, go122.MaxFramesPerStack) } // Each frame consists of 4 fields: pc, funcID (string), fileID (string), line. frames := make([]uint64, 0, nFrames)
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/symtab.go
switch len(ci.frames) { case 0: // In the rare case when there are no frames at all, we return Frame{}. return case 1: frame = ci.frames[0] ci.frames = ci.frameStore[:0] case 2: frame = ci.frames[0] ci.frameStore[0] = ci.frames[1] ci.frames = ci.frameStore[:1] default: frame = ci.frames[0] ci.frames = ci.frames[1:] } more = len(ci.frames) > 0 if frame.funcInfo.valid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/cmd/trace/regions.go
<th>Region type</th> <th>Count</th> <th>Duration distribution (complete tasks)</th> </tr> {{range $}} <tr> <td><pre>{{printf "%q" .Type}}<br>{{.Frame.Func}} @ {{printf "0x%x" .Frame.PC}}<br>{{.Frame.File}}:{{.Frame.Line}}</pre></td> <td><a href="/userregion?type={{.Type}}&pc={{.Frame.PC | printf "%x"}}">{{.Histogram.Count}}</a></td> <td>{{.Histogram.ToHTML (.UserRegionURL)}}</td> </tr> {{end}} </table> </body> </html>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go
l.IsFolded = false for i, frame := range stack { if frame.Func != "" { m.HasFunctions = true } if frame.File != "" { m.HasFilenames = true } if frame.Line != 0 { m.HasLineNumbers = true } f := addFunction(&profile.Function{ Name: frame.Func, SystemName: frame.Func, Filename: frame.File, }) l.Line[i] = profile.Line{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 10K bytes - Viewed (0) -
src/runtime/cgocall.go
// gcc-compiled code on) and calls _cgo_Cfunc_f(frame). // // _cgo_Cfunc_f invokes the actual C function f with arguments // taken from the frame structure, records the results in the frame, // and returns to runtime.asmcgocall. // // After it regains control, runtime.asmcgocall switches back to the // original g (m->curg)'s stack and returns to runtime.cgocall. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/trace/pprof.go
for stack, record := range m.stacks { rec := *record i := 0 stack.Frames(func(frame trace.StackFrame) bool { rec.Stack = append(rec.Stack, &trace.Frame{ PC: frame.PC, Fn: frame.Func, File: frame.File, Line: int(frame.Line), }) i++ // Cut this off at pprofMaxStack because that's as far // as our deduplication goes.
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/panic.go
} // TODO(mdempsky): If we populate u.frame.fn.deferreturn for // every frame containing a defer (not just open-coded defers), // then we can simply loop until we find the next frame where // it's non-zero. if u.frame.sp == limit { break // found a frame with linked defers } if p.initOpenCodedDefers(u.frame.fn, unsafe.Pointer(u.frame.varp)) { break // found a frame with open-coded defers
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0)