- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 320 for proc (0.04 sec)
-
internal/http/dial_linux.go
// Number of probes. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5) _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5) // Wait time after successful probe in seconds. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 4.8K bytes - Viewed (0) -
src/syscall/exec_linux.go
) pidfd = -1 rlim := origRlimitNofile.Load() if sys.UidMappings != nil { puid = []byte("/proc/self/uid_map\000") uidmap = formatIDMappings(sys.UidMappings) } if sys.GidMappings != nil { psetgroups = []byte("/proc/self/setgroups\000") pgid = []byte("/proc/self/gid_map\000") if sys.GidMappingsEnableSetgroups { setgroups = []byte("allow\000") } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/internal/trace/gc.go
series = len(out) out = append(out, []MutatorUtil{{int64(ev.Time()), 1}}) } ps = append(ps, perP{series: series}) } if len(procs) == 0 || gomaxprocs != procs[len(procs)-1].n { procs = append(procs, procsCount{time: int64(ev.Time()), n: gomaxprocs}) } } if len(ps) == 0 { // We can't start doing any analysis until we see what GOMAXPROCS is.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/gomaxprocs.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Tests increasing and decreasing GOMAXPROCS to try and // catch issues with stale proc state. //go:build ignore package main import ( "log" "os" "runtime" "runtime/trace" "time" ) func main() { // Start a goroutine that calls runtime.GC to try and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 967 bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/order.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package oldtrace import "errors" type orderEvent struct { ev Event proc *proc } type gStatus int type gState struct { seq uint64 status gStatus } const ( gDead gStatus = iota gRunnable gRunning gWaiting unordered = ^uint64(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4K bytes - Viewed (0) -
prow/integ-suite-kind.sh
set -u # Print commands set -x # shellcheck source=prow/lib.sh source "${ROOT}/prow/lib.sh" setup_and_export_git_sha # shellcheck source=common/scripts/kind_provisioner.sh source "${ROOT}/common/scripts/kind_provisioner.sh" TOPOLOGY=SINGLE_CLUSTER NODE_IMAGE="gcr.io/istio-testing/kind-node:v1.30.0" KIND_CONFIG="" CLUSTER_TOPOLOGY_CONFIG_FILE="${ROOT}/prow/config/topology/multicluster.json" export FAST_VM_BUILDS=true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 05:42:41 UTC 2024 - 5.1K bytes - Viewed (0) -
src/internal/trace/summary.go
case GoSyscall: s.syscallingP[ev.Proc()] = id s.syscallingG[id] = ev.Proc() g.lastSyscallTime = ev.Time() } // Handle procs to detect syscall blocking, which si identifiable as a // proc going idle while the goroutine it was attached to is in a syscall. case ResourceProc: id := st.Resource.Proc() old, new := st.Proc() if old != new && new == ProcIdle {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 20.7K bytes - Viewed (0) -
src/internal/sysinfo/cpuinfo_linux.go
// license that can be found in the LICENSE file. package sysinfo import ( "bufio" "bytes" "io" "os" "strings" ) func readLinuxProcCPUInfo(buf []byte) error { f, err := os.Open("/proc/cpuinfo") if err != nil { return err } defer f.Close() _, err = io.ReadFull(f, buf) if err != nil && err != io.ErrUnexpectedEOF { return err } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 1.4K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.go
if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } defer trace.Stop() procs := runtime.GOMAXPROCS(10) time.Sleep(50 * time.Millisecond) // test proc stop/start events go func() { runtime.LockOSThread() for { select { case <-done: return default: runtime.Gosched() } } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-with-p.go
import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { t.ExpectFailure(".*expected a proc but didn't have one.*") g := t.Generation(1) // A C thread calls into Go and acquires a P. It returns // back to C, destroying the G. It then comes back to Go // on the same thread and again returns to C. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0)