Debian Codegraph @

EXAMPLES/memory/pfaults.meta

raw
1 title: Generate Log of Major and Minor Page Faults
2 name: pfaults.stp
3 version: 1.0
4 author: anonymous
5 keywords: memory
6 subsystem: memory
7 status: production
8 exit: user-controlled
9 output: sorted-list
10 scope: system-wide
11 description: The pfaults.stp script generates a simple log for each major and minor page fault that occurs on the system. Each line contains a timestamp (in microseconds) when the page fault servicing was completed, the pid of the process, the address of the page fault, the type of access (read or write), the type of fault (major or minor), and the elapsed time for page fault. This log can be examined to determine where the page faults are occurring.
12 test_check: stap -p4 pfaults.stp
13 test_installcheck: stap pfaults.stp -T 1