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

From: Arnaldo Carvalho de Melo
Date: Tue Nov 14 2017 - 09:58:49 EST


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, lets ask the kernel how is it that it sees libc, please test the
> >> following, works for me:
>
> works for me too.
>
> >
> > BTW, this is what I sticked on that cset:
> >
> > Committer changes:
> >
> > We can't really use ldd for libc, as in some systems, such as x86_64, it
> > has hardlinks and then ldd sees one and the kernel the other, so grep
> > for libc in /proc/self/maps to get the one we'll receive from
> > PERF_RECORD_MMAP.
> >
> > - Arnaldo
> >
>
> Yes I am fine with this changes.
> Go ahead.

Thanks for checking, committed.

- Arnaldo