Bug 203752 - [patch] benchmarks/netperf: Fix support of cpu utilization measurements on FreeBSD-10.x
Summary: [patch] benchmarks/netperf: Fix support of cpu utilization measurements on Fr...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Marius Strobl
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-10-13 21:13 UTC by Serhii (Sergey) Kozlov
Modified: 2015-10-20 20:46 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (marius)


Attachments
The Patch (1.49 KB, patch)
2015-10-13 21:13 UTC, Serhii (Sergey) Kozlov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serhii (Sergey) Kozlov freebsd_committer freebsd_triage 2015-10-13 21:13:37 UTC
Created attachment 162000 [details]
The Patch

configure scripts auto-detects the sysctl method of doing cpu utilization measurements for FreeBSD. The auto-detection mechanism does work for FreeBSD 4-9, but not 10 or 11. The provided patch fixes the problem.

Bump the port revision to build new package which works for FreeBSD 10-11.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-10-20 20:43:48 UTC
A commit references this bug:

Author: marius
Date: Tue Oct 20 20:43:44 UTC 2015
New revision: 399880
URL: https://svnweb.freebsd.org/changeset/ports/399880

Log:
  - Update to 2.7.0.
  - Add an EXAMPLES knob.
  - Unbreak CPU utilization measurement support for FreeBSD >= 10 [1], unbreak
    SCTP support for FreeBSD >= 10.

  PR:	203752 [1]

Changes:
  head/benchmarks/netperf/Makefile
  head/benchmarks/netperf/distinfo
  head/benchmarks/netperf/files/patch-bloat.sh
  head/benchmarks/netperf/files/patch-configure
  head/benchmarks/netperf/files/patch-netcpu_sysctl.c
  head/benchmarks/netperf/files/patch-nettest_unix.c
  head/benchmarks/netperf/files/patch-runemomni.sh
  head/benchmarks/netperf/files/patch-runemomniagg2.sh
  head/benchmarks/netperf/files/patch-runemomniaggdemo.sh
  head/benchmarks/netperf/pkg-plist