From 0dc23d1d3435d0a1b8721618e6c898b9216a27e2 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Mon, 31 Aug 2009 16:53:40 -0400 Subject: Add virtual memory subsystem tracepoint examples. --- testsuite/systemtap.examples/memory/mmfilepage.meta | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testsuite/systemtap.examples/memory/mmfilepage.meta (limited to 'testsuite/systemtap.examples/memory/mmfilepage.meta') diff --git a/testsuite/systemtap.examples/memory/mmfilepage.meta b/testsuite/systemtap.examples/memory/mmfilepage.meta new file mode 100644 index 00000000..3fb6ba55 --- /dev/null +++ b/testsuite/systemtap.examples/memory/mmfilepage.meta @@ -0,0 +1,13 @@ +title: Track Virtual Memory System Actions on File Backed Pages +name: mmfilepage.stp +version: 1.0 +author: Red Hat +keywords: memory +subsystem: memory +status: experimental +exit: user-controlled +output: sorted-list +scope: system-wide +description: The mmfilepage.stp script uses the virtual memory tracepoints available in some kernels to track the number of faults, copy on writes mapping, and unmapping operations for file backed pages. When the script is terminated the counts are printed for each process that allocated pages while the script was running. The mmfilepage.stp script is useful in debugging leaks in the mapped file regions of a process. +test_check: stap -p4 mmfilepage.stp +test_installcheck: stap mmfilepage.stp -c "sleep 1" -- cgit