Skip to contentSkip to conversation

netperf: add "intervals" and "histogram" PACKAGECONFIGs

PATCH In review Denys Dmytriyenko 2 participants 3 messages Dec 10, 2019 – Dec 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netperf: add "intervals" and "histogram" PACKAGECONFIGs

From: Denys Dmytriyenko <[email protected]>

From https://hewlettpackard.github.io/netperf/doc/netperf.html:

Other optional configure-time settings include --enable-intervals=yes to give netperf the ability to “pace” its _STREAM tests and --enable-histogram=yes to have netperf keep a histogram of interesting times.

---
 meta-networking/recipes-support/netperf/netperf_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/netperf/netperf_git.bb +2 -0
index 8921ea7..f1f62df 100644
@@ -31,6 +31,8 @@ CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,"
+PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,,"
+PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,,"
 
 # autotools.bbclass attends to include m4 files with path depth <= 2 by
 # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
Signature · 1 line
2.7.4
#1 lore raw
Quoted 19 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

From https://hewlettpackard.github.io/netperf/doc/netperf.html:

Other optional configure-time settings include --enable-intervals=yes to give netperf the ability to “pace” its _STREAM tests and --enable-histogram=yes to have netperf keep a histogram of interesting times.

---
 meta-networking/recipes-support/netperf/netperf_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/netperf/netperf_git.bb +0 -0
index 8921ea7..f1f62df 100644

meta-networking/recipes-support/netperf/netperf_git.bb CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \ · line 36

Quoted 6 lines
meta-networking/recipes-support/netperf/netperf_git.bb +2 -0
@@ -31,6 +31,8 @@ CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,"
+PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,,"
+PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,,"
 

now that they are explicitly disabled, Does it change the defaults ?

Quoted 10 lines
meta-networking/recipes-support/netperf/netperf_git.bb +0 -1
 # autotools.bbclass attends to include m4 files with path depth <= 2 by
 # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 21 lines · Khem Raj
Quoted 20 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

From https://hewlettpackard.github.io/netperf/doc/netperf.html:

Other optional configure-time settings include --enable-intervals=yes to give netperf the ability to “pace” its _STREAM tests and --enable-histogram=yes to have netperf keep a histogram of interesting times.

---
 meta-networking/recipes-support/netperf/netperf_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/netperf/netperf_git.bb +0 -0
index 8921ea7..f1f62df 100644
@@ -31,6 +31,8 @@ CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \
 
Quoted 7 lines

meta-networking/recipes-support/netperf/netperf_git.bb CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', \ · line 36

Quoted 5 lines
meta-networking/recipes-support/netperf/netperf_git.bb +2 -0
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[sctp] = "--enable-sctp,--disable-sctp,lksctp-tools,"
+PACKAGECONFIG[intervals] = "--enable-intervals,--disable-intervals,,"
+PACKAGECONFIG[histogram] = "--enable-histogram,--disable-histogram,,"
 

now that they are explicitly disabled, Does it change the defaults ?

I don't know if there were any automatic checks under the hood to enable them by default (I don't believe so), but I needed to explicitly enable them in few of my builds to get them in.

Signature · 1 line
Denys
Quoted 11 lines
Quoted 10 lines
meta-networking/recipes-support/netperf/netperf_git.bb +0 -1
 # autotools.bbclass attends to include m4 files with path depth <= 2 by 
 # "find ${S} -maxdepth 2 -name \*.m4", so move m4 files from m4/m4.
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel