| 1 |
title: Collect Slab Allocation Statistics |
| 2 |
name: vm.tracepoints.stp |
| 3 |
version: 1.0 |
| 4 |
author: Rajasekhar |
| 5 |
keywords: memory statistics |
| 6 |
subsystem: memory |
| 7 |
status: production |
| 8 |
exit: user-controlled |
| 9 |
output: sorted-list |
| 10 |
scope: system-wide |
| 11 |
description: The script will probe all memory slab/slub allocations and collects information about the size of the object (bytes requested) and user-space process in execution. When run over a period of time, it helps to correlate kernel-space memory consumption owing to user-space processes. |
| 12 |
test_check: stap -p4 vm.tracepoints.stp |
| 13 |
test_installcheck: stap vm.tracepoints.stp -T 10 |