Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 835 for syscalls (0.13 sec)

  1. src/internal/trace/internal/oldtrace/parser.go

    	EvGoBlockNet        event.Type = 27 // goroutine blocks on network [timestamp, stack]
    	EvGoSysCall         event.Type = 28 // syscall enter [timestamp, stack]
    	EvGoSysExit         event.Type = 29 // syscall exit [timestamp, goroutine id, seq, real timestamp]
    	EvGoSysBlock        event.Type = 30 // syscall blocks [timestamp]
    	EvGoWaiting         event.Type = 31 // denotes that goroutine is blocked when tracing starts [timestamp, goroutine id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    	CLONE_IO             = 0x80000000 // Clone io context
    
    	// Flags for the clone3() syscall.
    
    	CLONE_CLEAR_SIGHAND = 0x100000000 // Clear any signal handler and reset to SIG_DFL.
    	CLONE_INTO_CGROUP   = 0x200000000 // Clone into a specific cgroup given the right permissions.
    
    	// Cloning flags intersect with CSIGNAL so can be used with unshare and clone3
    	// syscalls only:
    
    	CLONE_NEWTIME = 0x00000080 // New time namespace
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/trace.go

    	// zero because the world is stopped and there are no available Ps for syscall-exited
    	// goroutines to run on.
    	//
    	// Because we set gen before checking this, and because exitingSyscall is always incremented
    	// *before* traceAcquire (which checks gen), we can be certain that when exitingSyscall is zero
    	// that any goroutine that goes to exit a syscall from then on *must* observe the new gen as
    	// well as trace.enabled being set to true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    // go run mksysnum.go https://gitweb.dragonflybsd.org/dragonfly.git/blob_plain/HEAD:/sys/kern/syscalls.master
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build amd64 && dragonfly
    
    package unix
    
    const (
    	SYS_EXIT  = 1 // { void exit(int rval); }
    	SYS_FORK  = 2 // { int fork(void); }
    	SYS_READ  = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); }
    	SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go

    // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build 386 && netbsd
    
    package unix
    
    const (
    	SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
    	SYS_FORK                 = 2   // { int|sys||fork(void); }
    	SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  7. src/runtime/signal_unix.go

    		// sigPerThreadSyscall is the same signal used by glibc for
    		// per-thread syscalls on Linux. We use it for the same purpose
    		// in non-cgo binaries. Since this signal is not _SigNotify,
    		// there is nothing more to do once we run the syscall.
    		runPerThreadSyscall()
    		return
    	}
    
    	if sig == sigPreempt && debug.asyncpreemptoff == 0 && !delayedSignal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go

    // go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
    // Code generated by the command above; DO NOT EDIT.
    
    //go:build arm64 && netbsd
    
    package unix
    
    const (
    	SYS_EXIT                 = 1   // { void|sys||exit(int rval); }
    	SYS_FORK                 = 2   // { int|sys||fork(void); }
    	SYS_READ                 = 3   // { ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  9. src/runtime/os_linux.go

    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    func pipe2(flags int32) (r, w int32, errno int32)
    
    //go:nosplit
    func fcntl(fd, cmd, arg int32) (ret int32, errno int32) {
    	r, _, err := syscall.Syscall6(syscall.SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0)
    	return int32(r), int32(err)
    }
    
    const (
    	_si_max_size    = 128
    	_sigev_max_size = 64
    )
    
    //go:nosplit
    //go:nowritebarrierrec
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    		}
    		return sa, nil
    	}
    	return nil, EAFNOSUPPORT
    }
    
    // Some external packages rely on SYS___SYSCTL being defined to implement their
    // own sysctl wrappers. Provide it here, even though direct syscalls are no
    // longer supported on darwin.
    const SYS___SYSCTL = SYS_SYSCTL
    
    // Translate "kern.hostname" to []_C_int{0,1,2,3}.
    func nametomib(name string) (mib []_C_int, err error) {
    	const siz = unsafe.Sizeof(mib[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
Back to top