[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <875ym9h4mt.fsf@linux.intel.com>
Date: Fri, 13 May 2022 07:46:34 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>, Leo Yan <leo.yan@...aro.org>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: [PATCH 6/6] perf intel-pt: Add guest_code support
Adrian Hunter <adrian.hunter@...el.com> writes:
> A common case for KVM test programs is that the guest object code can be
> found in the hypervisor process (i.e. the test program running on the
> host). To support that, a new option "--guest-code" has been added in
> previous patches.
>
> In this patch, add support also to Intel PT.
>
> In particular, ensure guest_code thread is set up before attempting to
> walk object code or synthesize samples.
Can you make it clear in the documentation what parts runs on the host
and what parts on the guest?
I'm still not fully sure how it exactly finds the code on the host,
how is the code transferred?
Other than that more support for this use case is very useful.
-Andi
Powered by blists - more mailing lists