code: func profileShortcuts(p *profile.Profile) shortcuts {
  	s := pprofShortcuts
  	// Add shortcuts for sample types
  	for _, st := range p.SampleType {
  		command := fmt.Sprintf("sample_index=%s", st.Type)
  		s[st.Type] = []string{command}
  		s["total_"+st.Type] = []string{"mean=0", command}
  		s["mean_"+st.Type] = []string{"mean=1", command}
  	}
  	return s
  }
docs: // profileShortcuts creates macros for convenience and backward compatibility.