More modern tools such as dtrace for the solaris and systemtap for linux addresses similar problems but with a broader coverage.