From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755421AbdKNN5x (ORCPT ); Tue, 14 Nov 2017 08:57:53 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47586 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887AbdKNN5m (ORCPT ); Tue, 14 Nov 2017 08:57:42 -0500 Subject: Re: [PATCH] perf test: fix test case probe libc's inet_pton on s390x To: Arnaldo Carvalho de Melo Cc: linux-perf-users@vger.kernel.org, brueckner@linux.vnet.ibm.com, Linux Kernel Mailing List References: <20171114071847.2381-1-tmricht@linux.vnet.ibm.com> <20171114071847.2381-2-tmricht@linux.vnet.ibm.com> <20171114132625.GM8836@kernel.org> <20171114133409.GN8836@kernel.org> <20171114134724.GP8836@kernel.org> From: Thomas-Mich Richter Organization: IBM LTC Date: Tue, 14 Nov 2017 14:55:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171114134724.GP8836@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-IE Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 17111413-0012-0000-0000-0000058D2513 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111413-0013-0000-0000-00001907DF6A Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-14_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711140191 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Thomas Richter, Dept 3303, IBM LTC Boeblingen Germany -- Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294