Sindbad~EG File Manager

Current Path : /proc/2568807/root/usr/share/systemtap/examples/apps/
Upload File :
Current File : //proc/2568807/root/usr/share/systemtap/examples/apps/gmalloc_watch.stp

#!/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);
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists