On 12/11/23 01: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<[email protected]>
---
  accel/tcg/cputlb.c     | 2 ++
  accel/tcg/trace-events | 1 +
  2 files changed, 3 insertions(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to