kindling icon indicating copy to clipboard operation
kindling copied to clipboard

Feature request: Monitor page-fault

Open zhy76 opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Feature request: Monitor page-fault

Current swap space usage Describe the solution you'd like A clear and concise description of what you want to happen. Page fault feature will be implemented like:

  1. The system can display the fault return value when the page fault occurs (reflecting the page fault type).

  2. The system can display information about the process address space and ip register where the page fault occurred

  3. The system displays the parent process ID ppid and process ID pid of the process where the page fault occurs

  4. The system can display the total number of main page missing and the total number of page missing when the page fault occurs

  5. The system displays the current virtual memory size, physical memory occupied by the process, and process when the page fault occurs

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

zhy76 avatar Dec 19 '22 08:12 zhy76

#291 is exactly the implementation of the feature you request. But I'm wondering why you request this feature. Would you explain the motivation?

dxsup avatar Dec 19 '22 09:12 dxsup

Thx, Because the current project is based on kindling to implement, there is also a need to monitor both page fault and system calls exception.

zhy76 avatar Dec 19 '22 09:12 zhy76