From patchwork Thu Oct 31 19:55:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 2004841 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XfZVY4Hmqz1xwF for ; Fri, 1 Nov 2024 06:55:49 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BE29A3857C6A for ; Thu, 31 Oct 2024 19:55:47 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by sourceware.org (Postfix) with ESMTP id 5E8BF3858D20 for ; Thu, 31 Oct 2024 19:55:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E8BF3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orcam.me.uk ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E8BF3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4190:8020::34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730404531; cv=none; b=njLaUKMXkDkeUZIpV4YjPRcmEiFqGmdUVuOqR6BELnZyNSnaKFUeSk9HUZ0nzwiUGQsIVRKhGM3RgYuQHwAK0j9ngKPSnd9zXIf5Fm/IMtGHSxRLOnueZj2odaCNqmC4DcDOipq3zLlPSj4I38zTk59Us/i2TPp9mRB45SaNMxY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730404531; c=relaxed/simple; bh=3zliTwLzj+oTdpr35ukMuZ5gPSsnGraS6TKVY1TRGpg=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=Dj+npsB09m9O2DBtT37Q5o9t1p9mTfP42zuzdNVcORoeKZSSmZpG+aKOsimWXeh151yJ+2DcaZuOXumEEFi7TdkcLB3TP8MYU7EhsiijxgmDEnRitcFiCdd7RRoZNUhHRSCZUALyKleZLb1hogzjC1AWEHH1lbA0axZaXTrJYhw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by angie.orcam.me.uk (Postfix, from userid 500) id 7E77792009C; Thu, 31 Oct 2024 20:55:28 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 77AD492009B; Thu, 31 Oct 2024 19:55:28 +0000 (GMT) Date: Thu, 31 Oct 2024 19:55:28 +0000 (GMT) From: "Maciej W. Rozycki" To: libc-alpha@sourceware.org cc: Florian Weimer , "Maciej W. Rozycki" Subject: [PATCH v4 00/12] stdio-common: Add tests for formatted printf output specifiers Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Maciej W. Rozycki" Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org Hi, As it was pointed out by Florian a substantial amount of time is consumed by the mtrace facility in dladdr(3) calls and it would make sense to save this time by getting rid of the calls, as their result is not necessary for the purpose of the verification made by these tests. I have chosen to interpose the function with a stub implementation then, indeed reducing the execution time considerably. This v4 of the tests adds this stub implementation of 'dladdr', adjusts timeouts accordinly and updates elapsed times recorded in the relevant change description. See the respective changes for the details of all the updates made. Previous iterations: - v3 at: , - v2 at: , - v1 at: . This v4 has been verified with the `powerpc64le-linux-gnu' (IBM POWER9) native configuration and then the same host and the `riscv64-linux-gnu' (SiFive FU740) remote target. I've skipped `mips-linux-gnu' verification and ran a single smoke test only on this occasion as a full run takes a huge amount of time and is not supposed to add anything new with this update. OK to apply? Maciej