From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43650 invoked by alias); 13 Jul 2018 18:23:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 43630 invoked by uid 89); 13 Jul 2018 18:23:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-languages-length:606 X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jul 2018 18:23:08 +0000 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6DIIxwe087473 for ; Fri, 13 Jul 2018 14:23:07 -0400 Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by mx0a-001b2d01.pphosted.com with ESMTP id 2k6xq0pamb-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 13 Jul 2018 14:23:06 -0400 Received: from localhost by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Jul 2018 12:23:06 -0600 Received: from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 13 Jul 2018 12:23:05 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6DIN2QG59375772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 Jul 2018 11:23:02 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B7FF878064; Fri, 13 Jul 2018 12:23:02 -0600 (MDT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7A3737805F; Fri, 13 Jul 2018 12:23:02 -0600 (MDT) Received: from pedro.localdomain (unknown [9.85.180.127]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 13 Jul 2018 12:23:02 -0600 (MDT) Received: by pedro.localdomain (Postfix, from userid 1000) id AD7BC3C0472; Fri, 13 Jul 2018 15:22:59 -0300 (-03) From: Pedro Franco de Carvalho To: Ulrich Weigand Cc: gdb-patches@sourceware.org, edjunior@gmail.com Subject: Re: [PATCH 16/17] [PowerPC] Add support for EBB and PMU registers In-Reply-To: <20180713163828.5F9F3D80276@oc3748833570.ibm.com> References: <20180713163828.5F9F3D80276@oc3748833570.ibm.com> Date: Fri, 13 Jul 2018 18:23:00 -0000 MIME-Version: 1.0 Content-Type: text/plain x-cbid: 18071318-0012-0000-0000-0000168B8FD2 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009364; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01060853; UDB=6.00544579; IPR=6.00838772; MB=3.00022133; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-13 18:23:06 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18071318-0013-0000-0000-000053A92C47 Message-Id: <87bmbbj8qk.fsf@linux.vnet.ibm.com> X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00424.txt.bz2 Ulrich Weigand writes: > Pedro Franco de Carvalho wrote: > Similar comment to above, can we not avoid this renumbering churn? Yes, I will change this. > Also, I see you haven't got any test cases for this? Would these > be difficult to add? It's a bit harder, because it's not so straightforward to open the performance events to put the inferior in a state where the ebb/pmu registers are meaningful. I have a kludgy test I used, I'll try to make it better for submission. Thanks! -- Pedro Franco de Carvalho