Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for debug_loc (0.21 sec)

  1. src/runtime/debuglog_test.go

    // TODO(austin): All of these tests are skipped if the debuglog build
    // tag isn't provided. That means we basically never test debuglog.
    // There are two potential ways around this:
    //
    // 1. Make these tests re-build the runtime test with the debuglog
    // build tag and re-invoke themselves.
    //
    // 2. Always build the whole debuglog infrastructure and depend on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 16:59:26 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. src/runtime/print.go

    	mp := getg().m
    	mp.locks++ // do not reschedule between printlock++ and lock(&debuglock).
    	mp.printlock++
    	if mp.printlock == 1 {
    		lock(&debuglock)
    	}
    	mp.locks-- // now we know debuglock is held and holding up mp.locks for us.
    }
    
    func printunlock() {
    	mp := getg().m
    	mp.printlock--
    	if mp.printlock == 0 {
    		unlock(&debuglock)
    	}
    }
    
    // write to goroutine-local buffer if diverting output,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. .github/workflows/latest-changes.yml

            with:
              token: ${{ secrets.GITHUB_TOKEN }}
              latest_changes_file: docs/en/docs/release-notes.md
              latest_changes_header: '## Latest Changes'
              end_regex: '^## '
              debug_logs: true
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 09 14:57:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/config.go

    }
    
    // mustLinkExternal reports whether the program being linked requires
    // the external linker be used to complete the link.
    func mustLinkExternal(ctxt *Link) (res bool, reason string) {
    	if ctxt.Debugvlog > 1 {
    		defer func() {
    			if res {
    				ctxt.Logf("external linking is forced by: %s\n", reason)
    			}
    		}()
    	}
    
    	if platform.MustLinkExternal(buildcfg.GOOS, buildcfg.GOARCH, false) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:14:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/execarchive.go

    	var err error
    	argv0 := argv[0]
    	if filepath.Base(argv0) == argv0 {
    		argv0, err = exec.LookPath(argv0)
    		if err != nil {
    			Exitf("cannot find %s: %v", argv[0], err)
    		}
    	}
    	if ctxt.Debugvlog != 0 {
    		ctxt.Logf("invoking archiver with syscall.Exec()\n")
    	}
    	err = syscall.Exec(argv0, argv, os.Environ())
    	if err != nil {
    		Exitf("running %s failed: %v", argv[0], err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 876 bytes
    - Viewed (0)
  6. src/runtime/export_debuglog_test.go

    // Copyright 2019 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.
    
    // Export debuglog guts for testing.
    
    package runtime
    
    const DlogEnabled = dlogEnabled
    
    const DebugLogBytes = debugLogBytes
    
    const DebugLogStringLimit = debugLogStringLimit
    
    var Dlog = dlog
    
    func (l *dlogger) End()                  { l.end() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 16:49:45 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/ar.go

    // libgcc.a.
    func hostArchive(ctxt *Link, name string) {
    	if ctxt.Debugvlog > 1 {
    		ctxt.Logf("hostArchive(%s)\n", name)
    	}
    	f, err := bio.Open(name)
    	if err != nil {
    		if os.IsNotExist(err) {
    			// It's OK if we don't have a libgcc file at all.
    			if ctxt.Debugvlog != 0 {
    				ctxt.Logf("skipping libgcc file: %v\n", err)
    			}
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/asm/main.go

    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/net/rpc/client.go

    	client.reqMutex.Unlock()
    	if debugLog && err != io.EOF && !closing {
    		log.Println("rpc: client protocol error:", err)
    	}
    }
    
    func (call *Call) done() {
    	select {
    	case call.Done <- call:
    		// ok
    	default:
    		// We don't want to block here. It is the caller's responsibility to make
    		// sure the channel has enough buffer space. See comment in Go().
    		if debugLog {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/net/rpc/debug.go

    			</tr>
    		{{end}}
    		</table>
    	{{end}}
    	</body>
    	</html>`
    
    var debug = template.Must(template.New("RPC debug").Parse(debugText))
    
    // If set, print log statements for internal and I/O errors.
    var debugLog = false
    
    type debugMethod struct {
    	Type *methodType
    	Name string
    }
    
    type methodArray []debugMethod
    
    type debugService struct {
    	Service *service
    	Name    string
    	Method  []debugMethod
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top