Re: [PATCH] Linux Kernel Markers 0.5 for Linux 2.6.17 (with probe management)

Mathieu Desnoyers
2006-09-23T16:57:04Z

* Ingo Molnar (mingo@elte.hu) wrote:
> but tracing a raw pagefault at the arch level is a bad idea anyway, we
> want to trace __handle_mm_fault(). That way you can avoid having to
> modify every architecture's pagefault handler ...
>

The problem with __handle_mm_fault() is that the struct pt_regs * is not
passed to this function. An event containing both the address where the fault
occurs and the instruction pointer that caused the fault is very useful.

Mathieu

OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68