Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 97 for syscallsp (0.13 sec)

  1. src/internal/trace/testdata/generators/go122-syscall-steal-proc-self.go

    // Copyright 2023 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.
    
    // Tests syscall P stealing.
    //
    // Specifically, it tests a scenario where a thread 'steals'
    // a P from itself. It's just a ProcStop with extra steps when
    // it happens on the same P.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 988 bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-syscall-steal-proc-self.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 464 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_loong64.s

    // license that can be found in the LICENSE file.
    
    //go:build linux && loong64 && gc
    
    #include "textflag.h"
    
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
    	JAL	runtime·entersyscall(SB)
    	MOVV	a1+8(FP), R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-create-syscall-with-p.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 624 bytes
    - Viewed (0)
  6. src/internal/trace/testdata/tests/go122-syscall-steal-proc-ambiguous.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 589 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_386.s

    #define INVOKE_SYSCALL	INT	$0x80
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-28
    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
    	CALL	runtime·entersyscall(SB)
    	MOVL	trap+0(FP), AX  // syscall entry
    	MOVL	a1+4(FP), BX
    	MOVL	a2+8(FP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go

    //go:build linux && gccgo && 386
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    	offsetHigh := uint32((offset >> 32) & 0xffffffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 986 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go

    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
    	n = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	r0, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go

    // Copyright 2023 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.
    
    // Tests syscall P stealing.
    //
    // Specifically, it tests a scenerio wherein, without a
    // P sequence number of GoSyscallBegin, the syscall that
    // a ProcSteal applies to is ambiguous. This only happens in
    // practice when the events aren't already properly ordered
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top