Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StartProfiling (1.15 sec)

  1. cmd/peer-rest-common.go

    )
    
    const (
    	peerRESTMethodHealth                = "/health"
    	peerRESTMethodVerifyBinary          = "/verifybinary"
    	peerRESTMethodCommitBinary          = "/commitbinary"
    	peerRESTMethodStartProfiling        = "/startprofiling"
    	peerRESTMethodDownloadProfilingData = "/downloadprofilingdata"
    	peerRESTMethodSpeedTest             = "/speedtest"
    	peerRESTMethodDriveSpeedTest        = "/drivespeedtest"
    	peerRESTMethodDevNull               = "/devnull"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	resp, err := getProcInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    // StartProfiling - Issues profiling command on the peer node.
    func (client *peerRESTClient) StartProfiling(ctx context.Context, profiler string) error {
    	values := make(url.Values)
    	values.Set(peerRESTProfiler, profiler)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/notification.go

    				return err
    			}
    			states[idx] = st
    			return nil
    		}, idx, *client.host)
    	}
    
    	return states, ng.Wait()
    }
    
    // StartProfiling - start profiling on remote peers, by initiating a remote RPC.
    func (sys *NotificationSys) StartProfiling(ctx context.Context, profiler string) []NotificationPeerErr {
    	ng := WithNPeers(len(sys.peerClients))
    	for idx, client := range sys.peerClients {
    		if client == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	// Start profiling on remote servers.
    	for _, profiler := range profiles {
    		// Limit start time to max 10s.
    		ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    		globalNotificationSys.StartProfiling(ctx, profiler)
    		// StartProfiling blocks, so we can cancel now.
    		cancel()
    
    		// Start profiling locally as well.
    		prof, err := startProfiler(profiler)
    		if err == nil {
    			globalProfiler[profiler] = prof
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top