Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 525 for aframe (0.15 sec)

  1. src/internal/trace/traceviewer/pprof.go

    	for _, rec := range prof {
    		var sloc []*profile.Location
    		for _, frame := range rec.Stack {
    			loc := locs[frame.PC]
    			if loc == nil {
    				fn := funcs[frame.File+frame.Fn]
    				if fn == nil {
    					fn = &profile.Function{
    						ID:         uint64(len(p.Function) + 1),
    						Name:       frame.Fn,
    						SystemName: frame.Fn,
    						Filename:   frame.File,
    					}
    					p.Function = append(p.Function, fn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/runtime/symtabinl.go

    }
    
    // An inlineUnwinder iterates over the stack of inlined calls at a PC by
    // decoding the inline table. The last step of iteration is always the frame of
    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    //	for u, uf := newInlineUnwinder(...); uf.valid(); uf = u.next(uf) { ... }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/LoggingTracer.kt

        private
        var nextSequenceNumber = 0L
    
        override fun open(frame: String) {
            log(frame, 'O')
        }
    
        override fun close(frame: String) {
            log(frame, 'C')
        }
    
        private
        fun log(frame: String, openOrClose: Char) {
            logger.log(
                level,
                """{"profile":"$profile","type":"$openOrClose","frame":"$frame","at":${writePosition()},"sn":${nextSequenceNumber()}}"""
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 20:48:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    		return nil, fmt.Errorf("unexpected addr2line output: %s", resp)
    	}
    
    	var stack []plugin.Frame
    	for {
    		frame, end := d.readFrame()
    		if end {
    			break
    		}
    
    		if frame != (plugin.Frame{}) {
    			stack = append(stack, frame)
    		}
    	}
    	return stack, err
    }
    
    // addrInfo returns the stack frame information for a specific program
    // address. It returns nil if the address could not be identified.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. test/fixedbugs/issue25507.go

    	b [1500000000]byte
    }
    
    func (x large) f1() int { // GC_ERROR "stack frame too large"
    	return 5
    }
    
    func f2(x large) int { // GC_ERROR "stack frame too large"
    	return 5
    }
    
    func f3() (x large, i int) { // GC_ERROR "stack frame too large"
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 754 bytes
    - Viewed (0)
  6. src/internal/pkgbits/sync.go

    // walkFrames calls visit for each call frame represented by pcs.
    //
    // pcs should be a slice of PCs, as returned by runtime.Callers.
    func walkFrames(pcs []uintptr, visit frameVisitor) {
    	if len(pcs) == 0 {
    		return
    	}
    
    	frames := runtime.CallersFrames(pcs)
    	for {
    		frame, more := frames.Next()
    		visit(frame.File, frame.Line, frame.Function, frame.PC-frame.Entry)
    		if !more {
    			return
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 17:12:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. 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)
  8. test/inline_caller.go

    }
    
    //go:noinline
    func testCaller(skp int) frame {
    	skip = skp
    	f() // line 42
    	frame := globalFrame
    	if !frame.ok {
    		panic(fmt.Sprintf("skip=%d runtime.Caller failed", skp))
    	}
    	return frame
    }
    
    type wantFrame struct {
    	funcName string
    	line     int
    }
    
    // -1 means don't care
    var expected = []wantFrame{
    	0: {"main.h", 36},
    	1: {"main.g", 31},
    	2: {"main.f", 27},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 08 21:54:04 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. src/runtime/signal_arm64.go

    	// the stack frame but we're not going back there
    	// anyway.
    	sp := c.sp() - sys.StackAlign // needs only sizeof uint64, but must align the stack
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.lr()
    	// Make sure a valid frame pointer is saved on the stack so that the
    	// frame pointer checks in adjustframe are happy, if they're enabled.
    	// Frame pointer unwinding won't visit the sigpanic frame, since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. test/fixedbugs/issue19467.dir/z.go

    	wg.Done()
    	ci := runtime.CallersFrames(wg.Callers)
    	frames := make([]runtime.Frame, 0, 4)
    	for {
    		frame, more := ci.Next()
    		frames = append(frames, frame)
    		if !more {
    			break
    		}
    	}
    	expecting := []string{
    		"test/mysync.(*WaitGroup).Add",
    		"test/mysync.(*WaitGroup).Done",
    	}
    	for i := 0; i < 2; i++ {
    		if frames[i].Function != expecting[i] {
    			log.Fatalf("frame %d: got %s, want %s", i, frames[i].Function, expecting[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 17:50:47 UTC 2022
    - 696 bytes
    - Viewed (0)
Back to top