Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for traceback (0.15 sec)

  1. src/runtime/traceback.go

    	if gp.m.libcallsp != 0 {
    		// We're in C code somewhere, traceback from the saved position.
    		traceback1(gp.m.libcallpc, gp.m.libcallsp, 0, gp.m.libcallg.ptr(), 0)
    		return
    	}
    	traceback1(pc, sp, lr, gp, unwindTrap)
    }
    
    func traceback1(pc, sp, lr uintptr, gp *g, flags unwindFlags) {
    	// If the goroutine is in cgo, and we have a cgo traceback, print that.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    		systemstack(func() {
    			g0 := getg()
    			// Force traceback=1 to override GOTRACEBACK setting,
    			// so that Stack's results are consistent.
    			// GOTRACEBACK is only about crash dumps.
    			g0.m.traceback = 1
    			g0.writebuf = buf[0:0:len(buf)]
    			goroutineheader(gp)
    			traceback(pc, sp, 0, gp)
    			if all {
    				tracebackothers(gp)
    			}
    			g0.m.traceback = 0
    			n = len(g0.writebuf)
    			g0.writebuf = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    					// critical that we can't do a full
    					// traceback from. Typically this would
    					// be covered by the runtime check
    					// below, but these symbols don't have
    					// the package name.
    					mayBeLabeled = true
    				}
    
    				if strings.HasPrefix(l.Function.Name, "runtime.") {
    					// There are many places in the runtime
    					// where we can't do a full traceback.
    					// Ideally we'd list them all, but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. src/runtime/asm_amd64.s

    	CALL	AX
    
    	// should never return
    	CALL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    			throw("markroot: bad index")
    		}
    		gp := work.stackRoots[i-work.baseStacks]
    
    		// remember when we've first observed the G blocked
    		// needed only to output in traceback
    		status := readgstatus(gp) // We are not in a scan state
    		if (status == _Gwaiting || status == _Gsyscall) && gp.waitsince == 0 {
    			gp.waitsince = work.tstart
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. src/runtime/mgc.go

    	setGCPhase(_GCmarktermination)
    
    	work.heap1 = gcController.heapLive.Load()
    	startTime := nanotime()
    
    	mp := acquirem()
    	mp.preemptoff = "gcing"
    	mp.traceback = 2
    	curgp := mp.curg
    	// N.B. The execution tracer is not aware of this status
    	// transition and handles it specially based on the
    	// wait reason.
    	casGToWaitingForGC(curgp, _Grunning, waitReasonGarbageCollection)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    	}
    	print("\n")
    	if refBase != 0 {
    		print("runtime: found in object at *(", hex(refBase), "+", hex(refOff), ")\n")
    		gcDumpObject("object", refBase, refOff)
    	}
    	getg().m.traceback = 2
    	throw("found bad pointer in Go heap (incorrect use of unsafe or cgo?)")
    }
    
    // findObject returns the base address for the heap object containing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    	}
    
    	t.runNames = flag.Args()
    
    	// Set GOTRACEBACK to system if the user didn't set a level explicitly.
    	// Since we're running tests for Go, we want as much detail as possible
    	// if something goes wrong.
    	//
    	// Set it before running any commands just in case something goes wrong.
    	if ok := isEnvSet("GOTRACEBACK"); !ok {
    		if err := os.Setenv("GOTRACEBACK", "system"); err != nil {
    			if t.keepGoing {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    	// To help debugging, immediately log version
    	klog.InfoS("Kubelet version", "kubeletVersion", version.Get())
    
    	klog.InfoS("Golang settings", "GOGC", os.Getenv("GOGC"), "GOMAXPROCS", os.Getenv("GOMAXPROCS"), "GOTRACEBACK", os.Getenv("GOTRACEBACK"))
    
    	if err := initForOS(s.KubeletFlags.WindowsService, s.KubeletFlags.WindowsPriorityClass); err != nil {
    		return fmt.Errorf("failed OS init: %w", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	startTime := time.Now()
    	return func(info objTraceInfoer, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceBatch) > 0 {
    			globalTrace.Publish(batchJobTrace(d, job, startTime, duration, info, attempts, err))
    			return
    		}
    		switch d {
    		case batchJobMetricReplication:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top