Received: by 10.192.165.148 with SMTP id m20csp153394imm; Fri, 20 Apr 2018 04:45:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+F5SFYcIZ0Fmv2XsNtnKeH9epuec/sOlqKICTABsOV67FAuSn0PQFqpdYWoLuls+vlVtqE X-Received: by 10.99.169.1 with SMTP id u1mr8561768pge.251.1524224747560; Fri, 20 Apr 2018 04:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524224747; cv=none; d=google.com; s=arc-20160816; b=xDjlhmu3m+TekcohfSW6WBlLrK6FIb7JA07MlfuIuhIAP1wqo82KUo88wL9WcXje14 JsRRlpEvxkpqcmAsMlgeY8qGqRz1vsD2u61+IDPWhtYpyQRb4dgYA1voH+cq6i+uDJt/ DObLOO+06hW5f1djeqSL6inKZgd5WUxMocidXNNhCYfkrcVnEkdah59zYzXr2ZJVAKq0 BZFShbrpvlMvHIT/g9Z8c4/ePo3NNI7sO8Q3OYQ8WCZGF3JztqUl3gi1WZHWwEcV8NNx DoeAifbD24w1lgKVWxf9DlLLvZlQeDlWyJbrwVlUkaUrEY4sbcuj4pUQDnzH6Pnn/acs 89KA== 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-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :organization:from:references:cc:to:subject :arc-authentication-results; bh=vIKnseduUPSKj87/tEP7VUkXFGEQWixSESqvGWSxTFk=; b=X9VXxu+by4rsx3aW1JbutP5NizlzucUKIkNx+duqxfhOnErgccS9HcQF8CmbTOD4zf 4MWwXUyNFNml/R/DKXm3J9uKzp9SDCfkfFzL/rPsAYM/wnvHDeas54b1CBqbCUe/ir0v r1smpMt53MGaD/Nt/ZYZwDKC886JFJ114hhPurHM/Iah0ErH1QbM/rTm64yRO+GjQDV4 Hw9ljoSiaDJU+SXelDo2bkZTa/kQB6J0Dzcgq+wYAzJLCjRv31igavtDavKTjnXVOaww ZirT20TzQnjKtIygmS7q6W6UGhYWT/Rd+f5P0OYw2OPRSwrRxbgaqn92ZSk7/ZlRWEuG ZY2A== 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 b2-v6si5696226pla.365.2018.04.20.04.45.32; Fri, 20 Apr 2018 04:45:47 -0700 (PDT) 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 S1754668AbeDTLoY (ORCPT + 99 others); Fri, 20 Apr 2018 07:44:24 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:50332 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754591AbeDTLoX (ORCPT ); Fri, 20 Apr 2018 07:44:23 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3KBZGge092063 for ; Fri, 20 Apr 2018 07:44:22 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hfc5nsktg-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 20 Apr 2018 07:44:22 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 20 Apr 2018 12:44:20 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 20 Apr 2018 12:44:16 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3KBiGZH8716700; Fri, 20 Apr 2018 11:44:16 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 925B9A4040; Fri, 20 Apr 2018 12:36:21 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1B003A4053; Fri, 20 Apr 2018 12:36:21 +0100 (BST) Received: from oc3784624756.ibm.com (unknown [9.152.212.164]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 20 Apr 2018 12:36:20 +0100 (BST) Subject: Re: s390 perf events JSONs query To: John Garry , brueckner@linux.vnet.ibm.com, tmricht@linux.vnet.ibm.com Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Linuxarm , linux-kernel@vger.kernel.org, Will Deacon References: <68e84967-ca29-0b86-027a-76307e003a55@huawei.com> From: Thomas-Mich Richter Organization: IBM LTC Date: Fri, 20 Apr 2018 13:44:15 +0200 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: <68e84967-ca29-0b86-027a-76307e003a55@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18042011-0044-0000-0000-0000054A5DA0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042011-0045-0000-0000-0000288A7F43 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-20_05:,, 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-1804200114 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/20/2018 12:51 PM, John Garry wrote: > Hi Hendrik, Thomas, > > I noticed that in 4.17-rc1 support was included for s390 perf pmu-events. I also notice that the JSONs contain many common (identical actually) events between different chips for this arch. > > Support was added for factoring out common arch events in https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/tools/perf/pmu-events?h=next-20180420&id=e9d32c1bf0cd7a98358ec4aa1625bf2b3459b9ac > > ARM64 chips use this feature. I am not familiar with the s390 arch, but do you think you could also use this feature? > > Thanks, > John > Thanks John, for bringing this to my attention. Yes I will definitely look into this feature and will try to rework our s390 json files when this seems beneficial. I did not notice this patch on the linux-perf-users mailing list. Was it there for review? I do ask this because recently I have nearly no traffic on this list in my reader, so I wonder if there is something wrong with my mailing list subscription or setup. Thanks. -- 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