From nobody Tue Apr 7 21:45:15 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1773241920; cv=none; d=zohomail.com; s=zohoarc; b=BSQ6iurhm7oTnxz/6x//u8eIvPJgq8NYCXD9xjvqkRX8uuPEOSqvsiVOkgoQP8zD/cLfcV1+/TyTQtpeK4cuzJGQPR5EucruwxoWvOEhF6BAqzG9BlwWADA5LvJtG7dOYegCoJuewaCsyOV6OzRM2NEKCogLCJ/sqlBiZkAH/yo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773241920; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kkg8aUHyILWwQ3+0hqFTlPB6ypecqke33sQVMjes/Ww=; b=g1l+P1wLlckfKwkibnIQaF29zJ0dHfUAr4ng308cDQTgdK6jFU0QzlPH4W+fcIQU+3kvOE+zn4rqg9tBw0gUoJMp7sx0mtKzPg5N7JCB2ckicI+JCpV4AfDyAf7AdAPuOMvBRuEpko7Tzyo4GYgCTVowKqf5AU9wp+uzYaxUQCI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773241920787273.729470733516; Wed, 11 Mar 2026 08:12:00 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w0LBX-000080-Dk; Wed, 11 Mar 2026 11:09:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w0L9n-0004K5-1a; Wed, 11 Mar 2026 11:07:38 -0400 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w0L9j-0004yv-QH; Wed, 11 Mar 2026 11:07:29 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 84FC3191E8B; Wed, 11 Mar 2026 18:04:41 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 67E4737C2CC; Wed, 11 Mar 2026 18:05:19 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1773241481; bh=FSMGlYph0E646l8xPKs1QSoOKQfE4LlZnojK7QnNiVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Ay9T1yZI47WRdKCUwgn16ksYctPPZMBDLUGDyJm5KUMGJqA9UPFT8922TCCODCLES ak17wFklOSzFia/GfwS+WDhFgHYeaLNHg3DWvN6S5rmPyg5sO2pcCiGRAPoYM22MHX /yQo9zlSbf07/wiJfmQV/doQTqPXh0COGeLAJhG5qdVoZQA98NDEUxMjfMaoT0FrMn WdWBkRH7lvN10lm62hWv+5ejkvlXaGj6VnJudHWzVzgKXpEL3y/BiixLT3T9v/S++7 G7DbhAnKE9mSa2wWoKn3B1+hd5WhpV6XqhzhDxVIcZ0dFsY8NQjm6D1iqqjRhjFArJ oEeb2aysjQU9Q== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Alex Bradbury , Manos Pitsidianakis , Pierrick Bouvier , Michael Tokarev Subject: [Stable-10.1.5 08/46] contrib/plugins/hotblocks: Print uint64_t with PRIu64 rather than PRId64 Date: Wed, 11 Mar 2026 18:02:44 +0300 Message-ID: <20260311150327.1084669-8-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.819, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.903, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @tls.msk.ru) X-ZM-MESSAGEID: 1773241922466154100 Content-Type: text/plain; charset="utf-8" From: Alex Bradbury qemu_plugin_u64_sum returns a uint64_t, so PRIu64 is the correct format specifier. Signed-off-by: Alex Bradbury Reviewed-by: Manos Pitsidianakis Reviewed-by: Pierrick Bouvier Link: https://lore.kernel.org/qemu-devel/5d26c9d99ee87ac4a4034ff64e3d888125= 3eedf3.1753857212.git.asb@igalia.com Signed-off-by: Pierrick Bouvier (cherry picked from commit e777f6ab91406884136b5679a9d64124832668d8) Signed-off-by: Michael Tokarev diff --git a/contrib/plugins/hotblocks.c b/contrib/plugins/hotblocks.c index cf4d6b8c36..40d8dae1cd 100644 --- a/contrib/plugins/hotblocks.c +++ b/contrib/plugins/hotblocks.c @@ -87,7 +87,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *p) for (i =3D 0, it =3D sorted_counts; i < limit && it; i++, it =3D i= t->next) { ExecCount *rec =3D (ExecCount *) it->data; g_string_append_printf( - report, "0x%016"PRIx64", %d, %ld, %"PRId64"\n", + report, "0x%016"PRIx64", %d, %ld, %"PRIu64"\n", rec->start_addr, rec->trans_count, rec->insns, qemu_plugin_u64_sum( --=20 2.47.3