code: func (p *Profile) RemoveUninteresting() error {
  	var keep, drop *regexp.Regexp
  	var err error
  
  	if p.DropFrames != "" {
  		if drop, err = regexp.Compile("^(" + p.DropFrames + ")$"); err != nil {
  			return fmt.Errorf("failed to compile regexp %s: %v", p.DropFrames, err)
  		}
  		if p.KeepFrames != "" {
  			if keep, err = regexp.Compile("^(" + p.KeepFrames + ")$"); err != nil {
  				return fmt.Errorf("failed to compile regexp %s: %v", p.KeepFrames, err)
  			}
  		}
  		p.Prune(drop, keep)
  	}
  	return nil
  }
docs: // RemoveUninteresting prunes and elides profiles using built-in
  // tables of uninteresting function names.