After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673146 - procproperties: unbreak on OpenBSD (HZ undefined)
procproperties: unbreak on OpenBSD (HZ undefined)
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: process list
3.4.x
Other OpenBSD
: Normal major
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-30 08:57 UTC by Antoine Jacoutot
Modified: 2012-03-30 10:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
get HZ from sysctl(3) on OpenBSD (1.49 KB, patch)
2012-03-30 08:57 UTC, Antoine Jacoutot
none Details | Review

Description Antoine Jacoutot 2012-03-30 08:57:36 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?
Comment 1 Chris Kühl 2012-03-30 09:40:30 UTC
(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.
Comment 2 Antoine Jacoutot 2012-03-30 10:05:16 UTC
Thanks, commit 94be681c159b56ad42afb13c3e18d59be4422558