From nobody Tue Feb 10 12:43:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1499179831339664.8468750592933; Tue, 4 Jul 2017 07:50:31 -0700 (PDT) Received: from localhost ([::1]:41765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSP9p-0001du-39 for importer@patchew.org; Tue, 04 Jul 2017 10:50:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSP7h-0008Dd-Qi for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSP7g-000167-D1 for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:17 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:33575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSP7g-00015T-6Y for qemu-devel@nongnu.org; Tue, 04 Jul 2017 10:48:16 -0400 Received: by mail-wr0-x22c.google.com with SMTP id r103so250407626wrb.0 for ; Tue, 04 Jul 2017 07:48:16 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 22sm26587572wru.29.2017.07.04.07.48.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 07:48:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id EBDBB3E21F8; Tue, 4 Jul 2017 15:49:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ccxEC857UVq1T4+aZ0Ssasv7IVckYMJq5w7nEe8SDKU=; b=RZ/ThJsscRC9ENmyVLPCEwgvl/SZ1KqkS+pLYojQ13DAoTLM+vN1HoNb6fW860eltp bTmteTusT7ytgIWMEg92uIWFBEWQdNqGeBiv7iBntWeuAqAtLV9TflVQOdyMVhb56SnN DYJ1I8bUdWp+aZLyIzYVedL1mIoTyGtrF3k6I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ccxEC857UVq1T4+aZ0Ssasv7IVckYMJq5w7nEe8SDKU=; b=g7GeelJGZnQ4OstIh5u0/yc7mj8r/KqxvTEl4DMLXwt0HkTO7qc6bdc+wkcDGq9ZBo Mcxr8WTSw+YJOiVkNlSWRD1wcCQgc5TRxqQIsLYZ5zIadUSX8TQDPKZtZ2MFS6lZfmGY f74UvbRFyQAumx8tlIutLNumiLJGKFIMhpmQ4hJbGPcPJInsIWAbaQAGwfNydR/DjBJc sPJUOQchOgPCiutneB+U5931SERstXSJb6B4GbU4LCrunGQiJ90BUxr5kgQxy7QDny3O 1wCGP6U7LfVsf2wOjKwzTNB1R5k3pGzH+5U14thezxvuZCl42Xqtzditrchn9EPgEBX7 E3UA== X-Gm-Message-State: AKS2vOwclYmj2a2yjDs/NKKCe4e3hxBEhEfmhULKbEGkmBzBTDdr+JuX BERVW5lblXCMGE9Z X-Received: by 10.223.134.226 with SMTP id 31mr19874003wry.63.1499179694987; Tue, 04 Jul 2017 07:48:14 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 4 Jul 2017 15:48:52 +0100 Message-Id: <20170704144859.17644-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170704144859.17644-1-alex.bennee@linaro.org> References: <20170704144859.17644-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22c Subject: [Qemu-devel] [RISU PATCH 04/11] README: document record/replay support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Signed-off-by: Alex Benn=C3=A9e --- README | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/README b/README index e0bf5c5..5f16f60 100644 --- a/README +++ b/README @@ -107,6 +107,26 @@ mismatch status to its standard output. NB that in the register dump the r15 (pc) value will be given as an offset from the start of the binary, not an absolute value. =20 +While the master/slave setup works well it is a bit fiddly for running +regression tests and other sorts of automation. For this reason risu +supports recording a trace of its execution to a file. For example: + + risu --master FxxV_across_lanes.risu.bin -t FxxV_across_lanes.risu.trace + +And then playback with: + + risu FxxV_across_lanes.risu.bin -t FxxV_across_lanes.risu.trace + +Ideally it should be built with zlib to compress the trace files which +would otherwise be huge. If building with zlib proves too tricky you +can pipe to stdout and an external compression binary using "-t -". + + risu --master FxxV_across_lanes.risu.bin -t - | gzip --best > trace.file + +and: + + gunzip -c trace.file | risu -t - FxxV_across_lanes.risu.bin + File format ----------- =20 @@ -203,10 +223,6 @@ implementation, for example) but only ARM is tested. * we don't actually compare FP status flags, simply because I'm pretty sure qemu doesn't get them right yet and I'm more interested in fixing gross bugs first. - * there isn't currently any support for a "record and replay -results" mode. This would allow you to record the correct -results from the ARM host once and then test a model implementation -even if you didn't have the corresponding native hardware. * You can compile statically to avoid the requirement for the ARM chroot for qemu testing but you can no longer use gethostbyname() and need to specify your hosts by IP address. --=20 2.13.0