summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch30
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb2
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch b/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch
new file mode 100644
index 0000000000..d49dac5b20
--- /dev/null
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch
@@ -0,0 +1,30 @@
1From 9bf2b363c5173c03adecf366f116415dbc559017 Mon Sep 17 00:00:00 2001
2From: Yanfei Xu <yanfei.xu@windriver.com>
3Date: Tue, 23 Feb 2021 10:54:26 +0800
4Subject: [PATCH 1/2] doc: Fix typos in lat_unix_connect manual page
5
6Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
7---
8 doc/lat_unix_connect.8 | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
10
11diff --git a/doc/lat_unix_connect.8 b/doc/lat_unix_connect.8
12index b42e9a4..5ab1a51 100644
13--- a/doc/lat_unix_connect.8
14+++ b/doc/lat_unix_connect.8
15@@ -25,9 +25,9 @@ is a client/server program that measures interprocess
16 connection latencies. The benchmark times the creation and connection of
17 an AF_UNIX socket to a local server.
18 .LP
19-.B lat_connect
20-has three forms of usage: as a server (-s), as a client (lat_connect),
21-and as a shutdown (lat_connect -S).
22+.B lat_unix_connect
23+has three forms of usage: as a server (-s), as a client (lat_unix_connect),
24+and as a shutdown (lat_unix_connect -S).
25 .SH OUTPUT
26 The reported time is in microseconds per connection.
27 Output format is like so
28--
292.27.0
30
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 21e81ecf2b..e9d1067d43 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -29,6 +29,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
29 file://0001-lmbench-Point-webpage-lm-to-target-directory.patch \ 29 file://0001-lmbench-Point-webpage-lm-to-target-directory.patch \
30 file://0001-doc-Fix-typos-in-manual-pages.patch \ 30 file://0001-doc-Fix-typos-in-manual-pages.patch \
31 file://0001-lat_fifo-Fix-cleanup-sequence.patch \ 31 file://0001-lat_fifo-Fix-cleanup-sequence.patch \
32 file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \
32 " 33 "
33SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf" 34SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
34SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551" 35SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
@@ -73,6 +74,7 @@ do_install () {
73 -C src install 74 -C src install
74 mv ${D}${bindir}/line ${D}${bindir}/lm_line 75 mv ${D}${bindir}/line ${D}${bindir}/lm_line
75 install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ 76 install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
77 install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
76 sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \ 78 sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
77 -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ 79 -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
78 ${D}${bindir}/lmbench-run 80 ${D}${bindir}/lmbench-run