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

     1  package util
     2  
     3  import (
     4  	"path/filepath"
     5  )
     6  
     7  // Retrieve pyroscope data directory
     8  func DataDirectory() string {
     9  	return filepath.Join(dataBaseDirectory(), "pyroscope")
    10  }