FreeBSD includes a substantial port of DTrace: an advanced event-based performance analysis and troubleshooting tool. DTrace can help you identify and quantify the root cause of virtually any performance issue, in both user-level and kernel code. It can be executed using custom and powerful one-liners and scripts.
Ideas and new work are kept in the DTraceTODO.