summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon/sysmon_envsys_events.c
AgeCommit message (Expand)Author
2021-12-31sysmon(9): Fix callout/thread synchronization.riastradh
2021-12-31sysmon: Delete trailing whitespace. No functional change intended.riastradh
2017-09-11Improve tracking of the state of an event's callout, and protect allpgoyette
2017-09-06 Fixes a problem that some driver(e.g. acpitz(4) or coretemp(5)) whichmsaitoh
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs
2015-10-15As proposed inbouyer
2015-06-23Separate the two conditions for the KASSERT, so we can tell whichpgoyette
2015-06-23Fix the KASSERT - we want to make sure that _both_ pointers are non-NULL,pgoyette
2015-04-18use unsigned type for flag bits.mlelstv
2015-03-14Add a counter of busy events and stop enqueueing more work if a device is busy.hannken
2014-11-23Pull workqueue_destroy out of sme->sme_mtxozaki-r
2014-11-22Replace callout_stop with callout_haltozaki-r
2014-11-22Kill sme_callout_mtx and use sme_mtx insteadozaki-r
2013-09-15Remove unused variablemartin
2013-01-23Fix spelling, grammar, typos.mbalmer
2012-12-14Constifypgoyette
2012-12-11Replace a couple of many-line #define with equivalent code loops.pgoyette
2012-10-31in sme_battery_check():macallan
2012-09-06Remove (commented-out) definitions for debugging - thanks to macallan@pgoyette
2012-08-271. Enable use of FMONSTCHANGED events for INDICATOR sensorspgoyette
2012-07-19If previously there was only a dummy event entry (to force refresh forpgoyette
2012-07-18Release the mutex before taking a quick exit.pgoyette
2012-07-16Extend previous changes so that even sensors which don't use a refresh()pgoyette
2012-07-15If a sensor is flagged as capable of providing rnd(4) with entropy,pgoyette
2012-07-15When unregistering a sensor device, make sure we unregister and deletepgoyette
2011-06-08Restrict limit monitoring for Indicator sensors as well as forpgoyette
2010-12-30When the user updates the sensor device's refresh timer, reset thepgoyette
2010-12-15Extract searching of description tables into a single function, ratherpgoyette
2010-12-08When removing properties (as in envstat -S), clear the flags that trackpgoyette
2010-12-06Make this compile when "options ENVSYS_OBJECTS_DEBUG" is defined.pgoyette
2010-09-221. Don't try to call the driver's get_limits routine if it doesn't havepgoyette
2010-04-10When removing sensor properties with envstat -S, ensure that driverspgoyette
2010-04-01Permit creation of an event-monitor for alarm limits even if the limitspgoyette
2010-03-24Fix ENVSYS_DEBUG build.njoly
2010-03-24In sysmon_envsys_sensor_event(), permit delivery of all events for thepgoyette
2010-03-23Additional info in DPRINTF to help debugging effortspgoyette
2010-03-19Modify previous commit. The routine to deliver events is intended to bepgoyette
2010-03-19Separate event delivery from polling and limit evaluation inpgoyette
2010-02-18If we're going to valdate things, at least do it correctly.pgoyette
2010-02-15For symmetry, allow warning and critical upper-limits for capacitypgoyette
2010-02-14Replace large amount of replicated code with a macro to improve readability.pgoyette
2010-02-14Remove the flags member of the limits structure. Its value was onlypgoyette
2010-02-14Correct one more instance of checking flags in the wrong place.pgoyette
2010-02-13When checking current sensor value vs limits, check the correct set ofpgoyette
2010-02-05Fix a typo in one DPRINTF (s/edata->des/edata->desc/).jruoho
2010-02-04If the AC adapter is flagged with SME_DISABLE_REFRESH, don't try to callpgoyette
2010-01-30Validate limit-based monitoring in one place, so we can apply thepgoyette
2010-01-26Move the limits out of the event structure and into the main sensor.pgoyette
2010-01-18If no limits are exceeded, make sure we set state to SVALIDpgoyette
2010-01-02Flags for existence of limit values need to be propagated to thepgoyette