Debian Codegraph @

testsuite/systemtap.examples/apps/gmalloc_watch.meta

raw
1 title: Tracing glib2 memory allocations
2 name: gmalloc_watch.stp
3 keywords: trace
4 author: Colin Walters
5 status: experimental
6 exit: user-controlled
7 requires: glib2-devel
8 output: trace
9 description: The gmalloc_watch.stp script from Colin Walters' blog (https://blog.verbum.org/2011/03/19/analyzing-memory-use-with-systemtap/) traces the allocation of glib2 memory using the markers in glib2.
10 test_support: stap -l 'glib.mem_alloc'
11 test_check: stap -p4 gmalloc_watch.stp
12 test_installcheck: stap gmalloc_watch.stp -T 1