Page Faults

From: Artur Baruchi
Date: Fri Oct 21 2011 - 22:12:28 EST


Hi Guys.

I would like to create a module (probably unsig kprobe or jproble) to
separate some kinds of page faults. For example, suppose that during
10min my system experienced a total of 100 page faults. This module
should show me that, 10 page faults happened in cache, 30 page faults
happened in kernel pages, and so on...
My question is... which function should I probe to accomplish this?

Thanks in advance.

Att.
Artur Baruchi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/