perfcounters: add nr-of-faults counter
authorIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 13:44:31 +0000 (14:44 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 19:31:27 +0000 (20:31 +0100)
commite06c61a879910869aa5bf3f8f634abfee1a7bebc
tree30add308b26946b618bb0e2d711c2b1c27f58714
parent6c594c21fcb02c662f11c97be4d7d2b73060a205
perfcounters: add nr-of-faults counter

Impact: add new feature, new sw counter

Add a counter that counts the number of pagefaults a task
is experiencing.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c