Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbdLNMIx (ORCPT ); Thu, 14 Dec 2017 07:08:53 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:59960 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751548AbdLNMIw (ORCPT ); Thu, 14 Dec 2017 07:08:52 -0500 Subject: Re: [PATCH v2] perf test shell: Fix check open filename arg using 'perf trace To: Arnaldo Carvalho de Melo , Michael Petlan Cc: linux-perf-users@vger.kernel.org, Jiri Olsa , Namhyung Kim , Linux Kernel Mailing List , Arnaldo Carvalho de Melo References: <20171211154312.GC2221@redhat.com> <20171211170750.GE3958@kernel.org> <20171212145707.GL3958@kernel.org> <20171212151948.GN3958@kernel.org> <20171212171259.GQ3958@kernel.org> From: Thomas-Mich Richter Organization: IBM LTC Date: Thu, 14 Dec 2017 13:08:45 +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: <20171212171259.GQ3958@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-IE Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 17121412-0020-0000-0000-000003DFDAF5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17121412-0021-0000-0000-00004270E182 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-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-1712140167 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1404 Lines: 36 On 12/12/2017 06:12 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 12, 2017 at 05:24:43PM +0100, Michael Petlan escreveu: >> Hey Arnaldo, this one did not remove the s390x hack and also, won't work >> on arm. Please use the one I just have sent, few seconds ago... > > Ok, I have you latest in, with the cset log I wrote, which clarifies > that this is not a arch issue, but a glibc one, its only that some > arches have distros where glibc was already at 2.26, where open() calls > are mapped to openat() syscalls. > > - Arnaldo > >> On Tue, 12 Dec 2017, Arnaldo Carvalho de Melo wrote: >>> Em Tue, Dec 12, 2017 at 11:57:07AM -0300, Arnaldo Carvalho de Melo escreveu: >>>> So the patch below does the trick for me, can you please check if does >>>> for you? >>> >>> So I've put this with a long explanation at: >>> >>> https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/commit/?h=tmp.perf/core&id=ba15be2acc9e35dc9f034fef3aa292406b518b04 >>> >>> - Arnaldo >>> > I have extracted the latest patch with commit id 6c23b4f ("perf test shell: Fix check open filename arg using 'perf trace'") from the git repository perf/core today and it works for me. -- 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