CVS log for src/sys/dev/sysmon/sysmon_envsys_util.c
Up to [cvs.NetBSD.org] / src / sys / dev / sysmon
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jun 11 02:39:31 2020 UTC (4 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5
lines
Update for proplib(3) API changes.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jun 8 20:18:13 2020 UTC (4 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Update for proplib(3) API changes.
Revision 1.2.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:34 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.2.10.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.10.1: +3 -7
lines
sync with HEAD
Revision 1.2.12.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:25 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.12.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.12.3: +3 -7
lines
sync with head
Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:55:49 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +3 -7
lines
Sync with HEAD.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:24 2007 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -7
lines
Sync with HEAD.
Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:42 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -7
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 16 08:00:16 2007 UTC (17 years, 2 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
yamt-nfs-mp-base,
yamt-nfs-mp,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-maxphys,
tls-earlyentropy-base,
tls-earlyentropy,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
nick-net80211-sync-base,
nick-net80211-sync,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
matt-premerge-20091211,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
localcount-20160914,
khorben-n900,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-pm-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cube-autoconf-base,
cube-autoconf,
cherry-xenmp-base,
cherry-xenmp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver,
ad-socklock-base1,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -7
lines
Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html
sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).
sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.
The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).
Update all users and documentation to reflect these changes.
Revision 1.2.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:30:20 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +17 -29
lines
sync with HEAD
Revision 1.2.12.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:34:21 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.12.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.12.2: +17 -29
lines
sync with head.
Revision 1.2.14.2: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:48:20 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.2.14.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.14.1: +15 -25
lines
sync with head.
Revision 1.2.8.3: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:42:06 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.2.8.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.2: +17 -29
lines
Sync with head.
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sun Oct 7 13:25:06 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +15 -25
lines
Sync with HEAD.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 7 04:11:16 2007 UTC (17 years, 3 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
vmlocking-base,
jmcneill-base
Branch point for: mjf-devfs,
bouyer-xenamd64
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -25
lines
New changes to support the new configuration file format for
envstat(8) and the envsys framework:
- Modify the ENVSYS_SETDICTIONARY ioctl to support the following
plist structure:
<dict>
<key>foo0</key>
<array>
<dict>
<key>index</key>
<string>sensor0</string>
<key>description</key>
<string>cpu temp</string>
...
Another property for this sensor
...
</dict>
...
Another dictionary for other sensor
...
</array>
...
Another device as above
...
</dict>
Multiple devices with multiple sensors can now be specified, that means
that to set the properties only one copyin(9) is needed now.
- Added the ENVSYS_REMOVEPROPS ioctl, that accepts a boolean object
"envsys-remove-props" and when set to true, all properties that were
set previously by ENVSYS_SETDICTIONARY will be removed. That means that
you can now set multiple critical limits, descriptions and all they
will be removed or changed to its default value (for rfact and
description objects).
- Added the 'index' and 'allow-rfact' objects into the sensor dictionaries,
for better interactivity with userland. To know the position of the
sensor and to know if sensor allows to change the rfact.
- Misc cosmetic changes for consistency.
- Use a two clause license for all my code.
Revision 1.2.14.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:31:32 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -6
lines
sync with head.
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:28:41 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -6
lines
Sync with HEAD.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 24 18:09:17 2007 UTC (17 years, 3 months ago) by plunky
Branches: MAIN
CVS tags: yamt-x86pmap-base2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -6
lines
do not use _nocopy, this string is part of another object that
will be released shortly..
Revision 1.2.12.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:38:50 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.2.12.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.12.1: +167 -0
lines
sync with head.
Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 22:07:05 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.8.1: +167 -0
lines
Sync with HEAD.
Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:46 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +167 -0
lines
Sync with HEAD.
Revision 1.2.16.2: download - view: text, markup, annotated - select for diffs
Sat Jul 21 12:11:28 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: matt-mips64
Diff to: previous 1.2.16.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.16.1: +167 -0
lines
Some fixes for kern/36673 by yamt@:
- sme_register_sensorname: there's no need to handle empty list case.
- 'obj' argument in sme_sensor_upstring and similar functions is useless:
removed the obj argument from the functions, it's handled in the function
itself now.
- check for more errors in sme_make_dictionary() and
sysmon_envsys_createplist().
Revision 1.2.16.1
Sat Jul 21 12:11:27 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.2: +0 -167
lines
file sysmon_envsys_util.c was added on branch matt-mips64 on 2007-07-21 12:11:28 +0000
Revision 1.2.12.1
Sat Jul 21 12:11:27 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.2: +0 -167
lines
file sysmon_envsys_util.c was added on branch yamt-lazymbuf on 2007-09-03 14:38:50 +0000
Revision 1.2.8.1
Sat Jul 21 12:11:27 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
FILE REMOVED
Changes since revision 1.2: +0 -167
lines
file sysmon_envsys_util.c was added on branch vmlocking on 2007-08-20 22:07:05 +0000
Revision 1.2.6.1
Sat Jul 21 12:11:27 2007 UTC (17 years, 5 months ago) by skrll
Branches: nick-csl-alignment
FILE REMOVED
Changes since revision 1.2: +0 -167
lines
file sysmon_envsys_util.c was added on branch nick-csl-alignment on 2007-08-15 13:48:46 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jul 21 12:11:27 2007 UTC (17 years, 5 months ago) by xtraeme
Branches: MAIN
CVS tags: yamt-x86pmap-base,
nick-csl-alignment-base5,
matt-mips64-base,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
yamt-lazymbuf,
vmlocking,
nick-csl-alignment,
matt-mips64,
matt-armv6,
jmcneill-pm
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -10
lines
Some fixes for kern/36673 by yamt@:
- sme_register_sensorname: there's no need to handle empty list case.
- 'obj' argument in sme_sensor_upstring and similar functions is useless:
removed the obj argument from the functions, it's handled in the function
itself now.
- check for more errors in sme_make_dictionary() and
sysmon_envsys_createplist().
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jul 20 14:10:22 2007 UTC (17 years, 6 months ago) by xtraeme
Branches: MAIN
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.
CVSweb <webmaster@jp.NetBSD.org>