[oe] [meta-networking][PATCH] netperf: add "intervals" and "histogram" PACKAGECONFIGs

Denys Dmytriyenko denis at denix.org
Tue Dec 10 21:51:39 UTC 2019


From: Denys Dmytriyenko <denys at ti.com>

>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.

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 meta-networking/recipes-support/netperf/netperf_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/netperf/netperf_git.bb b/meta-networking/recipes-support/netperf/netperf_git.bb
index 8921ea7..f1f62df 100644
--- a/meta-networking/recipes-support/netperf/netperf_git.bb
+++ b/meta-networking/recipes-support/netperf/netperf_git.bb
@@ -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.
-- 
2.7.4



More information about the Openembedded-devel mailing list