Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-29 Thread Kim Phillips
On Thu, 28 Jun 2018 22:36:36 +0200 Michael Petlan wrote: > On Thu, 21 Jun 2018, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jun 21, 2018 at 11:19:15AM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: > >>> On Wed, 20 Jun 2018

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-29 Thread Kim Phillips
On Thu, 28 Jun 2018 22:36:36 +0200 Michael Petlan wrote: > On Thu, 21 Jun 2018, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jun 21, 2018 at 11:19:15AM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: > >>> On Wed, 20 Jun 2018

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-29 Thread Kim Phillips
On Fri, 29 Jun 2018 12:21:55 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 21, 2018 at 03:32:50PM -0500, Kim Phillips escreveu: > > On Thu, 21 Jun 2018 12:18:00 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Would be good if we had some utility that given a two files, one with > > >

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-29 Thread Kim Phillips
On Fri, 29 Jun 2018 12:21:55 -0300 Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 21, 2018 at 03:32:50PM -0500, Kim Phillips escreveu: > > On Thu, 21 Jun 2018 12:18:00 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Would be good if we had some utility that given a two files, one with > > >

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 21, 2018 at 03:32:50PM -0500, Kim Phillips escreveu: > On Thu, 21 Jun 2018 12:18:00 -0300 > Arnaldo Carvalho de Melo wrote: > > > Would be good if we had some utility that given a two files, one with > > regexps, could tell if, line by line, those expressions matched, better, > > one

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 21, 2018 at 03:32:50PM -0500, Kim Phillips escreveu: > On Thu, 21 Jun 2018 12:18:00 -0300 > Arnaldo Carvalho de Melo wrote: > > > Would be good if we had some utility that given a two files, one with > > regexps, could tell if, line by line, those expressions matched, better, > > one

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-28 Thread Michael Petlan
On Thu, 21 Jun 2018, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 21, 2018 at 11:19:15AM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: On Wed, 20 Jun 2018 10:46:22 -0300 Arnaldo Carvalho de Melo wrote: [...] Would be good if we

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-28 Thread Michael Petlan
On Thu, 21 Jun 2018, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 21, 2018 at 11:19:15AM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: On Wed, 20 Jun 2018 10:46:22 -0300 Arnaldo Carvalho de Melo wrote: [...] Would be good if we

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-21 Thread Kim Phillips
On Thu, 21 Jun 2018 12:18:00 -0300 Arnaldo Carvalho de Melo wrote: > Would be good if we had some utility that given a two files, one with > regexps, could tell if, line by line, those expressions matched, better, > one that is present in all these OSes... I didn't find any, but given the

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-21 Thread Kim Phillips
On Thu, 21 Jun 2018 12:18:00 -0300 Arnaldo Carvalho de Melo wrote: > Would be good if we had some utility that given a two files, one with > regexps, could tell if, line by line, those expressions matched, better, > one that is present in all these OSes... I didn't find any, but given the

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-21 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 21, 2018 at 11:19:15AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: > > On Wed, 20 Jun 2018 10:46:22 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: >

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-21 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 21, 2018 at 11:19:15AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: > > On Wed, 20 Jun 2018 10:46:22 -0300 > > Arnaldo Carvalho de Melo wrote: > > > > > Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: >

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-21 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: > On Wed, 20 Jun 2018 10:46:22 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: > > > Debian based systems such as Ubuntu have dash as their default shell. > > > Even if

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-21 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 20, 2018 at 07:45:46PM -0500, Kim Phillips escreveu: > On Wed, 20 Jun 2018 10:46:22 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: > > > Debian based systems such as Ubuntu have dash as their default shell. > > > Even if

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-20 Thread Kim Phillips
On Wed, 20 Jun 2018 10:46:22 -0300 Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: > > Debian based systems such as Ubuntu have dash as their default shell. > > Even if the normal or root user's shell is bash, certain scripts still > > call

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-20 Thread Kim Phillips
On Wed, 20 Jun 2018 10:46:22 -0300 Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: > > Debian based systems such as Ubuntu have dash as their default shell. > > Even if the normal or root user's shell is bash, certain scripts still > > call

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-20 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: > Debian based systems such as Ubuntu have dash as their default shell. > Even if the normal or root user's shell is bash, certain scripts still > call /bin/sh, which points to dash, so we fix this perf test by > rewriting it in a

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-20 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 19, 2018 at 06:49:52PM -0500, Kim Phillips escreveu: > Debian based systems such as Ubuntu have dash as their default shell. > Even if the normal or root user's shell is bash, certain scripts still > call /bin/sh, which points to dash, so we fix this perf test by > rewriting it in a

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-20 Thread Thomas-Mich Richter
On 06/20/2018 01:49 AM, Kim Phillips wrote: > Debian based systems such as Ubuntu have dash as their default shell. > Even if the normal or root user's shell is bash, certain scripts still > call /bin/sh, which points to dash, so we fix this perf test by > rewriting it in a more portable way. > >

Re: [PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-20 Thread Thomas-Mich Richter
On 06/20/2018 01:49 AM, Kim Phillips wrote: > Debian based systems such as Ubuntu have dash as their default shell. > Even if the normal or root user's shell is bash, certain scripts still > call /bin/sh, which points to dash, so we fix this perf test by > rewriting it in a more portable way. > >

[PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-19 Thread Kim Phillips
Debian based systems such as Ubuntu have dash as their default shell. Even if the normal or root user's shell is bash, certain scripts still call /bin/sh, which points to dash, so we fix this perf test by rewriting it in a more portable way. BEFORE: $ sudo ./perf test -v 64 64: probe libc's

[PATCH 2/2] perf test shell: make perf inet_pton test more portable

2018-06-19 Thread Kim Phillips
Debian based systems such as Ubuntu have dash as their default shell. Even if the normal or root user's shell is bash, certain scripts still call /bin/sh, which points to dash, so we fix this perf test by rewriting it in a more portable way. BEFORE: $ sudo ./perf test -v 64 64: probe libc's