func SystemProbeEnabledModules() ([]string, error) {
	sysprobe, err := net.GetRemoteSystemProbeUtil()
	if err != nil {
		return nil, fmt.Errorf("system-probe not initialized: %s", err)
	}

	stats, err := sysprobe.GetStats()
	if err != nil {
		return nil, err
	}

	modules := make([]string, 0, len(stats))
	for moduleName := range stats {
		modules = append(modules, moduleName)
	}

	return modules, nil
}
// SystemProbeEnabledModules returns a list of all system-probe modules that are running
SystemProbeEnabledModules returns a list of all system-probe modules that are running
// SystemProbeEnabledModules returns a list of all system - probe modules that are running
func SystemProbeEnabledModules() ([]string, error) {
	sysprobe, err := net.GetRemoteSystemProbeUtil()
	if err != nil {
		return nil, fmt.Errorf("system-probe not initialized: %s", err)
	}
	stats, err := sysprobe.GetStats()
	if err != nil {
		return nil, err
	}
	modules := make([]string, 0, len(stats))
	for moduleName := range stats {
		modules = append(modules, moduleName)
	}
	return modules, nil
}
func SystemProbeEnabledModules ( ) ( [ ] string , error ) { sysprobe , err := net . GetRemoteSystemProbeUtil ( ) if err != nil { return nil , fmt . Errorf ( " " , err ) } stats , err := sysprobe . GetStats ( ) if err != nil { return nil , err } modules := make ( [ ] string , 0 , len ( stats ) ) for moduleName := range stats { modules = append ( modules , moduleName ) } return modules , nil }
SystemProbeEnabledModules returns a list of all system-probe modules that are running
SystemProbeEnabledModules returns a list of all system - probe modules that are running