Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for SYSCALL (0.09 sec)

  1. src/runtime/traceruntime.go

    //
    // nosplit because it's called on the syscall path when stack movement is forbidden.
    //
    //go:nosplit
    func (tl traceLocker) ok() bool {
    	return tl.gen != 0
    }
    
    // traceRelease indicates that this M is done writing trace events.
    //
    // nosplit because it's called on the syscall path when stack movement is forbidden.
    //
    //go:nosplit
    func traceRelease(tl traceLocker) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. src/internal/trace/event/go122/event.go

    	EvGoUnblock           // goroutine is unblocked [timestamp, goroutine ID, goroutine seq, stack ID]
    	EvGoSyscallBegin      // syscall enter [timestamp, P seq, stack ID]
    	EvGoSyscallEnd        // syscall exit [timestamp]
    	EvGoSyscallEndBlocked // syscall exit and it blocked at some point [timestamp]
    	EvGoStatus            // goroutine status at the start of a generation [timestamp, goroutine ID, thread ID, status]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. src/syscall/mksyscall.pl

    		}
    	}
    
    	# Determine which form to use; pad args with zeros.
    	my $asm = "Syscall";
    	if ($nonblock) {
    		if ($errvar eq "" && $ENV{'GOOS'} eq "linux") {
    			$asm = "rawSyscallNoError";
    		} else {
    			$asm = "RawSyscall";
    		}
    	}
    	if ($libc) {
    		# Call unexported syscall functions (which take
    		# libc functions instead of syscall numbers).
    		$asm = lcfirst($asm);
    	}
    	if(@args <= 3) {
    		while(@args < 3) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/runtime/mfinal.go

    // A very simplified example showing where KeepAlive is required:
    //
    //	type File struct { d int }
    //	d, err := syscall.Open("/file/path", syscall.O_RDONLY, 0)
    //	// ... do something if err != nil ...
    //	p := &File{d}
    //	runtime.SetFinalizer(p, func(p *File) { syscall.Close(p.d) })
    //	var buf [10]byte
    //	n, err := syscall.Read(p.d, buf[:])
    //	// Ensure p is not finalized until Read returns.
    //	runtime.KeepAlive(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/internal/trace/oldtrace.go

    		// Look for the next event for the same G to determine if the syscall
    		// blocked.
    		blocked := false
    		it.events.All()(func(nev *oldtrace.Event) bool {
    			if nev.G != ev.G {
    				return true
    			}
    			// After an EvGoSysCall, the next event on the same G will either be
    			// EvGoSysBlock to denote a blocking syscall, or some other event
    			// (or the end of the trace) if the syscall didn't block.
    			if nev.Type == oldtrace.EvGoSysBlock {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/cmd/trace/goroutines.go

    		<td> <a href="/block?name={{.Name}}">graph</a> <a href="/block?name={{.Name}}&raw=1" download="block.profile">(download)</a></td>
    	</tr>
    	<tr>
    		<td>Syscall profile:</td>
    		<td> <a href="/syscall?name={{.Name}}">graph</a> <a href="/syscall?name={{.Name}}&raw=1" download="syscall.profile">(download)</a></td>
    		</tr>
    	<tr>
    		<td>Scheduler wait profile:</td>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/runtime/runtime.go

    		timeSleep(1_000_000)
    	}
    	return r
    }
    
    var envs []string
    var argslice []string
    
    //go:linkname syscall_runtime_envs syscall.runtime_envs
    func syscall_runtime_envs() []string { return append([]string{}, envs...) }
    
    //go:linkname syscall_Getpagesize syscall.Getpagesize
    func syscall_Getpagesize() int { return int(physPageSize) }
    
    //go:linkname os_runtime_args os.runtime_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/syscall/syscall_darwin.go

    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package syscall
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/internal/trace/summary.go

    				if g.lastRunnableTime != 0 {
    					g.SchedWaitTime += ev.Time().Sub(g.lastRunnableTime)
    					g.lastRunnableTime = 0
    				}
    			case GoSyscall:
    				// Record syscall execution time and syscall block time as we transition out of syscall.
    				if g.lastSyscallTime != 0 {
    					if g.lastSyscallBlockTime != 0 {
    						g.SyscallBlockTime += ev.Time().Sub(g.lastSyscallBlockTime)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. src/cmd/trace/main.go

    Go 1.7 does not require the binary argument.
    
    Supported profile types are:
        - net: network blocking profile
        - sync: synchronization blocking profile
        - syscall: syscall blocking profile
        - sched: scheduler latency profile
    
    Flags:
    	-http=addr: HTTP service address (e.g., ':6060')
    	-pprof=type: print a pprof-like profile instead
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top