code: func New(quiet bool) *SysInfo {
  	var ops []infoCollector
  	var warnings []string
  	sysInfo := &SysInfo{}
  	cgMounts, err := findCgroupMountpoints()
  	if err != nil {
  		logrus.Warn(err)
  	} else {
  		ops = append(ops, []infoCollector{
  			applyMemoryCgroupInfo,
  			applyCPUCgroupInfo,
  			applyBlkioCgroupInfo,
  			applyCPUSetCgroupInfo,
  			applyPIDSCgroupInfo,
  			applyDevicesCgroupInfo,
  		}...)
  	}
  
  	ops = append(ops, []infoCollector{
  		applyNetworkingInfo,
  		applyAppArmorInfo,
  		applySeccompInfo,
  	}...)
  
  	for _, o := range ops {
  		w := o(sysInfo, cgMounts)
  		warnings = append(warnings, w...)
  	}
  	if !quiet {
  		for _, w := range warnings {
  			logrus.Warn(w)
  		}
  	}
  	return sysInfo
  }
docs: // New returns a new SysInfo, using the filesystem to detect which features
  // the kernel supports. If `quiet` is `false` warnings are printed in logs
  // whenever an error occurs or misconfigurations are present.