From patchwork Wed Jul 31 16:06:31 2019 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: 170149 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4217603ile; Wed, 31 Jul 2019 09:12:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxkLE2jj4E4f+5sA3UWYmpTxzi8g2BX/vxT5NnBPrvVq5WWTR5aY9+W3HedSwf+9y150UR X-Received: by 2002:a37:de18:: with SMTP id h24mr7175042qkj.147.1564589538707; Wed, 31 Jul 2019 09:12:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564589538; cv=none; d=google.com; s=arc-20160816; b=R/IvjI52gqFSR47C3zEFfjLbFPxOthj+a8OkzysucBMsxhY0U0P98Ll97qUteJ8vbG O5p1Bq1xNfYXNZo80X6J9YDplyKoBWz3eyfmvfjzrmqJXycLIA7aeUeaKc9olyOTZmKx oavijlrysCE+Thg38hMPvCsmrKInPyEhPKbpfOl5tH2cp5MGk0jy4WP7Fde7Gn7oDBtd w50QQ3ms2NXgGlYw592dWlx4WsahgWFHwxCH7I+Ac/ABz73Ou/fdkIGyrl/4gI8vVZjz FvcKIOo6jgXZkfL+Jusy6gyKjm0mK0XF8EA8aDGLtqwKQzFphcz4RqGINAxZo8l6gsYj 3DWQ== 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:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=q2ZVpkuPZWWQPipjqK7QM3P7xcGJr7m8OUgkDGruy80=; b=HSiEMlw5Tz0/YYvp1S3afBo8F6d9ShfuBpUFKNmxC2J0CBiyg7vBGNm41fPgifPptV JZqZlcJrM19Q8R4c5MSfhlEbCsyx5H2N0Uhyi4QXrqIOItwPTcy5JxUM9Vg91842Siar zgIqK+9+13ipwD5my0a1RMkD3vouD0/0Hd7W1fecU/5BTmLoKchmq+uJnKQrda2X0M1S Q2nevao66f19rU7sUMu345uYK4I5PfiXvS68aCkCOHlVMwzHtXiYAv1PRfZMO+v/FAuO +Sbjm3MRx+WJP+EpqMQvnBeLBk2X6N3B3ZBgnnvkJ7Kp3L2ep6RToGuj/v47fd+lhypV 2OMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yPHwt37C; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.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. [209.51.188.17]) by mx.google.com with ESMTPS id j24si41157721qtj.383.2019.07.31.09.12.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jul 2019 09:12:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=yPHwt37C; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.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]:42376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrD8-0000ma-C2 for patch@linaro.org; Wed, 31 Jul 2019 12:12:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40293) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsr8Z-00025f-Sf for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:07:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsr8W-0000hT-A8 for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:07:34 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:35769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsr8T-0000dG-V1 for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:07:30 -0400 Received: by mail-wm1-x342.google.com with SMTP id l2so60318717wmg.0 for ; Wed, 31 Jul 2019 09:07:25 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=q2ZVpkuPZWWQPipjqK7QM3P7xcGJr7m8OUgkDGruy80=; b=yPHwt37CO8xUdFkdMw0bpZRaFeSdTJIGAsDdqTiQlRFh63rYPgIUS1Dejn8lsSvvFZ 56FeZqkcNA5kMQJL8DSNBmwY3cskkyHQcoQp9GXl3CySbkZoFCmiE3YJ8WhxF1qhqpnR p3f4KNTEiizPqmgWm22UGHzSUyzlvc5PG1WYtJ4czezbzpepFHHmUEOeeBlfavTAQgBo 1MoZxkrh0vich5TRTOtSDj0GtKq4fPb/hIynlvX1U4cs98uZuMQv35XQKbeKY6AXwAYJ 9h41q9OdAnTVoKnJdMwIEy+RGjowYpmwpH+I5xt89xZ/2cBi1SHDZkE4RsO80KoSfL9b ifNw== 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=q2ZVpkuPZWWQPipjqK7QM3P7xcGJr7m8OUgkDGruy80=; b=bxMBsN4CqoqGsBq02QMSZuW4tAFEy/HNbCGG1kuQkWvfik3s38nKXjVFmhEcy9dZmJ KmTn3GTpvGu4x/INmHxeLy7vtXU85bJ5r3Bhki1Bet/96V2D2ai7SqNuyN5bf8CHcCGE +kRC19btV+VMznAKnuTBOff6g2ps85R7gUZKs3WoMQp41GCCcgSh3gEelT6/GE/HYq1F d4MRfp8Fdm6ycRTjshOD/h8IYPrjUQF3Grdo4ps7Bm/lJhUSWDtcLeWV4lMJ+iTG6E1z eM64bao/93r6ItYZq80u1vx7H+4BpUU5YF7C283Dw5VCMmTGBrXc/DB8cGBwe3c+iKMb m/hg== X-Gm-Message-State: APjAAAUFhPB68apXfdMKxmWNVXV2U0ltElL/ypQXKJFiVQg/zhbiKQan 7CTqSTdYX/7M7yOu28lFDR9o0A== X-Received: by 2002:a1c:be11:: with SMTP id o17mr110956032wmf.115.1564589244207; Wed, 31 Jul 2019 09:07:24 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y16sm149394681wrg.85.2019.07.31.09.07.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 09:07:23 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id F01FB1FF93; Wed, 31 Jul 2019 17:07:19 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 17:06:31 +0100 Message-Id: <20190731160719.11396-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190731160719.11396-1-alex.bennee@linaro.org> References: <20190731160719.11396-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 Subject: [Qemu-devel] [PATCH v4 06/54] trace: expand mem_info:size_shift to 4 bits X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bobby.prani@gmail.com, cota@braap.org, =?utf-8?q?Alex_Benn=C3=A9e?= , aaron@os.amperecomputing.com, Stefan Hajnoczi Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" This will allow us to trace 32k-long memory accesses (although our maximum is something like 256 bytes at the moment). Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota [AJB: expanded to 3->4 bits] Signed-off-by: Alex Bennée --- trace-events | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/trace-events b/trace-events index aeea3c2bdbf..63bb192ade6 100644 --- a/trace-events +++ b/trace-events @@ -149,7 +149,7 @@ vcpu guest_cpu_reset(void) # Access information can be parsed as: # # struct mem_info { -# uint8_t size_shift : 2; /* interpreted as "1 << size_shift" bytes */ +# uint8_t size_shift : 4; /* interpreted as "1 << size_shift" bytes */ # bool sign_extend: 1; /* sign-extended */ # uint8_t endianness : 1; /* 0: little, 1: big */ # bool store : 1; /* wheter it's a store operation */