From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Yannis Bolliger <yannis.bolliger@protonmail.com>,
"qemu-discuss@nongnu.org" <qemu-discuss@nongnu.org>
Cc: "QEMU Developers" <qemu-devel@nongnu.org>,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: Question about memory trace with execlog plugin
Date: Sat, 5 Apr 2025 16:25:54 +0200 [thread overview]
Message-ID: <cbd14121-16f0-42d2-a861-fb737656bc03@linaro.org> (raw)
In-Reply-To: <CyPTzkaf9gPwB4yBJ2L2v7OEa1ifWfc6Ys8CFowNoUee6ap4yEu3YThfluX0AObgYU4UcWQFHNbfWrw0kZ-wNQF3gER8mhXZg2Vc74SOstw=@protonmail.com>
Cc'ing plugin experts
On 5/4/25 13:25, Yannis Bolliger via wrote:
> Hi everyone,
>
> I am using the execlog plugin to generate a trace of memory accesses, in
> particular I am interested in the physical RAM addresses.
> Now I'd like to identify which of these memory accesses are related to a
> kernel buffer -> user buffer copy operation.
> To that end I am logging the physical addresses as obtained by
> page_to_phys (+ the offset of the RAM in the memory map) in the kernel
> before the copy is done.
> I'd expect to find memory accesses in my trace that go to the buffer
> addresses I logged in the kernel, but I cannot find any.
>
> Is it possible to correlate these addresses? What do I need to look out
> for?
> I may have a wrong understanding of how things work.
>
> Any help is appreciated,
> Yannis
>
> Some background info:
>
> * qemu-system-aarch64 on an x86_64 host.
> * android kernel (cuttlefish)
>
parent reply other threads:[~2025-04-05 14:26 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CyPTzkaf9gPwB4yBJ2L2v7OEa1ifWfc6Ys8CFowNoUee6ap4yEu3YThfluX0AObgYU4UcWQFHNbfWrw0kZ-wNQF3gER8mhXZg2Vc74SOstw=@protonmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cbd14121-16f0-42d2-a861-fb737656bc03@linaro.org \
--to=philmd@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@nongnu.org \
--cc=yannis.bolliger@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).