GNOME Bugzilla – Bug 673146
procproperties: unbreak on OpenBSD (HZ undefined)
Last modified: 2012-03-30 10:05:16 UTC
Created attachment 210927 [details] [review] get HZ from sysctl(3) on OpenBSD Hi. The asm/param.h header is only found on Linux. On OpenBSD, the HZ tick is not defined in any header but can be retrieved from the running kernel using the sysctl(3) interface. Can I push this?
(In reply to comment #0) > Created an attachment (id=210927) [details] > get HZ from sysctl(3) on OpenBSD > > Hi. > > The asm/param.h header is only found on Linux. > On OpenBSD, the HZ tick is not defined in any header but can be retrieved from > the running kernel using the sysctl(3) interface. > > Can I push this? yes, seems fine.
Thanks, commit 94be681c159b56ad42afb13c3e18d59be4422558