Systemtap is a tracing & probing tool to analyse Linux (particularly kernel) problems. Here are instructions on how to use it on OMAP.