Message ID | fb6f3da8-42fc-6911-fcc9-a444bc41df0c@suse.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp840283wrn; Fri, 16 Dec 2022 00:27:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf5WQ+DOPOEI3b2Wvht+1jCLgOpUgMGFZUSOfKoinF5asRUiqzhPY29nFqBAJjAYeEEpJZ95 X-Received: by 2002:a17:906:4803:b0:7c1:59d2:db59 with SMTP id w3-20020a170906480300b007c159d2db59mr19964783ejq.64.1671179235403; Fri, 16 Dec 2022 00:27:15 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id i7-20020a1709064fc700b0078d1dc1b64csi2251006ejw.170.2022.12.16.00.27.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 00:27:15 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b="fKNnsqk/"; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 393263895FF8 for <ouuuleilei@gmail.com>; Fri, 16 Dec 2022 08:27:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 393263895FF8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671179234; bh=fct3LMEvX/vN4NvzaXB/Z1qOXITEMOdj30yZvVe+VvA=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=fKNnsqk/oswzhMxKc0oUwN3f35WLocTCN0v8lNLLA220YsV0SLR/bEsukMA3bpuO3 Y5Muzjz7m7N94vg94Cgt5IlnivUPNityZ16fz7aAJdFnPHPq3H+oOZnaFe9VNiW08V e9mWpIFQaED7eU3TN6nkIda4oEbDd/Wqfr80Mrkc= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2067.outbound.protection.outlook.com [40.107.6.67]) by sourceware.org (Postfix) with ESMTPS id BBC833894C18 for <binutils@sourceware.org>; Fri, 16 Dec 2022 08:27:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BBC833894C18 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l72+5sjmylge4YY/DU9e0BOB/rrFUIBLGCry97pqihqJb6nogz+L9vrcHGkZgaJH+5iIZmZjiyiJsENoSDqSC0QC6QqjdOdXuOMINAbbn+FWccq8BXo0MTyBIUhVEYL8nBLw8+hB0hPlhv8SjlrmpBncsgOSwn4Kz/HMJBsOGzM7yKkmaquNSHPt1grbsjULV/rwrCwl0n6j1H3w3g9bcov6ccwwtI6ReRjPyvY4TDdlbSgeZgQFa/Vih6p3djkJ+toxWKGX2VrVbM6XYYIMkXiXBL/+qL2KlYjnjidbWTEv53bAiD5no9T/ogDjzqajIvCJLU/5wzae0PJ8VHTPIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fct3LMEvX/vN4NvzaXB/Z1qOXITEMOdj30yZvVe+VvA=; b=bMlljHDPZTXXgYUUWphWSbY9ldr36VCtXcY5bPaYfPKDxROq1MMqG3it0eEUrEC9s41FpLdobVmI36tT7zT5Z5AOgmvIhY+sqJnkf/ytPTk5JTOcAxb+ZeeVSrQahDRpNTZpwK2jt2+ang/vBqvUZzJ6fNkRWavfWwL5Ou3ZyTidiU2N8CMVwwb3tIBhDWlFNeh3z/iXZp38Vh5L0yZ9izXXuQD++L16fCXLGUeSRbtQLWTlNtdfh1HMEvNQ+z1X5CFd3EcP2QDV/odaX0+8te3OVAMWlATJ/EU3PNbT6HYS1vg+0XybHyLORjzDVOc/nqYyYHX/1XD/6/ePO8er1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) by AM9PR04MB7489.eurprd04.prod.outlook.com (2603:10a6:20b:281::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.11; Fri, 16 Dec 2022 08:27:00 +0000 Received: from VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8]) by VE1PR04MB6560.eurprd04.prod.outlook.com ([fe80::4da2:ea8b:e71e:b8d8%4]) with mapi id 15.20.5924.011; Fri, 16 Dec 2022 08:27:00 +0000 Message-ID: <fb6f3da8-42fc-6911-fcc9-a444bc41df0c@suse.com> Date: Fri, 16 Dec 2022 09:26:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Content-Language: en-US To: Vladimir Mezentsev <vladimir.mezentsev@oracle.com> Cc: Binutils <binutils@sourceware.org> Subject: [PATCH 0/4] gprofng: small testsuite adjustments Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0177.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9f::13) To VE1PR04MB6560.eurprd04.prod.outlook.com (2603:10a6:803:122::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB6560:EE_|AM9PR04MB7489:EE_ X-MS-Office365-Filtering-Correlation-Id: e6cc3721-b887-4a3f-8a27-08dadf3f4d5b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f37l+ky4uADuZDmPNDPtniHoxWpG1ogKP+GP6ezVmUvZp7+29we7G2GaXi1YKpAwDm2SGpNqNzrtLXJGQydGmsakqwNDhqMeayW1pl4y43Zn3jIdrgHLswQ2Q0IhC331zvFYjNYVRH9qFKgyb8vAH/IQlh+gofjm2vUFUpJZvlPnY5KCly6kKcAL74eI2j5uYRYzQCLjOaL5BJbqkCOCjwkyoIo9ABgl7WEl7FmUn8gY4QUpta3TZdEdjYb9wavm8dMUXMRq3VKAek/m/2xhybwKEWdkTLbpm4lorVlDNwhqq+zyL6MjVNQiBuzWkFG39ozK86ilXoLCelWVMjfXIvzAcYGdVFp0JgUuM+ZdFWlsJkgUUW0zJYlvOQJBNEG6Y5UCSjZskvMoYVWWxVihYA1+ZvwF6pPA4FuW44lYGRbwdBmzFJ7cPi+UiX3K+adb/xc1MQBtgHaHKP11lTz3uqVjOucBKv9bDoDF9tAHHXUPKAnlccrqmf47HI2z96JW7QrEB8w8QPeA5EoHgvsRKJxSH7+lalRNJUcJnYC584xCE7CeW+YSWHsOlg7C2V+JE2LYRREeuir2KsyMU5bisDNYch6HDDWX2cNmDUpfz1/VMKWggLaeKEF3r9VIZMdYcFwgQeIzcf/DtbuoMSw5eFmgsyzQOfbXJkRg/ArGyromMnlKtQE27URjwYU2OaHx5DccWJYu+dTOPZrh7b8r4WbZH7S4HXbwFdXdq/tdFU0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6560.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(136003)(376002)(396003)(39860400002)(366004)(346002)(451199015)(478600001)(5660300002)(2906002)(38100700002)(6506007)(6486002)(316002)(36756003)(6916009)(83380400001)(41300700001)(66476007)(66556008)(8676002)(2616005)(31696002)(31686004)(66946007)(4326008)(8936002)(26005)(186003)(86362001)(6512007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?pbQ6Z176Uy6C9grxpaALpxQyUcQh?= =?utf-8?q?VhkdLZvAGPly0tnq9GXy5rn4v1Guzka0crq/P8Y8rfCesqewPJZvVa5G+bBct8Fj9?= =?utf-8?q?VJJOeQQB+bbvZmAemuLYCdKu4h8ZRlW9/Nvqm1E/vOVR0mbERispIUifjkSZKQbPH?= =?utf-8?q?ZGRCQZQ3YoJf8/wGnSteezp76ECnetd+mMdLu+5NRGeBx96ul0Tw0wMDKr43LHy45?= =?utf-8?q?ZHYtqMFZ7ckQeefAWlN23v8jUh9whlZayPUvUVu0Ix7Mz++QO29y8GqDQcKRuEVpR?= =?utf-8?q?hgVXXYuI4j5knW8orKBnaB+LaG9CBnUELI5OPVkGeqMIYd3Z+qm9UfVBcoDUJ617d?= =?utf-8?q?UCShsnsfPxMZ88N+irOeC0pO4k5e0enlFrkPf+viaBMRZFBgLlJbfVVr5wDAORfZt?= =?utf-8?q?2u45gxSrtG/YNR7DvtM5qVS/V6HMRS1S5lPOeUmVIw+7iBkPRRLO+IdJWdTon22LX?= =?utf-8?q?moz1iiYTxWWl1O5NGN0TyE44MrhEf+caMum/5J8KhIGZrAM7q+sKioA6RC8lG4ACG?= =?utf-8?q?0bqpMu3MB/A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GZXI+p1mvaGWlvlTvAkpmKGQGbiOhHDnfVxlK+qSn2?= =?utf-8?q?1KcI5COyDCpoTQ3Sfh1N2mQsN237xf6klnOus8HqvypclYAyiFeGvyeDgimKAszHR?= =?utf-8?q?II9cFEfNM8Wo?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6cc3721-b887-4a3f-8a27-08dadf3f4d5b X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6560.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Dec 2022 08:27:00.1374 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: e/SawujAI1baF63y5Ot9Qj50aNgE9izYgcn352lIjUuOoGng6lkLlzG+tDwsoN5GIU/OkpmhRauBU1nf5FwdPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7489 X-Spam-Status: No, score=-3028.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Jan Beulich via Binutils <binutils@sourceware.org> Reply-To: Jan Beulich <jbeulich@suse.com> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752358438209598354?= X-GMAIL-MSGID: =?utf-8?q?1752358438209598354?= |
Series |
gprofng: small testsuite adjustments
|
|
Message
Jan Beulich
Dec. 16, 2022, 8:26 a.m. UTC
While the latter two patches are purely cosmetic, I wonder how things have worked properly without the former two. I'm therefore not going to exclude that the changes done really need to be conditional upon some environmental aspects, but it's not clear to me what these would be (or why). Beyond / independent of these small fixes I'm still concerned by the time running these testcases takes: The few tests here take quite a bit longer than building _and_ testing all of the rest of binutils (not gdb of course) for those targets where gprofng is actually available. One aspect I'm wondering about in particular: What is it that is actually tested when the binutils build is a cross one? The produced binaries are host executables, so it's unclear to me what meaning it has to run on them a profiler (supposedly) targeting another architecture. Eliminating the testing in such cases would already speed up the mass testing of many targets in a noticable way. There are still "warning: always_inline function might not be inlinable" instances left with the gcc version I'm using, but I can't tell whether that's a reason for worrying. 1: adjust linking of synprog 2: correct names for signal handling tests 3: correct line continuation in endcases.c 4: eliminate bogus casts Jan
Comments
On 16.12.2022 09:26, Jan Beulich via Binutils wrote: > Beyond / independent of these small fixes I'm still concerned by the time > running these testcases takes: The few tests here take quite a bit longer than > building _and_ testing all of the rest of binutils (not gdb of course) for > those targets where gprofng is actually available. One aspect I'm wondering > about in particular: What is it that is actually tested when the binutils build > is a cross one? The produced binaries are host executables, so it's unclear to > me what meaning it has to run on them a profiler (supposedly) targeting another > architecture. Eliminating the testing in such cases would already speed up the > mass testing of many targets in a noticable way. And just now I spotted this set pltf [exec uname -i] in display.exp. Shouldn't this check that the resulting $pltf actually matches the build target before performing any of the tests? Jan
On 12/16/22 00:26, Jan Beulich wrote: > While the latter two patches are purely cosmetic, I wonder how things have > worked properly without the former two. I'm therefore not going to exclude that > the changes done really need to be conditional upon some environmental aspects, > but it's not clear to me what these would be (or why). > > Beyond / independent of these small fixes I'm still concerned by the time > running these testcases takes: The few tests here take quite a bit longer than > building _and_ testing all of the rest of binutils (not gdb of course) for > those targets where gprofng is actually available. One aspect I'm wondering > about in particular: What is it that is actually tested when the binutils build > is a cross one? Nothing. > The produced binaries are host executables, so it's unclear to > me what meaning it has to run on them a profiler (supposedly) targeting another > architecture. Eliminating the testing in such cases would already speed up the > mass testing of many targets in a noticable way. Agree. We need to ignore `make check` for the cross build. I'd rather test the installed binaries. Can we add the check-installĀ target in Makefile for this ? I use a big testsuite for gprofng. The testsuite has ~400 tests and takes ~4 hours. The problem is that tests are only available in Oracle. > There are still "warning: always_inline function might not be inlinable" > instances left with the gcc version I'm using, but I can't tell whether that's > a reason for worrying. > > 1: adjust linking of synprog > 2: correct names for signal handling tests > 3: correct line continuation in endcases.c > 4: eliminate bogus casts Your patches look good to me. Thank you for the gprofng improvement. -Vladimir