blob: 9fdb73f6c0831f94e40aaef737cd7b63ec4f5a39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
title: Collect slab allocation statistics
name: vm.tracepoints.stp
version: 1.0
author: Rajasekhar
keywords: memory slab allocator
subsystem: memory
status: production
exit: user-controlled
output: sorted-list
scope: system-wide
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.
test_check: stap -p4 vm.tracepoints.stp
test_installcheck: stap vm.tracepoints.stp -c "sleep 10"
|