Re: [PATCH] perf test: fix test case probe libc's inet_pton on s390x

2017-11-14 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 14, 2017 at 02:55:48PM +0100, Thomas-Mich Richter escreveu: > On 11/14/2017 02:47 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 14, 2017 at 10:34:09AM -0300, Arnaldo Carvalho de Melo escreveu: > >>> Different name, same contents, need to look at the inode... ;-\ > >> > >> Nah, let

Re: [PATCH] perf test: fix test case probe libc's inet_pton on s390x

2017-11-14 Thread Thomas-Mich Richter
On 11/14/2017 02:47 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Nov 14, 2017 at 10:34:09AM -0300, Arnaldo Carvalho de Melo escreveu: >>> Different name, same contents, need to look at the inode... ;-\ >> >> Nah, lets ask the kernel how is it that it sees libc, please test the >> following, works

Re: [PATCH] perf test: fix test case probe libc's inet_pton on s390x

2017-11-14 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 14, 2017 at 10:34:09AM -0300, Arnaldo Carvalho de Melo escreveu: > > Different name, same contents, need to look at the inode... ;-\ > > Nah, lets ask the kernel how is it that it sees libc, please test the > following, works for me: BTW, this is what I sticked on that cset: Comm

Re: [PATCH] perf test: fix test case probe libc's inet_pton on s390x

2017-11-14 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 14, 2017 at 10:26:25AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Nov 14, 2017 at 08:18:47AM +0100, Thomas Richter escreveu: > > -ld=$(realpath /lib64/ld*.so.* | uniq) > > -libc=$(echo $ld | sed 's/ld/libc/g') > > +libc=$(ldd $(which bash) 2>/dev/null | fgrep libc | awk '{ prin