qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 14/16] accel/tcg: define tlb_fill as a trace point


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 14/16] accel/tcg: define tlb_fill as a trace point
Date: Mon, 11 Dec 2023 14:04:49 +0100
User-agent: Mozilla Thunderbird

On 11/12/23 10:13, Alex Bennée wrote:
While we do have a bunch of debugging we can turn on in cputlb there
is an argument for making tlb_fill a generally available trace point.
Any fault (via probe or access) will have to be preceded by a tlb_fill
for the address in question.

We don't bother logging the return address as that will be a host
address associated with translation and therefor can move around with
ASLR.

In my particular case I'm trying to track down a difference in memory
fault exception patterns between record and replay phases.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
  accel/tcg/cputlb.c     | 2 ++
  accel/tcg/trace-events | 1 +
  2 files changed, 3 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]