Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for stk (0.02 sec)

  1. src/runtime/sys_linux_ppc64x.s

    	SYSCALL	$SYS_futex
    	BVC	2(PC)
    	NEG	R3	// caller expects negative errno
    	MOVW	R3, ret+40(FP)
    	RET
    
    // int64 clone(int32 flags, void *stk, M *mp, G *gp, void (*fn)(void));
    TEXT runtime·clone(SB),NOSPLIT|NOFRAME,$0
    	MOVW	flags+0(FP), R3
    	MOVD	stk+8(FP), R4
    
    	// Copy mp, gp, fn off parent stack for use by child.
    	// Careful: Linux system call clobbers ???.
    	MOVD	mp+16(FP), R7
    	MOVD	gp+24(FP), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/parser.go

    		if id != 0 && size > 0 {
    			stk := p.allocateStack(size)
    			for i := 0; i < int(size); i++ {
    				pc := raw.args[2+i*4+0]
    				fn := raw.args[2+i*4+1]
    				file := raw.args[2+i*4+2]
    				line := raw.args[2+i*4+3]
    				stk[i] = pc
    
    				if _, ok := p.pcs[pc]; !ok {
    					p.pcs[pc] = Frame{PC: pc, Fn: fn, File: file, Line: int(line)}
    				}
    			}
    			p.stacks[id] = stk
    		}
    	case EvCPUSample:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	_, locations := graph.CreateNodes(prof, &graph.Options{})
    	for _, sample := range prof.Sample {
    		type stk struct {
    			*graph.NodeInfo
    			inline bool
    		}
    		var stack []stk
    		for _, loc := range sample.Location {
    			nodes := locations[loc.ID]
    			for i, n := range nodes {
    				// The inline flag may be inaccurate if 'show' or 'hide' filter is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. src/runtime/signal_unix.go

    // g is nil, and what we can do is very limited.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func sigprofNonGoPC(pc uintptr) {
    	if prof.hz.Load() != 0 {
    		stk := []uintptr{
    			pc,
    			abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum,
    		}
    		cpuprof.addNonGo(stk)
    	}
    }
    
    // adjustSignalStack adjusts the current stack guard based on the
    // stack pointer that is actually in use while handling a signal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    		} else if pc > firstmoduledata.etext {
    			// "ExternalCode" is better than "etext".
    			pc = abi.FuncPCABIInternal(_ExternalCode) + sys.PCQuantum
    		}
    		stk[0] = pc
    		if mp.preemptoff != "" {
    			stk[1] = abi.FuncPCABIInternal(_GC) + sys.PCQuantum
    		} else {
    			stk[1] = abi.FuncPCABIInternal(_System) + sys.PCQuantum
    		}
    	}
    
    	if prof.hz.Load() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/runtime/os_windows.go

    // stack, but that's not necessary for Windows. No stack guards are present
    // and the GC has not been initialized, so write barriers will fail.
    //
    //go:nowritebarrierrec
    //go:nosplit
    func newosproc0(mp *m, stk unsafe.Pointer) {
    	// TODO: this is completely broken. The args passed to newosproc0 (in asm_amd64.s)
    	// are stacksize and function, not *m and stack.
    	// Check os_linux.go for an implementation that might actually work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top