github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/cli/agent_unix.go (about)

     1  //go:build !windows
     2  // +build !windows
     3  
     4  package cli
     5  
     6  import (
     7  	"fmt"
     8  
     9  	"github.com/pyroscope-io/pyroscope/pkg/config"
    10  )
    11  
    12  func StartAgent(_ *config.Agent) error {
    13  	return fmt.Errorf("agent mode is supported only on Windows")
    14  }