Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 260 for frame_0 (0.17 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go

    // and returns this as the name of a counter.
    func telemetryCounterName(crash []byte) (string, error) {
    	pcs, err := parseStackPCs(string(crash))
    	if err != nil {
    		return "", err
    	}
    
    	// Limit the number of frames we request.
    	pcs = pcs[:min(len(pcs), 16)]
    
    	if len(pcs) == 0 {
    		// This can occur if all goroutines are idle, as when
    		// caught in a deadlock, or killed by an async signal
    		// while blocked.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    // for a single stack trace.
    func printStackRecord(w io.Writer, stk []uintptr, allFrames bool) {
    	show := allFrames
    	frames := runtime.CallersFrames(stk)
    	for {
    		frame, more := frames.Next()
    		name := frame.Function
    		if name == "" {
    			show = true
    			fmt.Fprintf(w, "#\t%#x\n", frame.PC)
    		} else if name != "runtime.goexit" && (show || !strings.HasPrefix(name, "runtime.")) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    		bv.n = -1
    	}
    
    	// Dump main body of stack frame.
    	dumpint(tagStackFrame)
    	dumpint(uint64(s.sp))                              // lowest address in frame
    	dumpint(uint64(child.depth))                       // # of frames deep on the stack
    	dumpint(uint64(uintptr(unsafe.Pointer(child.sp)))) // sp of child, or 0 if bottom of stack
    	dumpmemrange(unsafe.Pointer(s.sp), s.fp-s.sp)      // frame contents
    	dumpint(uint64(f.entry()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/internal/trace/raw/event.go

    		s.WriteString(strconv.FormatUint(e.Args[i], 10))
    	}
    	if spec.IsStack {
    		frames := e.Args[len(spec.Args):]
    		for i := 0; i < len(frames); i++ {
    			if i%4 == 0 {
    				s.WriteString("\n\t")
    			} else {
    				s.WriteString(" ")
    			}
    			s.WriteString(frameFields[i%4])
    			s.WriteString("=")
    			s.WriteString(strconv.FormatUint(frames[i], 10))
    		}
    	}
    	if e.Data != nil {
    		s.WriteString("\n\tdata=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/runtime/stubs.go

    }
    
    // Not all cgocallback frames are actually cgocallback,
    // so not all have these arguments. Mark them uintptr so that the GC
    // does not misinterpret memory when the arguments are not present.
    // cgocallback is not called from Go, only from crosscall2.
    // This in turn calls cgocallbackg, which is where we'll find
    // pointer-declared arguments.
    //
    // When fn is nil (frame is saved g), call dropm instead,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. src/runtime/asm_loong64.s

    	RET
    
    // func cgocallback(fn, frame unsafe.Pointer, ctxt uintptr)
    // See cgocall.go for more details.
    TEXT ·cgocallback(SB),NOSPLIT,$24-24
    	NO_LOCAL_POINTERS
    
    	// Skip cgocallbackg, just dropm when fn is nil, and frame is the saved g.
    	// It is used to dropm while thread is exiting.
    	MOVV    fn+0(FP), R5
    	BNE	R5, loadg
    	// Restore the g from frame.
    	MOVV    frame+8(FP), g
    	JMP	dropm
    
    loadg:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner_llvm.go

    		return nil, err
    	}
    
    	var stack []plugin.Frame
    	for {
    		frame, end := d.readFrame()
    		if end {
    			break
    		}
    
    		if frame != (plugin.Frame{}) {
    			stack = append(stack, frame)
    		}
    	}
    
    	return stack, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/runtime/runtime-lldb_test.go

              print "Hit breakpoint"
              frame = t.GetFrameAtIndex(0)
              if frame:
                if frame.line_entry:
                  print "Stopped at %s:%d" % (frame.line_entry.file.basename, frame.line_entry.line)
                if frame.function:
                  print "Stopped in %s" % (frame.function.name,)
                var = frame.FindVariable('intvar')
                if var:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top