Debian Codegraph @

EXAMPLES/memory/kmalloc-top.meta

raw
1 title: Show Paths to Kernel Malloc Invocations
2 name: kmalloc-top
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 kmalloc-top perl program runs a small systemtap script to collect stack traces for each call to the kmalloc function and counts the time that each stack trace is observed. When kmalloc-top exits it prints out sorted list. The output can be filtered to print only the first N stack traces (-t), stack traces with a minimum counts (-m), or exclude certain stack traces (-e).
12 test_check: ./kmalloc-top -o "-p4" -c "sleep 1"
13 test_installcheck: ./kmalloc-top -c "sleep 1"