code: func installFlags(flag plugin.FlagSet) flagsInstalled {
  	f := flagsInstalled{
  		ints:    make(map[string]*int),
  		bools:   make(map[string]*bool),
  		floats:  make(map[string]*float64),
  		strings: make(map[string]*string),
  	}
  	for n, v := range pprofVariables {
  		switch v.kind {
  		case boolKind:
  			if v.group != "" {
  				// Set all radio variables to false to identify conflicts.
  				f.bools[n] = flag.Bool(n, false, v.help)
  			} else {
  				f.bools[n] = flag.Bool(n, v.boolValue(), v.help)
  			}
  		case intKind:
  			f.ints[n] = flag.Int(n, v.intValue(), v.help)
  		case floatKind:
  			f.floats[n] = flag.Float64(n, v.floatValue(), v.help)
  		case stringKind:
  			f.strings[n] = flag.String(n, v.value, v.help)
  		}
  	}
  	return f
  }
docs: // installFlags creates command line flags for pprof variables.