code: func symbolz(source string) string {
  	if url, err := url.Parse(source); err == nil && url.Host != "" {
  		// All paths in the net/http/pprof Go package contain /debug/pprof/
  		if strings.Contains(url.Path, "/debug/pprof/") || hasGperftoolsSuffix(url.Path) {
  			url.Path = path.Clean(url.Path + "/../symbol")
  		} else {
  			url.Path = "/symbolz"
  		}
  		url.RawQuery = ""
  		return url.String()
  	}
  
  	return ""
  }
docs: // symbolz returns the corresponding symbolz source for a profile URL.