Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 125 for traceback (0.22 sec)

  1. src/runtime/signal_unix.go

    	if setStack {
    		restoreGsignalStack(&gsignalStack)
    	}
    }
    
    // If the signal handler receives a SIGPROF signal on a non-Go thread,
    // it tries to collect a traceback into sigprofCallers.
    // sigprofCallersUse is set to non-zero while sigprofCallers holds a traceback.
    var sigprofCallers cgoCallers
    var sigprofCallersUse uint32
    
    // sigprofNonGo is called if we receive a SIGPROF signal on a non-Go thread,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/runtime/error.go

    // printpanicval prints an argument passed to panic.
    // If panic is called with a value that has a String or Error method,
    // it has already been converted into a string by preprintpanics.
    //
    // To ensure that the traceback can be unambiguously parsed even when
    // the panic value contains "\ngoroutine" and other stack-like
    // strings, newlines in the string representation of v are replaced by
    // "\n\t".
    func printpanicval(v any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/obj7.go

    			// it is a leaf function, so that traceback works.
    			q = p
    			if c.autosize > aoffset {
    				// Frame size is too large for a MOVD.W instruction. Store the frame pointer
    				// register and link register before decrementing SP, so if a signal comes
    				// during the execution of the function prologue, the traceback code will
    				// not see a half-updated stack frame.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  4. src/runtime/debug/garbage.go

    func WriteHeapDump(fd uintptr)
    
    // SetTraceback sets the amount of detail printed by the runtime in
    // the traceback it prints before exiting due to an unrecovered panic
    // or an internal runtime error.
    // The level argument takes the same values as the GOTRACEBACK
    // environment variable. For example, SetTraceback("all") ensure
    // that the program prints all goroutines when it crashes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. src/runtime/stack_test.go

    			t.Fatalf("want 2 goroutines, got:\n%s", output)
    		}
    
    		// Check functions in the traceback.
    		fns := []string{"main.recurseThenCallGo", "main.main", "main.printStack", "main.TracebackAncestors"}
    		for _, fn := range fns {
    			if !strings.Contains(output, "\n"+fn+"(") {
    				t.Fatalf("expected %q function in traceback:\n%s", fn, output)
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_386.s

    	// so switch to g0.
    
    	MOVL	SP, BP	// Save old SP; BP unchanged by C code.
    
    	get_tls(CX)
    	MOVL	g(CX), AX
    	MOVL	g_m(AX), SI // SI unchanged by C code.
    
    	// Set vdsoPC and vdsoSP for SIGPROF traceback.
    	// Save the old values on stack and restore them on exit,
    	// so this function is reentrant.
    	MOVL	m_vdsoPC(SI), CX
    	MOVL	m_vdsoSP(SI), DX
    	MOVL	CX, 0(SP)
    	MOVL	DX, 4(SP)
    
    	LEAL	sec+0(FP), DX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/obj.go

    			q = p
    
    			if autosize != 0 {
    				// Make sure to save link register for non-empty frame, even if
    				// it is a leaf function, so that traceback works.
    				// Store link register before decrement SP, so if a signal comes
    				// during the execution of the function prologue, the traceback
    				// code will not see a half-updated stack frame.
    				// This sequence is not async preemptible, as if we open a frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/start.go

    // to telemetry.go.dev.
    //
    // If [Config.ReportCrashes] is set, any fatal crash will be
    // recorded by incrementing a counter named for the stack of the
    // first running goroutine in the traceback.
    //
    // If either of these flags is set, Start re-executes the current
    // executable as a child process, in a special mode in which it
    // acts as a telemetry sidecar for the parent process (the application).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/runtime/asm_arm.s

    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // R3 prolog's LR
    // using NOFRAME means do not save LR on stack.
    //
    // 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: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  10. 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)
Back to top