Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for traceCPUSample (0.4 sec)

  1. src/runtime/tracecpu.go

    			unlock(&trace.lock)
    			trace.cpuBuf[gen%2] = nil
    		})
    	}
    }
    
    // traceCPUSample writes a CPU profile sample stack to the execution tracer's
    // profiling buffer. It is called from a signal handler, so is limited in what
    // it can do. mp must be the thread that is currently stopped in a signal.
    func traceCPUSample(gp *g, mp *m, pp *p, stk []uintptr) {
    	if !traceEnabled() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top