All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe][PATCH] lmbench: Install cache command and fix typos in manual page
@ 2021-02-23  7:36 Xu, Yanfei
  0 siblings, 0 replies; 4+ messages in thread
From: Xu, Yanfei @ 2021-02-23  7:36 UTC (permalink / raw)
  To: openembedded-devel

From: Yanfei Xu <yanfei.xu@windriver.com>

Cache command was omitted when install, now add it.
Fix a few typos in lat_unix_connect manual page.

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
---
 ...ypos-in-lat_unix_connect-manual-page.patch | 30 +++++++++++++++++++
 .../lmbench/lmbench_3.0-a9.bb                 |  2 ++
 2 files changed, 32 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch

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 000000000..d49dac5b2
--- /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 @@
+From 9bf2b363c5173c03adecf366f116415dbc559017 Mon Sep 17 00:00:00 2001
+From: Yanfei Xu <yanfei.xu@windriver.com>
+Date: Tue, 23 Feb 2021 10:54:26 +0800
+Subject: [PATCH 1/2] doc: Fix typos in lat_unix_connect manual page
+
+Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
+---
+ doc/lat_unix_connect.8 | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/doc/lat_unix_connect.8 b/doc/lat_unix_connect.8
+index b42e9a4..5ab1a51 100644
+--- a/doc/lat_unix_connect.8
++++ b/doc/lat_unix_connect.8
+@@ -25,9 +25,9 @@ is a client/server program that measures interprocess
+ connection latencies.   The benchmark times the creation and connection of
+ an AF_UNIX socket to a local server.  
+ .LP
+-.B lat_connect
+-has three forms of usage: as a server (-s), as a client (lat_connect),
+-and as a shutdown (lat_connect -S).
++.B lat_unix_connect
++has three forms of usage: as a server (-s), as a client (lat_unix_connect),
++and as a shutdown (lat_unix_connect -S).
+ .SH OUTPUT
+ The reported time is in microseconds per connection.
+ Output format is like so
+-- 
+2.27.0
+
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 21e81ecf2..e9d1067d4 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 \
            file://0001-lmbench-Point-webpage-lm-to-target-directory.patch \
            file://0001-doc-Fix-typos-in-manual-pages.patch \
            file://0001-lat_fifo-Fix-cleanup-sequence.patch \
+           file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \
            "
 SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
 SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
