Home | History | Annotate | Download | only in sysmon
History log of /src/sys/dev/sysmon/files.sysmon
RevisionDateAuthorComments
 1.15  24-Apr-2015  pgoyette Update configuration definitions for new sysmon
 1.14  06-Sep-2012  macallan branches: 1.14.2; 1.14.16;
defflag debug #defines
 1.13  19-Oct-2010  pgoyette branches: 1.13.8;
Add a new software-only sensor device. This is intended for use as a
kernel module, and can be helpful to generate sysmon_envsys events
when creating/modifying powerd scripts. This will also be used in an
upcoming series of atf tests for sysmon_envsys itself.
 1.12  22-Jul-2010  pgoyette Convert swwdog(4) from a simple defpseudo device to a defpseudodev so
that we can attach a power management handler. The handler prevents
a suspend if the watchdog is active, to be consistent with other
watchdog drivers.

As discussed on tech-kern.
 1.11  30-Jan-2010  pooka branches: 1.11.2; 1.11.4;
Make swwdog use no-needs-count. As the manpage says, there can be only one.
 1.10  04-Sep-2007  xtraeme branches: 1.10.24;
- Remove ENVSYS_GSTRING and the genstr member from envsys_data_t.
(at least three or four persons were against it).
- Add a new sensor type: ENVSYS_BATTERY_STATE, this uses value_cur
and some predefined values in a static table, like ENVSYS_DRIVE.
- Move all static tables to sysmon_envsys_tables.c and use a function
on it to retrieve a pointer to the struct of the specified type.
- Rename the ENVSYS_FMONDRVSTCHANGED to ENVSYS_FMONSTCHANGED and make
it generic for Battery state and drive sensors (this flag enables
monitoring on these sensors when state has been changed).
- Update sysmon_penvsys_event() to report state changes on
ENVSYS_BATTERY_STATE sensors and remove other type of events, with
PENVSYS_EVENT_STATE_CHANGED they are not necessary anymore.
 1.9  02-Sep-2007  xtraeme Remove unused (and inexistent) flag.
 1.8  21-Jul-2007  xtraeme branches: 1.8.4; 1.8.6; 1.8.8;
Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize
them in init_main.c via sysmon_task_queue_preinit().

Reviewed and ok by ad@.
 1.7  20-Jul-2007  xtraeme Move the functions to create/update objects in a dictionary into its
own file, and DO NOT MAKE THEM inline AS IT IS WRONG.

Looks like I'm very stupid and I didn't know what inline meant.
Thank you very much YAMAMOTO Takashi.
 1.6  01-Jul-2007  xtraeme branches: 1.6.2;
Imported envsys 2, a brief description of the new features:
(Part 1: API)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
sysmon_power(9) and powerd(8), that means there is no 32 bytes event
size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
 1.5  11-Dec-2005  christos branches: 1.5.30; 1.5.32;
merge ktrace-lwp.
 1.4  09-Jan-2005  smb branches: 1.4.10;
Add a software watchdog timer facility. Because this slightly
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.

The code was reviewed by simonb@.
 1.3  20-Apr-2003  thorpej branches: 1.3.2;
Generic "task queue" for sysmon back-ends. This provides a thread
context for callbacks that require it in order to handle sysmon-related
events.

Adapted from the "OsdSchedule" bits of the ACPI code.
 1.2  17-Apr-2003  thorpej Start at a power management framework for sysmon. Right now we just
provide some VERY basic support for power/sleep buttons and lid switches;
if someone presses the power button, shut down the system semi-gracefully.

Eventually, we will send events for all types of button/lid events down
to a userland power management daemon, which will be able to define a
separate policy for each button/switch.
 1.1  16-Apr-2002  thorpej branches: 1.1.6; 1.1.8;
Move sysmon configuration definitions to dev/sysmon/files.sysmon.
 1.1.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1  16-Apr-2002  jdolecek file files.sysmon was added on branch kqueue on 2002-06-23 17:48:55 +0000
 1.1.6.2  20-Jun-2002  nathanw Catch up to -current.
 1.1.6.1  16-Apr-2002  nathanw file files.sysmon was added on branch nathanw_sa on 2002-06-20 03:46:47 +0000
 1.3.2.1  17-Jan-2005  skrll Sync with HEAD.
 1.4.10.2  27-Oct-2007  yamt sync with head.
 1.4.10.1  03-Sep-2007  yamt sync with head.
 1.5.32.1  11-Jul-2007  mjf Sync with head.
 1.5.30.3  09-Oct-2007  ad Sync with head.
 1.5.30.2  20-Aug-2007  ad Sync with HEAD.
 1.5.30.1  15-Jul-2007  ad Sync with head.
 1.6.2.3  10-Sep-2007  skrll Sync with HEAD.
 1.6.2.2  03-Sep-2007  skrll Sync with HEAD.
 1.6.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.8.8.2  21-Jul-2007  xtraeme Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize
them in init_main.c via sysmon_task_queue_preinit().

Reviewed and ok by ad@.
 1.8.8.1  21-Jul-2007  xtraeme file files.sysmon was added on branch matt-mips64 on 2007-07-21 23:15:18 +0000
 1.8.6.1  06-Nov-2007  matt sync with HEAD
 1.8.4.2  02-Oct-2007  joerg Sync with HEAD.
 1.8.4.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.10.24.2  11-Aug-2010  yamt sync with head.
 1.10.24.1  11-Mar-2010  yamt sync with head
 1.11.4.1  05-Mar-2011  rmind sync with head
 1.11.2.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.11.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.13.8.1  30-Oct-2012  yamt sync with head
 1.14.16.1  06-Jun-2015  skrll Sync with HEAD
 1.14.2.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed