Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for syscalls (0.19 sec)

  1. src/syscall/syscall_linux_test.go

    	origLimit := syscall.OrigRlimitNofile()
    	origRlimitNofile := syscall.GetInternalOrigRlimitNofile()
    
    	if origLimit == nil {
    		defer origRlimitNofile.Store(origLimit)
    		origRlimitNofile.Store(&syscall.Rlimit{
    			Cur: 1024,
    			Max: 65536,
    		})
    	}
    
    	// Get current process's nofile limit
    	var lim syscall.Rlimit
    	if err := syscall.Prlimit(0, syscall.RLIMIT_NOFILE, nil, &lim); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/net/cgo_unix.go

    // This file is called cgo_unix.go, but to allow syscalls-to-libc-based
    // implementations to share the code, it does not use cgo directly.
    // Instead of C.foo it uses _C_foo, which is defined in either
    // cgo_unix_cgo.go or cgo_unix_syscall.go
    
    //go:build !netgo && ((cgo && unix) || darwin)
    
    package net
    
    import (
    	"context"
    	"errors"
    	"internal/bytealg"
    	"net/netip"
    	"syscall"
    	"unsafe"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    			*flagOutfile += ".exe"
    		}
    	}
    
    	interpreter = *flagInterpreter
    
    	if *flagBuildid == "" && ctxt.Target.IsOpenbsd() {
    		// TODO(jsing): Remove once direct syscalls are no longer in use.
    		// OpenBSD 6.7 onwards will not permit direct syscalls from a
    		// dynamically linked binary unless it identifies the binary
    		// contains a .note.go.buildid ELF note. See issue #36435.
    		*flagBuildid = "go-openbsd"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/runtime/cgocall.go

    	checkm := gp.m
    
    	// Save current syscall parameters, so m.winsyscall can be
    	// used again if callback decide to make syscall.
    	winsyscall := gp.m.winsyscall
    
    	// entersyscall saves the caller's SP to allow the GC to trace the Go
    	// stack. However, since we're returning to an earlier stack frame and
    	// need to pair with the entersyscall() call made by cgocall, we must
    	// save syscall* and let reentersyscall restore them.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/list.md

    | `minio_node_scanner_versions_scanned`      | Total number of object versions scanned since server start. |
    | `minio_node_syscall_read_total`            | Total read SysCalls to the kernel. /proc/[pid]/io syscr.    |
    | `minio_node_syscall_write_total`           | Total write SysCalls to the kernel. /proc/[pid]/io syscw.   |
    | `minio_usage_last_activity_nano_seconds`   | Time elapsed (in nano seconds) since last scan activity.    |
    
    # Bucket Metrics
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  6. src/cmd/trace/pprof.go

    		return strings.Contains(reason, "chan") || strings.Contains(reason, "sync") || strings.Contains(reason, "select")
    	})
    }
    
    // computePprofSyscall returns a computePprofFunc that generates a syscall pprof-like
    // profile (time spent in syscalls).
    func computePprofSyscall() computePprofFunc {
    	return makeComputePprofFunc(trace.GoSyscall, func(_ string) bool {
    		return true
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. docs/metrics/v3.md

    | `minio_system_process_syscall_read_total`          | `counter` | Total read SysCalls to the kernel. /proc/[pid]/io syscr                                                        | `server` |
    | `minio_system_process_syscall_write_total`         | `counter` | Total write SysCalls to the kernel. /proc/[pid]/io syscw                                                       | `server` |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 40.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top