From patchwork Fri Jun 2 16:08:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 101283 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp476593qge; Fri, 2 Jun 2017 09:14:15 -0700 (PDT) X-Received: by 10.237.34.129 with SMTP id p1mr9058972qtc.72.1496420055928; Fri, 02 Jun 2017 09:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496420055; cv=none; d=google.com; s=arc-20160816; b=vS7eBZ6J0gR6LlOYG9uVqr4IQa89ZB7lQIHZWyUuXesnaSb4Gsx8MWn3UOHBG4aTuJ KbfYvfDvDW8pKRL/0LH7f/uITAmSJesbCRBqxkct/iFqmguJdQWTEzwFUVgdAeFtEc+/ x6HQ/i9Vi2ZK/OBW257s/cyIU4EU8o5gOquxEhY7HEbcIcxfyQHgfWUnu2IlqkF394cp f7WzD8SnzsYrphrEt1td+WQpDmEiuAiJn5C3yBDp7RkbxUzx1Clg4YVSVFBkQN2tYWvW MVHFz359M6fy1xjW3Fq4WPk6vP+S9lXRbINy+/k2ANMcDLWL4Bcg8t5Wa/a+ZzwQoBxk GZbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=dsMM1cws5tLyXm4oPGlJI0fGA4ERKsFs3ZWZjoRsK4A=; b=Yrxi+XSGKXdi7UyETZWaRcn7KpWSKeBl40W0R8/UhQVP0HGGI4fo65uG2ssUhOYCgn juruAnlno2IZ2ZBZsNhKLVxyIZHZ/mMXiU77RokjV65tYwRZpeg/O4up3ku5fa7Bo+Vk XNgDMyd0rR8DMCKU3WQj4u6aF/T3MtdRDS4zhTUmBbFrpCA6HNS3BMFvhP3H83+dHTmF xRVNVwEb+Vjgaoo0ANTM7GgRpD6mDhaYu4aeo5vOKZs/q7+Fsi/TYhMmjmj2TcA1hZgV xoS2VY9/yS1sz8s7PBRH8r62BSQfSaQ0fPnkL7Ohxz5tkJAGIJ8oYrN9EQ/5B3BMMYIv vpgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id s56si4353856qtb.326.2017.06.02.09.14.15 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 02 Jun 2017 09:14:15 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGpDJ-0002Z3-9Y for patch@linaro.org; Fri, 02 Jun 2017 12:14:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGp7w-0005wR-2F for qemu-devel@nongnu.org; Fri, 02 Jun 2017 12:08:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGp7s-0004xz-PJ for qemu-devel@nongnu.org; Fri, 02 Jun 2017 12:08:40 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:38198) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGp7s-0004xZ-Hb for qemu-devel@nongnu.org; Fri, 02 Jun 2017 12:08:36 -0400 Received: by mail-wm0-x22a.google.com with SMTP id n195so30607498wmg.1 for ; Fri, 02 Jun 2017 09:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dsMM1cws5tLyXm4oPGlJI0fGA4ERKsFs3ZWZjoRsK4A=; b=I/suw9c0x8ztWSNImXpZfWdYDtRHXtSFoD+FJSb+w68qZ2wrUH38qcbv7DmBwJ4nuV VS9egtff1199B7pCJsisCqlRyDUJ1VIUZmn5v5tUz8J3Eo6OvJlcpFRXF/P6xK/rk51X HrWCXt9/L9qtjeAIE83B9x0UM4hg8asay8dls= 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:mime-version :content-transfer-encoding; bh=dsMM1cws5tLyXm4oPGlJI0fGA4ERKsFs3ZWZjoRsK4A=; b=ry1b0KvoPXp2psDAR+xQRdfVioFbs/Cu0ENIlLFwCOeF5qCbB0A8GGvrtmPR7+dBR1 srOh3Le14J+uFRPBUKd9Ye5KPVdYLmsKN8889cvbYV/67PndcoUsCiThcZ4TC38uW+y7 ksNj3gf2h0Io99Gp1QiWHX/ltSxtptNHr1pVwvBYfHzaiMIy7CAyIFDm6iVYwiyidh9E 62uAuuxfu6X7fZ4zBm6C78ybgiCjTVa1eYjhwSGh+MlP+wnm2Vo4y3syyQXqrZkW1WZh Lj6OAEEImbWqsixuAWA9S3E0TKQq6wDQOSo4aXl+DjCZ3blShiADDbcu6dE7TYOR0r7U G/Tg== X-Gm-Message-State: AODbwcApQbzNJVfMA65XAFMtN464LPzC9Vrld9xyn/u2RXgz4MJx8s2q uz2AGUnv1B/j56BD X-Received: by 10.28.236.71 with SMTP id k68mr17291wmh.107.1496419715587; Fri, 02 Jun 2017 09:08:35 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id z12sm31043776wrb.41.2017.06.02.09.08.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 09:08:34 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 5F1343E00B4; Fri, 2 Jun 2017 17:08:54 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Fri, 2 Jun 2017 17:08:38 +0100 Message-Id: <20170602160848.4913-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22a Subject: [Qemu-devel] [RISU PATCH v4 00/10] record/replay patches 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: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, After much messing about I finally got this re-base working. The recent re-factoring work has made the code a lot simple. I also ran into problems getting a decent cross-compiler that could link against a zlib. This was manly down to multi-arch conflicts when I try and install zlib1g-dev:arm64 on my Ubuntu 16.04 dev box. Happily we already have a decent cross compile solution for QEMU so I tweaked the build-all-archs script to offer a --use-docker option. The paramterise patch is a little white space messy due to the inconsistent formatting. Maybe it would be easier to nail down what the indent should be and run indent over the source tree? Regards, Alex Bennée (10): .gitignore: ignore build directories build-all-archs: support cross building via docker build-all-archs: support --static flag risu: a bit more verbosity when running risu: paramterise send/receive functions risu: add header to trace stream risu: add simple trace and replay support risu: add support compressed tracefiles new: record_traces.sh helper script new: run_risu.sh script .gitignore | 1 + Makefile | 4 +- build-all-archs | 76 ++++++++++++++++++++++-- configure | 55 +++++++++++++++++- record_traces.sh | 20 +++++++ reginfo.c | 173 ++++++++++++++++++++++++++++++++----------------------- risu.c | 147 ++++++++++++++++++++++++++++++++++++++++++---- risu.h | 23 +++++++- risu_aarch64.c | 8 +++ risu_arm.c | 8 +++ risu_m68k.c | 5 ++ risu_ppc64.c | 5 ++ run_risu.sh | 53 +++++++++++++++++ 13 files changed, 484 insertions(+), 94 deletions(-) create mode 100755 record_traces.sh create mode 100755 run_risu.sh -- 2.13.0