Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 125 for traceback (0.14 sec)

  1. src/runtime/cgo/callbacks_traceback.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin || linux
    
    package cgo
    
    import _ "unsafe" // for go:linkname
    
    // Calls the traceback function passed to SetCgoTraceback.
    
    //go:cgo_import_static x_cgo_callers
    //go:linkname x_cgo_callers x_cgo_callers
    //go:linkname _cgo_callers _cgo_callers
    var x_cgo_callers byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 475 bytes
    - Viewed (0)
  2. src/runtime/sys_libc.go

    // Switches to the system stack, if not already there.
    // Preserves the calling point as the location where a profiler traceback will begin.
    //
    //go:nosplit
    func libcCall(fn, arg unsafe.Pointer) int32 {
    	// Leave caller's PC/SP/G around for traceback.
    	gp := getg()
    	var mp *m
    	if gp != nil {
    		mp = gp.m
    	}
    	if mp != nil && mp.libcallsp == 0 {
    		mp.libcallg.set(gp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/tflite-op-request.md

    Also, please include a link to a GraphDef or the model if possible.
    
    **Any other info / logs**
    
    Include any logs or source code that would be helpful to diagnose the problem.
    If including tracebacks, please include the full traceback. Large logs and files
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 15 03:35:58 UTC 2022
    - 879 bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    var traceback_cache uint32 = 2 << tracebackShift
    var traceback_env uint32
    
    // gotraceback returns the current traceback settings.
    //
    // If level is 0, suppress all tracebacks.
    // If level is 1, show tracebacks, but exclude runtime frames.
    // If level is 2, show tracebacks including runtime frames.
    // If all is set, print all goroutine stacks. Otherwise, print just the current goroutine.
    // If crash is set, crash (core dump, etc) after tracebacking.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. test/fixedbugs/issue11656.go

    // runindir
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 11656: runtime: jump to bad PC missing good traceback
    
    // windows doesn't work, because Windows exception handling
    // delivers signals based on the current PC, and that current PC
    // doesn't go into the Go runtime.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 700 bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_context.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || windows
    
    #include "libcgo.h"
    
    // Releases the cgo traceback context.
    void _cgo_release_context(uintptr_t ctxt) {
    	void (*pfn)(struct context_arg*);
    
    	pfn = _cgo_get_context_function();
    	if (ctxt != 0 && pfn != nil) {
    		struct context_arg arg;
    
    		arg.Context = ctxt;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 22:38:02 UTC 2023
    - 466 bytes
    - Viewed (0)
  7. src/runtime/tracebackx_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    func XTestSPWrite(t TestingT) {
    	// Test that we can traceback from the stack check prologue of a function
    	// that writes to SP. See #62326.
    
    	// Start a goroutine to minimize the initial stack and ensure we grow the stack.
    	done := make(chan bool)
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 06 14:45:46 UTC 2023
    - 509 bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/tracebackctxt.go

    }
    
    var tracebackOK bool
    
    func TracebackContext() {
    	runtime.SetCgoTraceback(0, unsafe.Pointer(C.tcTraceback), unsafe.Pointer(C.tcContext), unsafe.Pointer(C.tcSymbolizer))
    	C.C1()
    	if got := C.getContextCount(); got != 0 {
    		fmt.Printf("at end contextCount == %d, expected 0\n", got)
    		tracebackOK = false
    	}
    	if tracebackOK {
    		fmt.Println("OK")
    	}
    }
    
    //export G1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 29 15:30:38 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. src/runtime/traceback_system_test.go

    		t.Errorf("got:\n%swant:\n%s", got, want)
    	}
    }
    
    // parseStackPCs parses the parent process's program counters for the
    // first running goroutine out of a GOTRACEBACK=system traceback,
    // adjusting them so that they are valid for the child process's text
    // segment.
    //
    // This function returns only program counter values, ensuring that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/gprof.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    // Test taking a goroutine profile with C traceback.
    
    /*
    // Defined in gprof_c.c.
    void CallGoSleep(void);
    void gprofCgoTraceback(void* parg);
    void gprofCgoContext(void* parg);
    */
    import "C"
    
    import (
    	"fmt"
    	"io"
    	"runtime"
    	"runtime/pprof"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 15:34:02 UTC 2021
    - 868 bytes
    - Viewed (0)
Back to top