From nobody Mon Feb 9 07:11:18 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528895121159881.8733495893881; Wed, 13 Jun 2018 06:05:21 -0700 (PDT) Received: from localhost ([::1]:34038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT5Si-0001Fy-8x for importer@patchew.org; Wed, 13 Jun 2018 09:05:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fT5Jq-0002cM-AW for qemu-devel@nongnu.org; Wed, 13 Jun 2018 08:56:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fT5Jo-00055g-Pe for qemu-devel@nongnu.org; Wed, 13 Jun 2018 08:56:10 -0400 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:40903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fT5Jo-00053X-Ff for qemu-devel@nongnu.org; Wed, 13 Jun 2018 08:56:08 -0400 Received: by mail-wm0-x22a.google.com with SMTP id n5-v6so5182924wmc.5 for ; Wed, 13 Jun 2018 05:56:08 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f24-v6sm1927940wmc.0.2018.06.13.05.56.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:56:03 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6EF5D3E1154; Wed, 13 Jun 2018 13:56:01 +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=wxcfGsS86kcfjLCdS7LsJfrKrVdL+ITWHRqzI4GxmL0=; b=e3Xgh41ZZ3OEpjMcU6ji6DoazTLiB/0uAwzslUdXJHkHFJKaALBw1ufYm8O0p1yR0H YjwF3RM1H8JPZtO8FW43jCZe+HRSvHhDa0NQJOXLrpq2VwDHOtIx/MgSgRoHJBlpA83v nHrVGOwN7TsRy9z8PT3QeQvCVcQoRlvEWvHGo= 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=wxcfGsS86kcfjLCdS7LsJfrKrVdL+ITWHRqzI4GxmL0=; b=rLpQgwwbxcEd4spfrsojfg8EHhzOjkRSPuO/RQL2HX5ifMYK1QPD4jtlnUwh5vpYZ9 FWJlw4srgaHbzh7SnEshNn8dbpsPR1Nxa//fO7gA07Rm0SH5YGa0cvCRFJZ2PefgR8pA qju0x5z6xIZtS7JKhTa2c2OCbZY/NtgT4TXhbyHG3p/2NHIR7Awr2VX+hgXQB6TDJ5Fx /OIXLPlyY7827od3AFXxAjKv+wrin6DV7HxX5st7AUtT2tlDXgjAVsM8kfMGuGKBUa72 2nZK68qtIfY5CpshhfRbJK0w/fRwwAqhNpOv3gxYRcBQZohoP6625BUV3jJAA61b7vWK qexQ== X-Gm-Message-State: APt69E0UQ4v05Q2AnwVLWDSQTXpFED9g/Vhk0q43dncBC+oEI3xw0tpS 2gleoBSWLqtnJ0oaDwk1SMedWA== X-Google-Smtp-Source: ADUXVKKXHiaQ8JxWZ+ONGF3UtuzH/M1Xuwk/CffAld2eNxZL+K+FtQvTDop3GRgDvJ76+RiYmSquCQ== X-Received: by 2002:a1c:ed0d:: with SMTP id l13-v6mr3579834wmh.73.1528894567320; Wed, 13 Jun 2018 05:56:07 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Wed, 13 Jun 2018 13:55:44 +0100 Message-Id: <20180613125601.14371-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125601.14371-1-alex.bennee@linaro.org> References: <20180613125601.14371-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:c09::22a Subject: [Qemu-devel] [RISU PATCH v3 05/22] risu: add zlib indication to help text 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=20Benn=C3=A9e?= , qemu-arm@nongnu.org, richard.henderson@linaro.org, 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 This is a simple aide-memoir as it can be tricky to determine this with a simple statically compiled binary. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- risu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/risu.c b/risu.c index 616fc33..c684c90 100644 --- a/risu.c +++ b/risu.c @@ -39,6 +39,9 @@ size_t signal_count; #ifdef HAVE_ZLIB #include gzFile gz_trace_file; +#define TRACE_TYPE "compressed" +#else +#define TRACE_TYPE "uncompressed" #endif =20 sigjmp_buf jmpbuf; @@ -273,7 +276,7 @@ void usage(void) fprintf(stderr, "between master and apprentice risu processes.\n\n"); fprintf(stderr, "Options:\n"); fprintf(stderr, " --master Be the master (server)\n"); - fprintf(stderr, " -t, --trace=3DFILE Record/playback trace file\n"); + fprintf(stderr, " -t, --trace=3DFILE Record/playback " TRACE_TYPE " = trace file\n"); fprintf(stderr, " -h, --host=3DHOST Specify master host machine (apprentice= only)" "\n"); --=20 2.17.1