@@ -73,6 +74,7 @@ do_install () {
             -C src install
     mv ${D}${bindir}/line ${D}${bindir}/lm_line
     install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
+    install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
     sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
            -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
            ${D}${bindir}/lmbench-run
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [oe][PATCH] lmbench: Install cache command and fix typos in manual page
  2021-02-27 15:24   ` Khem Raj
@ 2021-02-27 17:58     ` Xu, Yanfei
  0 siblings, 0 replies; 4+ messages in thread
From: Xu, Yanfei @ 2021-02-27 17:58 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel



On 2/27/21 11:24 PM, Khem Raj wrote:
> [Please note: This e-mail is from an EXTERNAL e-mail address]
> 
> Hi Yanfei
> 
> Please update your copy of master
> Its already applied in master. I usually answer if there is something
> wrong with the patch.
> 
Got it. Many thanks.

//Yanfei
> On Sat, Feb 27, 2021 at 2:18 AM Xu, Yanfei <yanfei.xu@windriver.com> wrote:
>>
>> Ping.
>>
>> Yanfei
>>
>> On 2/23/21 3:36 PM, Xu, Yanfei wrote:
>>> From: Yanfei Xu <yanfei.xu@windriver.com>
>>>
>>> Cache command was omitted when install, now add it.
>>> Fix a few typos in lat_unix_connect manual page.
>>>
>>> Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
>>> ---
>>>    ...ypos-in-lat_unix_connect-manual-page.patch | 30 +++++++++++++++++++
>>>    .../lmbench/lmbench_3.0-a9.bb                 |  2 ++
>>>    2 files changed, 32 insertions(+)
>>>    create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch
>>>
>>> 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 000000000..d49dac5b2
>>> --- /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 @@
>>> +From 9bf2b363c5173c03adecf366f116415dbc559017 Mon Sep 17 00:00:00 2001
>>> +From: Yanfei Xu <yanfei.xu@windriver.com>
>>> +Date: Tue, 23 Feb 2021 10:54:26 +0800
>>> +Subject: [PATCH 1/2] doc: Fix typos in lat_unix_connect manual page
>>> +
>>> +Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
>>> +---
>>> + doc/lat_unix_connect.8 | 6 +++---
>>> + 1 file changed, 3 insertions(+), 3 deletions(-)
>>> +
>>> +diff --git a/doc/lat_unix_connect.8 b/doc/lat_unix_connect.8
>>> +index b42e9a4..5ab1a51 100644
>>> +--- a/doc/lat_unix_connect.8
>>> ++++ b/doc/lat_unix_connect.8
>>> +@@ -25,9 +25,9 @@ is a client/server program that measures interprocess
>>> + connection latencies.   The benchmark times the creation and connection of
>>> + an AF_UNIX socket to a local server.
>>> + .LP
>>> +-.B lat_connect
>>> +-has three forms of usage: as a server (-s), as a client (lat_connect),
>>> +-and as a shutdown (lat_connect -S).
>>> ++.B lat_unix_connect
>>> ++has three forms of usage: as a server (-s), as a client (lat_unix_connect),
>>> ++and as a shutdown (lat_unix_connect -S).
>>> + .SH OUTPUT
>>> + The reported time is in microseconds per connection.
>>> + Output format is like so
>>> +--
>>> +2.27.0
>>> +
>>> 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 21e81ecf2..e9d1067d4 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 \
>>>               file://0001-lmbench-Point-webpage-lm-to-target-directory.patch \
>>>               file://0001-doc-Fix-typos-in-manual-pages.patch \
>>>               file://0001-lat_fifo-Fix-cleanup-sequence.patch \
>>> +           file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \
>>>               "
>>>    SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
>>>    SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
>>> @@ -73,6 +74,7 @@ do_install () {
>>>                -C src install
>>>        mv ${D}${bindir}/line ${D}${bindir}/lm_line
>>>        install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
>>> +    install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
>>>        sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
>>>               -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
>>>               ${D}${bindir}/lmbench-run
>>>
>>>
>>>
>>>
>>>
>>
>> 
>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [oe][PATCH] lmbench: Install cache command and fix typos in manual page
  2021-02-27 10:18 ` Xu, Yanfei
@ 2021-02-27 15:24   ` Khem Raj
  2021-02-27 17:58     ` Xu, Yanfei
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2021-02-27 15:24 UTC (permalink / raw)
  To: Xu, Yanfei; +Cc: openembeded-devel

Hi Yanfei

Please update your copy of master
Its already applied in master. I usually answer if there is something
wrong with the patch.

On Sat, Feb 27, 2021 at 2:18 AM Xu, Yanfei <yanfei.xu@windriver.com> wrote:
>
> Ping.
>
> Yanfei
>
> On 2/23/21 3:36 PM, Xu, Yanfei wrote:
> > From: Yanfei Xu <yanfei.xu@windriver.com>
> >
> > Cache command was omitted when install, now add it.
> > Fix a few typos in lat_unix_connect manual page.
> >
> > Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
> > ---
> >   ...ypos-in-lat_unix_connect-manual-page.patch | 30 +++++++++++++++++++
> >   .../lmbench/lmbench_3.0-a9.bb                 |  2 ++
> >   2 files changed, 32 insertions(+)
> >   create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch
> >
> > 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 000000000..d49dac5b2
> > --- /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 @@
> > +From 9bf2b363c5173c03adecf366f116415dbc559017 Mon Sep 17 00:00:00 2001
> > +From: Yanfei Xu <yanfei.xu@windriver.com>
> > +Date: Tue, 23 Feb 2021 10:54:26 +0800
> > +Subject: [PATCH 1/2] doc: Fix typos in lat_unix_connect manual page
> > +
> > +Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
> > +---
> > + doc/lat_unix_connect.8 | 6 +++---
> > + 1 file changed, 3 insertions(+), 3 deletions(-)
> > +
> > +diff --git a/doc/lat_unix_connect.8 b/doc/lat_unix_connect.8
> > +index b42e9a4..5ab1a51 100644
> > +--- a/doc/lat_unix_connect.8
> > ++++ b/doc/lat_unix_connect.8
> > +@@ -25,9 +25,9 @@ is a client/server program that measures interprocess
> > + connection latencies.   The benchmark times the creation and connection of
> > + an AF_UNIX socket to a local server.
> > + .LP
> > +-.B lat_connect
> > +-has three forms of usage: as a server (-s), as a client (lat_connect),
> > +-and as a shutdown (lat_connect -S).
> > ++.B lat_unix_connect
> > ++has three forms of usage: as a server (-s), as a client (lat_unix_connect),
> > ++and as a shutdown (lat_unix_connect -S).
> > + .SH OUTPUT
> > + The reported time is in microseconds per connection.
> > + Output format is like so
> > +--
> > +2.27.0
> > +
> > 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 21e81ecf2..e9d1067d4 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 \
> >              file://0001-lmbench-Point-webpage-lm-to-target-directory.patch \
> >              file://0001-doc-Fix-typos-in-manual-pages.patch \
> >              file://0001-lat_fifo-Fix-cleanup-sequence.patch \
> > +           file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \
> >              "
> >   SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
> >   SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
> > @@ -73,6 +74,7 @@ do_install () {
> >               -C src install
> >       mv ${D}${bindir}/line ${D}${bindir}/lm_line
> >       install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
> > +    install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
> >       sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
> >              -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
> >              ${D}${bindir}/lmbench-run
> >
> >
> >
> >
> >
>
> 
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [oe][PATCH] lmbench: Install cache command and fix typos in manual page
       [not found] <166650501510A6E8.6890@lists.openembedded.org>
@ 2021-02-27 10:18 ` Xu, Yanfei
  2021-02-27 15:24   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Xu, Yanfei @ 2021-02-27 10:18 UTC (permalink / raw)
  To: openembedded-devel

Ping.

Yanfei

On 2/23/21 3:36 PM, Xu, Yanfei wrote:
> From: Yanfei Xu <yanfei.xu@windriver.com>
> 
> Cache command was omitted when install, now add it.
> Fix a few typos in lat_unix_connect manual page.
> 
> Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
> ---
>   ...ypos-in-lat_unix_connect-manual-page.patch | 30 +++++++++++++++++++
>   .../lmbench/lmbench_3.0-a9.bb                 |  2 ++
>   2 files changed, 32 insertions(+)
>   create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch
> 
> 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 000000000..d49dac5b2
> --- /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 @@
> +From 9bf2b363c5173c03adecf366f116415dbc559017 Mon Sep 17 00:00:00 2001
> +From: Yanfei Xu <yanfei.xu@windriver.com>
> +Date: Tue, 23 Feb 2021 10:54:26 +0800
> +Subject: [PATCH 1/2] doc: Fix typos in lat_unix_connect manual page
> +
> +Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
> +---
> + doc/lat_unix_connect.8 | 6 +++---
> + 1 file changed, 3 insertions(+), 3 deletions(-)
> +
> +diff --git a/doc/lat_unix_connect.8 b/doc/lat_unix_connect.8
> +index b42e9a4..5ab1a51 100644
> +--- a/doc/lat_unix_connect.8
> ++++ b/doc/lat_unix_connect.8
> +@@ -25,9 +25,9 @@ is a client/server program that measures interprocess
> + connection latencies.   The benchmark times the creation and connection of
> + an AF_UNIX socket to a local server.
> + .LP
> +-.B lat_connect
> +-has three forms of usage: as a server (-s), as a client (lat_connect),
> +-and as a shutdown (lat_connect -S).
> ++.B lat_unix_connect
> ++has three forms of usage: as a server (-s), as a client (lat_unix_connect),
> ++and as a shutdown (lat_unix_connect -S).
> + .SH OUTPUT
> + The reported time is in microseconds per connection.
> + Output format is like so
> +--
> +2.27.0
> +
> 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 21e81ecf2..e9d1067d4 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 \
>              file://0001-lmbench-Point-webpage-lm-to-target-directory.patch \
>              file://0001-doc-Fix-typos-in-manual-pages.patch \
>              file://0001-lat_fifo-Fix-cleanup-sequence.patch \
> +           file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \
>              "
>   SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
>   SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
> @@ -73,6 +74,7 @@ do_install () {
>               -C src install
>       mv ${D}${bindir}/line ${D}${bindir}/lm_line
>       install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
> +    install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
>       sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
>              -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
>              ${D}${bindir}/lmbench-run
> 
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-27 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23  7:36 [oe][PATCH] lmbench: Install cache command and fix typos in manual page Xu, Yanfei
     [not found] <166650501510A6E8.6890@lists.openembedded.org>
2021-02-27 10:18 ` Xu, Yanfei
2021-02-27 15:24   ` Khem Raj
2021-02-27 17:58     ` Xu, Yanfei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.