7. PAGE FAULT REPORT
Reporting per process page faults.
- sched.h : a new field (pagefaults_nr) has been added to struct mm_struct
to keep a count of the number of page faults
- unistd.h : _NR_GET_PAGEFAULTS 198
- entry.S : sys_get_pagefaults /* entry 198 */
- my_foo.c : implements get_pagefaults( pid_t, ulong * ulong * )
- test.c : test program. Usage: test pid
- test2.c : another test program.
include/linux/sched.h
include/asm/unistd.h
arch/i386/kernel/entry.S
arch/i386/mm/fault.c
kernel/my_foo.c system call file
test.c
test2.c
Next
Prev
Up
marco_corvi@geocities.com