/usr/share/systemtap/examples/apps
NameSizeModeActions
gmalloc_watch.meta5130644editdlrm
gmalloc_watch.stp2610755editdlrm
hello.php210644editdlrm
libguestfs_log.meta7640644editdlrm
libguestfs_log.stp4490755editdlrm
php-trace.meta4990644editdlrm
php-trace.stp26000755editdlrm
stap_time.meta10310644editdlrm
stap_time.stp17010755editdlrm
Edit: /usr/share/systemtap/examples/apps/gmalloc_watch.stp (261B)
#!/usr/bin/stap // From https://blog.verbum.org/2011/03/19/analyzing-memory-use-with-systemtap/ // gmalloc_watch.stp: Print calls to g_malloc // Usage: stap ./gmalloc-watch.stp probe glib.mem_alloc { printf ("g_malloc: pid=%d n_bytes=%d\n", pid(), n_bytes); }