Received: by 10.223.185.116 with SMTP id b49csp1495591wrg; Fri, 16 Feb 2018 22:16:21 -0800 (PST) X-Google-Smtp-Source: AH8x22591uXPNPbCPvBhvQyCmJefbG6HRH83vJWUPFE+d2ed+P+jb6b/fAHl34HKVCiyCRJ2h/O1 X-Received: by 2002:a17:902:a703:: with SMTP id w3-v6mr4546596plq.299.1518848181031; Fri, 16 Feb 2018 22:16:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518848180; cv=none; d=google.com; s=arc-20160816; b=BmrZUc/CAAn/a++EbB2VHm9tI3E6WI9kvWfxl0+A+F/z1zdGkz5kHb50iakWA6icts 5ujIkw175JjP1DWF3Qdp326iVELPS4YkuDwfFKaw2B4V/oaXjk/FuKo6CJ04cD8ts05p N87hVXT5C9+o3QS1RzYdBNITDiaJvbl0rDiVdz6XK1pDyCt5dkszFs67eIbXjMJsm3oj NeER0rx9O0Nun0+EYN3iAUSYooRhzcranBCidLIy/uM5u/ok5c2QCyKefYg+hSdeL9C9 gwNsFQTMCb5AP+NM5i7jESm0xWzWjF6tIek7t1Njw8n+j+2LHKVHpzboHjrZZrALu6BN 73qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=aXvY0CF3P9VmACoPKLUSwwij78SCjNKcXvPdSqntrp8=; b=MXeMT/uEFCN08DLHWcFFNp5JtlVbXDVtu0lhiQ5NgMlPrdUqKIFPyVp+AvQG5pNvOE fiT6GUiMont49FDIzZ3pKGJGZahFH+hZJRyHFqCeqA1SgbJ1fit/fONOwfnlX1OBibo/ 2X7XWs2eewqNXsgT46/k6d9BugLN9IHTWG9XGtl+y64MKBQbn8NWKIgBfvJjtKs6q6qt /sk7ZGCzn2bmq31KRd6MuBDdIGkp5psxl6tSB5gdUJH/RLdGUE2v6icSrpla1/s4GjNu ph36V9N0SFzUUSISu/I22eMcpSNP+vysh61+gemfXbUbqmAmNVYONVEOpMFpbZmVIk0V Ufvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y128si843256pgb.126.2018.02.16.22.16.06; Fri, 16 Feb 2018 22:16:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751053AbeBQGP3 (ORCPT + 99 others); Sat, 17 Feb 2018 01:15:29 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39550 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbeBQGP2 (ORCPT ); Sat, 17 Feb 2018 01:15:28 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1H6EWO2034715 for ; Sat, 17 Feb 2018 01:15:28 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g67y5u25d-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Sat, 17 Feb 2018 01:15:27 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 17 Feb 2018 06:15:25 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 17 Feb 2018 06:15:21 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1H6FLog42401886; Sat, 17 Feb 2018 06:15:21 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 68FF64C052; Sat, 17 Feb 2018 06:09:02 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 08C124C040; Sat, 17 Feb 2018 06:08:59 +0000 (GMT) Received: from [9.195.41.220] (unknown [9.195.41.220]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Sat, 17 Feb 2018 06:08:58 +0000 (GMT) Subject: Re: [PATCH 1/3] tools include powerpc: Grab a copy of arch/powerpc/include/uapi/asm/unistd.h To: Arnaldo Carvalho de Melo Cc: alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, brueckner@linux.vnet.ibm.com, tmricht@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au, Ravi Bangoria References: <20180129083417.31240-1-ravi.bangoria@linux.vnet.ibm.com> <20180129083417.31240-2-ravi.bangoria@linux.vnet.ibm.com> <20180216165245.GD24436@kernel.org> <20180216165616.GF24436@kernel.org> <20180216170336.GG24436@kernel.org> <20180216170812.GA16919@kernel.org> <20180216172901.GB16919@kernel.org> <20180216175002.GC16919@kernel.org> From: Ravi Bangoria Date: Sat, 17 Feb 2018 11:47:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180216175002.GC16919@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18021706-0040-0000-0000-00000413A372 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021706-0041-0000-0000-00002616A96E Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-17_03:,, 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-1802170082 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Oops.. Really sorry about that. I've tested acme/perf/core on ubuntu ppc32 with and without libaudit-dev and it's working fine. Thank you very much for fixing it, Ravi On 02/16/2018 11:20 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 16, 2018 at 02:29:01PM -0300, Arnaldo Carvalho de Melo escreveu: >> Humm, we need to create two tables, one for 32-bit and another for 64, >> even with ppc not having (AFAIK) clashes in syscall numbers for 32/64... >> >> Trying to do it now. > Now seems to work, take a look at my perf/core branch, should be one of the first few csets. > > perfbuilder@cc1a85517216:/git/perf$ grep 192 /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_32.c > [192] = "mmap2", > perfbuilder@cc1a85517216:/git/perf$ powerpc-linux-gnu-gcc --version > powerpc-linux-gnu-gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 > perfbuilder@cc1a85517216:/git/perf$ > > perfbuilder@9d7fc9dcfb73:/git/perf$ grep 192 /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_32.c > [192] = "mmap2", > perfbuilder@9d7fc9dcfb73:/git/perf$ grep 192 /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_64.c > perfbuilder@9d7fc9dcfb73:/git/perf$ powerpc64-linux-gnu-gcc --version > powerpc64-linux-gnu-gcc (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609 > perfbuilder@9d7fc9dcfb73:/git/perf$ >