code: func (o *DebuggingOptions) AddFlags(fs *pflag.FlagSet) {
  	if o == nil {
  		return
  	}
  
  	fs.BoolVar(&o.EnableProfiling, "profiling", o.EnableProfiling,
  		"Enable profiling via web interface host:port/debug/pprof/")
  	fs.BoolVar(&o.EnableContentionProfiling, "contention-profiling", o.EnableContentionProfiling,
  		"Enable lock contention profiling, if profiling is enabled")
  }
docs: // AddFlags adds flags related to debugging for controller manager to the specified FlagSet.