Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for runtime_setProfLabel (0.28 sec)

  1. src/runtime/proflabel.go

    import "unsafe"
    
    var labelSync uintptr
    
    // runtime_setProfLabel should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/cloudwego/localsession
    //   - github.com/DataDog/datadog-agent
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname runtime_setProfLabel runtime/pprof.runtime_setProfLabel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/runtime/profbuf.go

    	}
    
    	// Remember how much we returned, to commit read on next call.
    	b.rNext = br.addCountsAndClearFlags(skip+di, ti)
    
    	if raceenabled {
    		// Match racereleasemerge in runtime_setProfLabel,
    		// so that the setting of the labels in runtime_setProfLabel
    		// is treated as happening before any use of the labels
    		// by our caller. The synchronization on labelSync itself is a fiction
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top