// AvailableHardwareEvents returns the list of available hardware events.
AvailableHardwareEvents returns the list of available hardware events.
// AvailableHardwareEvents returns the list of available hardware events .
func AvailableHardwareEvents() []string {
	events := make([]string, 0, len(hardwareEvents))
	for evn, ev := range hardwareEvents {
		if !IsAvailable(ev) {
			continue
		}
		events = append(events, evn)
	}
	sort.Strings(events)
	return events
}
func AvailableHardwareEvents ( ) [ ] string { events := make ( [ ] string , 0 , len ( hardwareEvents ) ) for evn , ev := range hardwareEvents { if ! IsAvailable ( ev ) { continue } events = append ( events , evn ) } sort . Strings ( events ) return events }
AvailableHardwareEvents returns the list of available hardware events.
AvailableHardwareEvents returns the list of available hardware events .