kernel: mmu: collect more demand paging statistics
This adds more bits to gather statistics on demand paging, e.g. clean vs dirty pages evicted, # page faults with IRQ locked/unlocked, etc. Also extends this to gather per-thread demand paging statistics. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
d5c3be3948
commit
ae86519819
7 changed files with 236 additions and 32 deletions
|
@ -33,6 +33,11 @@ list(APPEND kernel_files
|
|||
xip.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_DEMAND_PAGING_STATS)
|
||||
list(APPEND kernel_files
|
||||
paging/statistics.c)
|
||||
endif()
|
||||
|
||||
add_library(kernel ${kernel_files})
|
||||
|
||||
# Kernel files has the macro __ZEPHYR_SUPERVISOR__ set so that it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue