#!/usr/sbin/dtrace -s # pragma D option quiet pid$1:libX11:*Grab*:entry, pid$1:libX11:*Ungrab*:entry { printf("%s called\n",probefunc); ustack(5); }