From patchwork Fri Sep 4 13:40:03 2020 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: 249110 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp1416184ilg; Fri, 4 Sep 2020 06:41:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBEDzPvyBBJylcELhmXPTgIwOyMkxp10Xv2R1j/PFWtwNMh8mEZLQ66KLRBLKNMtEDVX8r X-Received: by 2002:a25:a265:: with SMTP id b92mr9755304ybi.389.1599226900859; Fri, 04 Sep 2020 06:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599226900; cv=none; d=google.com; s=arc-20160816; b=FUN9jBT9wKCUzOwNPz7ekfNTc4JXu+lsXaqhW9zV2mC2v9Wxqi8t4MxyWoSONvBOGm a3LsTqcSgMq3S8/d6REQa/hWkoWWynnZ4MNklmWGfe7swb9npon2i5XtbMbwGx08+GVJ Lkx5gjFF3fnG4qd+g3BFo51JGqQ3N0WIbOWTTijoqBlCe68jY4DIQOgNp8X5Z82671mv h2sZAr979dcU8Pf0SBfHRPFER/GfoomZWL16WbuFxKBKc4NV89gAc/XT1xPRZ/qk33Cb bAvVF4TpfukY4g6zsdmr5PMeOgme0zyMklGZ+lwgnXW0xtHrmaPnRB/SqioHNkSZMCvH ZW6A== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=Q8Rhj9JUzG0EgmZ+9C+Ft6vc0SbALOVjYYmjsYdvL/c=; b=K9rvaRaHSDplAMwdLQLxIDddqpxabtOwuG/1I6ja4hAHO4udPY1AGNaH3DqRW95MON Gg0DLDz38plzFmfWkbkQXF7MxmDby0vSZWUcrXvnt6XAOEtZsxHXgCSq+ZIqbuCWvai3 1zJ15QN5EG3k6plBQgs0ZfkvPg68yakZcoPT7x79J4ybg59w4sb2YVIbGyY6gZ4/MvB6 GdGvPXw3AZ4wXs/o92Wdfy0pSHlTJPeUa5cc94RPo5krr4BX6akieGv+MtoCdj12a2KV IokoFPW4iUQbpVGvQYKDsweTpDhx4LJMT2sQpHz7hvKaRDuZNRN4PaRyD4yJ3SjEGrEa J1Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FobloFup; 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 d1si6151738ybe.473.2020.09.04.06.41.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Sep 2020 06:41:40 -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=FobloFup; 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]:47354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEByG-0006GQ-Br for patch@linaro.org; Fri, 04 Sep 2020 09:41:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEBwr-0004rE-9y for qemu-devel@nongnu.org; Fri, 04 Sep 2020 09:40:13 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:32916) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEBwp-0005ey-76 for qemu-devel@nongnu.org; Fri, 04 Sep 2020 09:40:12 -0400 Received: by mail-wm1-x344.google.com with SMTP id e11so7561009wme.0 for ; Fri, 04 Sep 2020 06:40:10 -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=Q8Rhj9JUzG0EgmZ+9C+Ft6vc0SbALOVjYYmjsYdvL/c=; b=FobloFuphBzXcOMp18OUwiK2nlxz729qWYUoYizmXhxoOJlkXattcCSkxutXq6Rb+f vDDBVPQHrdFLWMQ4g7PK1Vj4eYgT3pRzDK7vhyCTh+ht5hIjLKKQ0rdQGxDNu44UFZs+ LNJAX3Om/SvzEmngSkKQy67/KWuqlQErVy5gTR7wF6mjFEBZyJ6uBj5SVstW64DR6YXp thD73/VvsTJo0J1B62He1yBsRDUZvJSU+ctOdX1etReTKVL4xFInvlhz2ZyHou37+dHX N9yV+SYAwEGk0vPse+Hl862vtYitvmTzeCcxm343XP/MA3PQvKKS6RhSOg9X/F1TGg4y 8r5g== 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=Q8Rhj9JUzG0EgmZ+9C+Ft6vc0SbALOVjYYmjsYdvL/c=; b=lutAONRCPS98OtWL3EUxClYpACg3jpacqLlq//271UcxGALX5nj2O9vPsbySis5JyV ztmPBlM2hKpO0BoQOexA7q2uY2ma3pHgTzp8UlYKMwq80SdB4FZDlXCvxKHSKYS4GmTH XeB9eKIQEOQY6/4jyHXGmgWcMXvwshkQLinSJYjG52L1EQAhY66L7N5TSw9Zi0D3TQ0A obA54t9MrcVo6WCS4a1XBX680Hqm85itfW4FSuGg4V9FNX6BgOcA6OJEjxyeOOlmdRYb Fi0EktBPSEVsTiTXkY5BdZORiqlclE9qP64Y+HIFPouu8a90qEzpHzTrDkgLfbPzABWl nqkA== X-Gm-Message-State: AOAM5329CGH76iwWVZvwBRg0jHlIX+ECEhs03sYYc630gSZwTp9z9d3D +xASI8DkoBWmsjYOx8SiN07cBw== X-Received: by 2002:a1c:4303:: with SMTP id q3mr7564272wma.158.1599226809574; Fri, 04 Sep 2020 06:40:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 124sm11666682wmd.31.2020.09.04.06.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 06:40:08 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C21871FF7E; Fri, 4 Sep 2020 14:40:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 0/4] current plugins/next (reorg + hwprofile) Date: Fri, 4 Sep 2020 14:40:03 +0100 Message-Id: <20200904134007.4175-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::344; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x344.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: robert.foley@linaro.org, robhenry@microsoft.com, aaron@os.amperecomputing.com, cota@braap.org, kuhn.chenqun@huawei.com, peter.puhov@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, This is the current state of my plugin tree. The biggest change is a re-organisation moving a bunch of the more complex plugins into contrib and just concentrating on the basic plugins for running the tests. In the process I've updated the docs to describe what they do in more detail. Finally the hwprofile plugin is a new plugin for tracking HW access patterns. Alex Bennée (4): hw/virtio/pci: include vdev name in registered PCI sections plugins: add API to return a name for a IO device plugins: move the more involved plugins to contrib plugins: new hwprofile plugin docs/devel/tcg-plugins.rst | 176 ++++++++++ configure | 2 + Makefile | 11 + include/qemu/qemu-plugin.h | 6 + {tests/plugin => contrib/plugins}/hotblocks.c | 0 {tests/plugin => contrib/plugins}/hotpages.c | 0 {tests/plugin => contrib/plugins}/howvec.c | 0 contrib/plugins/hwprofile.c | 305 ++++++++++++++++++ {tests/plugin => contrib/plugins}/lockstep.c | 0 hw/virtio/virtio-pci.c | 22 +- plugins/api.c | 20 ++ MAINTAINERS | 1 + contrib/plugins/Makefile | 43 +++ tests/Makefile.include | 2 +- tests/plugin/meson.build | 4 +- tests/tcg/Makefile.target | 3 +- 16 files changed, 582 insertions(+), 13 deletions(-) rename {tests/plugin => contrib/plugins}/hotblocks.c (100%) rename {tests/plugin => contrib/plugins}/hotpages.c (100%) rename {tests/plugin => contrib/plugins}/howvec.c (100%) create mode 100644 contrib/plugins/hwprofile.c rename {tests/plugin => contrib/plugins}/lockstep.c (100%) create mode 100644 contrib/plugins/Makefile -- 2.20.1