Message ID | 20240912205133.4171576-1-coltonlewis@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1FF1BEEE262 for <linux-arm-kernel@archiver.kernel.org>; Thu, 12 Sep 2024 20:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Cc:To:From: Subject:Message-ID:Mime-Version:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=h7GxOQtGez9zo05dGUGsUVNGDqEVne28eAH8BDc6VWA=; b=zFJXClC14GRsTJR9ipwLimukYd 3CIgltlTAfK3Ookn3Yx0EsLvQShg+jLZKZw/FNeu10rIptDBss8gGo+MRNuvajYdt693boPRkJ6mc hZXU6YjtucKJpUMH8AdtNemS5HBh5mxll+IitNASkRuSkHMBQGN+NF1dG6R5ioHA9bbvtOvS3Jr/Q 1yKQjDuzQKM+zvLaekCpYl8w0tROBaeJ0raB/29hVz7VcAxRdkdeA4eEPKVSQFWC0Gs6X9A192tar 64CRb3exnZYa7f+VwMFUKQACCAH88ZfI8F8v2QMmHSPJp6oqcA+gEmZsmjCssqy+hMsX9Unumn6k4 Grl/FzSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soqo5-0000000EDft-1F9c; Thu, 12 Sep 2024 20:52:49 +0000 Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soqmv-0000000ED9t-2iO6 for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2024 20:51:39 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-6d34c57a88eso32848767b3.0 for <linux-arm-kernel@lists.infradead.org>; Thu, 12 Sep 2024 13:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1726174296; x=1726779096; darn=lists.infradead.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=h7GxOQtGez9zo05dGUGsUVNGDqEVne28eAH8BDc6VWA=; b=yChTQyU3dnl8PpnfqdZYh/rye33xVwqBCJ6mbCONSEaMxIFsuqfTeRRV374cw8p2Y6 RcUpU3JB14utNkACdQDBalDR4JTdfNad4hGeeU+Dy6VF1h+2A6z15HbsxqjMn41VwUPV +fxCdoU5phRBzBQM+HybpAWYemdUba/ckyjMtiTtx9BaqyOnpe8oM8UozHADh9WrSBn+ BfuUpSnxE6cVGqrAdIYaoHLCuWake8EunxUGeCg+t4P1rKSIl8v0fSeibGWygTpLR3c3 PPk9nXQMa/4r1iGCyG9Co/oLTIVGr+Vmty7h3vwRTA8Ll/TKSoVXQp8i5dij6VWemtLa R6gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726174296; x=1726779096; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=h7GxOQtGez9zo05dGUGsUVNGDqEVne28eAH8BDc6VWA=; b=jMnL0Vd77n8n33e/2QymWVNkUQ7j/2sxBFmEVbjqCGPruqu+ZIPmAMl6k8a2b3lsmj cLxXGP39SBtDrgQYiDJeWcJOZsj62srsSDe+ITZVlrkpB3gkFQEPQvHetK4iA0cb7eX2 4X0vBxV3X90uqBQDMcABAf8YOoG811aFehWlEzWMXXWt8nysQ5UO7MiMg9NjMF5HHk71 Wi4poc176jnKnHgV2Jv2AIJj7IyF5rz5me6Ckf/xF9Aw5jCq4OgGggTSck9UzbmukY1c IyjTgg7ovYDdCWhmOl6x/9j3kn1Y3EYSfcIv5KAkiJzqv/ilr+qhjnCHPEcPs2oMGJhm peUQ== X-Forwarded-Encrypted: i=1; AJvYcCUMvPY7nkHg45NJAm0i81MLyo+kjNy9DdjO2eVzMN+x2VmfgYOgVGnMgaRhaYQKdHCpDcRz0xF4WjJfVkRV8zjK@lists.infradead.org X-Gm-Message-State: AOJu0YzIDBJxjqf5p1l4gfeZfEr3LlgY4VSnsbe4xEgSfZaNbA4oodTK ODGM7s24kLK9Eu/rtl7hnQACEg2pWJOTEL//qN23kMsVns68txdTNewu53H8Lbqq7weUYT6CRQK kH9L2PTthlDsXhY4QhG4tCg== X-Google-Smtp-Source: AGHT+IEKK4aKpKiP70M1q7RoK97ftYvX/6/8VPxfOowbkLjsgUfLaXZWPQb4Cz0o8Wq45udLHTwqEBExFDGaaK+o3A== X-Received: from coltonlewis-kvm.c.googlers.com ([fda3:e722:ac3:cc00:11b:3898:ac11:fa18]) (user=coltonlewis job=sendgmr) by 2002:a05:6902:1781:b0:e1a:6eac:3d0f with SMTP id 3f1490d57ef6-e1d9dc419efmr6874276.8.1726174295745; Thu, 12 Sep 2024 13:51:35 -0700 (PDT) Date: Thu, 12 Sep 2024 20:51:28 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.46.0.662.g92d0881bb0-goog Message-ID: <20240912205133.4171576-1-coltonlewis@google.com> Subject: [PATCH v3 0/5] Correct perf sampling with Guest VMs From: Colton Lewis <coltonlewis@google.com> To: kvm@vger.kernel.org Cc: Oliver Upton <oliver.upton@linux.dev>, Sean Christopherson <seanjc@google.com>, Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Ian Rogers <irogers@google.com>, Adrian Hunter <adrian.hunter@intel.com>, Kan Liang <kan.liang@linux.intel.com>, Will Deacon <will@kernel.org>, Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Naveen N Rao <naveen@kernel.org>, Heiko Carstens <hca@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Alexander Gordeev <agordeev@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Sven Schnelle <svens@linux.ibm.com>, Thomas Gleixner <tglx@linutronix.de>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, Colton Lewis <coltonlewis@google.com> Content-Type: text/plain; charset="UTF-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_135137_712080_11D1F9EA X-CRM114-Status: GOOD ( 13.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Correct perf sampling with Guest VMs
|
expand
|
On Thu, Sep 12, 2024 at 08:51:28PM +0000, Colton Lewis wrote: > v3: > * Clarify final commit message further > * Remove an unused variable in perf_arch_misc_flags() > > v2: > https://lore.kernel.org/kvm/20240911222433.3415301-1-coltonlewis@google.com/ > > v1: > https://lore.kernel.org/kvm/20240904204133.1442132-1-coltonlewis@google.com/ > > This series cleans up perf recording around guest events and improves > the accuracy of the resulting perf reports. Please fix the intermediate build issue, and also test that each patch in the series compiles. With that corrected, for the series: Reviewed-by: Oliver Upton <oliver.upton@linux.dev> A nice follow-up on the arm64 side would be to further constrain kvm_arch_pmi_in_guest() to return true iff we exited the guest due to an IRQ.