[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240916-1d1835e5f16d58c674fdef5b@orel>
Date: Mon, 16 Sep 2024 14:41:27 +0200
From: Andrew Jones <ajones@...tanamicro.com>
To: zhouquan@...as.ac.cn
Cc: anup@...infault.org, atishp@...shpatra.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...nel.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, kvm@...r.kernel.org, kvm-riscv@...ts.infradead.org,
linux-perf-users@...r.kernel.org
Subject: Re: [PATCH v3 2/2] riscv: KVM: add basic support for host vs guest
profiling
On Thu, Sep 12, 2024 at 04:00:38PM GMT, zhouquan@...as.ac.cn wrote:
> From: Quan Zhou <zhouquan@...as.ac.cn>
>
> For the information collected on the host side, we need to
> identify which data originates from the guest and record
> these events separately, this can be achieved by having
> KVM register perf callbacks.
>
> Signed-off-by: Quan Zhou <zhouquan@...as.ac.cn>
> ---
> arch/riscv/include/asm/kvm_host.h | 10 ++++++++++
> arch/riscv/kvm/Kconfig | 1 +
> arch/riscv/kvm/main.c | 12 ++++++++++--
> arch/riscv/kvm/vcpu.c | 7 +++++++
> 4 files changed, 28 insertions(+), 2 deletions(-)
>
Reviewed-by: Andrew Jones <ajones@...tanamicro.com>
Powered by blists - more mailing lists