summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/lmbench
Commit message (Collapse)AuthorAgeFilesLines
* lmbench: fix Upstream-Status metadata typos in patchMikko Rapeli2018-06-141-1/+1
| | | | | | | Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f5017313a1aac88eef2becd506fcf8d07a425d66) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lmbench: refresh local patches to avoid fuzz warningsDenys Dmytriyenko2018-04-0811-98/+144
| | | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* lmbench: Fix build with muslKhem Raj2017-07-243-1/+112
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: Fix build with hardening flagsKhem Raj2017-07-012-1/+28
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Remove bashismsHe Zhe2016-10-031-1/+3
| | | | | Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: avoid gcc optimize-away multiplicationRoy Li2016-05-102-0/+80
| | | | | | | | Change expression used in do_integer_mul and do_uint64_mul benchmarks so GCC doesn't optimize-away the loops, Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: use bb.utils.contains() instead of base_contains()Ross Burton2016-04-281-1/+1
| | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: add lmbench-exception LICENSEYasir Khan2014-08-281-1/+1
| | | | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Yasir-Khan <yasir_khan@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: remove debianutils from RDEPENDS and add perlJackie Huang2014-08-231-1/+1
| | | | | | | | | | | | | | | - I don't see any evdidence that lmbench needs debianutils to run: debianutils provides: run-parts, tempfile, savelog, which, ischroot, add-shell, installkernel, remove-shell but none of them is used by lmbench scripts and I tested it work fine without debianutils, so remove debianutils from RDEPENDS - Some scripts in lmbench are perl scripts, so add RDEPENDS on perl (no addtional perl module is needed). Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: use BPN instead of PNJackie Huang2014-08-231-2/+2
| | | | | | | | Use BPN instead of PN to fix the dirs in scripts when build with multilib. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: fix doc install failureJackie Huang2014-08-211-1/+1
| | | | | | | | | Fix the failure: cp: cannot create regular file `/usr/share/man/man1/bargraph.1': Permission denied mkdir: cannot create directory `/usr/share/man/man9': Permission denied Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: fix lmbench memory check failureJackie Huang2014-08-212-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | lmbench can't proceed on some targets. The memory check fails because the memory latency of each page is longer then 10us, which is a time limit set in the original memsize.c. The memory latency is very different on different targets due to the hardware and current system load. The targets with slower memory chips or heavy system load need much longer time to read or write the memory. This fix changes the fixed time limit of 10us to a specific value calculated from the runtime target. Also set an upper limit of memory size used for lmbench testing. The memory check sometimes fails if the target has a large amount of memory, for example more than 4G. Signed-off-by: Qingming Su <qingming.su@windriver.com> Signed-off-by: Fupan Li <fupan.li@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: Fix "make html" graph failureJackie Huang2014-08-212-2/+64
| | | | | | | | | | | | | The html-list perl script cannot parse the first line of the result files about the lmbench version. Additional fixes are to make the result's html pages easier to understand. Signed-off-by: Lin Yu <lin.yu@windriver.com> Signed-off-by: Fupan Li <fupan.li@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* bonnie++, lmbench, obex-data-server, samba, sg3-utils: Do not do out-of-tree ↵Khem Raj2014-05-031-1/+1
| | | | | | | | | builds These recipes are not ready yet Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: use base_libdir instead of hardcoded /libTing Liu2014-01-222-0/+33
| | | | | | | | | | | Fix the below QA warning when building 64bit target: | WARNING: QA Issue: lmbench: Files/directories were installed but not | shipped | /usr/lib | /usr/lib/libmbench.a Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: fix the CONFIG path in lmbench-runChristopher Larson2013-12-051-1/+1
| | | | | | | | | | | The 'config' script which gets run returns '../scripts/CONFIG.<machine>', so the current value was '${datadir}/lmbench/../scripts/CONFIG.<machine>', which is obviously not ideal. Remove the $SHAREDIR prefix, as the relative path will work from the scripts dir where lmbench-run runs. With this, we can install a custom CONFIG.qemux86 into ${datadir}/lmbench/scripts/, for example. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: specify configuration for systemd-tmpfiles --updateJonathan Liu2013-09-101-1/+1
| | | | | | | | | | | | | | Running systemd-tmpfiles --update without specifying a configuration file results in all tmpfiles.d configuration files being processed. /usr/lib/tmpfiles.d/systemd.conf creates /run/nologin on boot to prevent non-root users from logging in while the system is booting. If systemd-tmpfiles --update is run after the system has started, it will still create /run/nologin which would prevent non-root users from logging in with the message "System is booting up.". Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: remove /run/lmbench from packageOtavio Salvador2013-07-081-1/+20
| | | | | | | | Create /run/lmbench on startup using populate-volatiles.sh and tmpfiles.d for systemd. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* lmbench: update config scriptChunrong Guo2013-03-022-1/+14
| | | | | | | | | *fix bug that can not find CONFIG file |error: run ./results|./results: line 15: .: CONFIG.p2041rdb: file not found * update CONFIG file path Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: use spaces for indentationMartin Jansa2013-03-021-7/+7
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: fix unpackaged filesMartin Jansa2012-12-111-3/+4
| | | | | | | | | * fixes: lmbench-3.0-a9: lmbench: Files/directories were installed but not shipped /usr/man /usr/lib/lmbench Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lmbench: Add version 3.0-a9 (initial recipe)Noor Ahsan2011-09-015-0/+286
* Imported from oe.dev commit id bac6441118e0b78d55c98afdc108f03b6c655909. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>