Jon, you can also use Oprofile. You have to configure your kernel for using it, then you have to run the Oprofile application while your application is running. Please check http://oprofile.sourceforge.net for more info.
Bye Daniele -----Messaggio originale----- Da: [email protected] [mailto:[email protected]] Per conto di Jon Povey Inviato: giovedì 23 giugno 2011 10.36 A: [email protected] Oggetto: How to investigate latency causes Hi folks, I am working on a video recording app on DM365, using DVSDK 4.02 which means kernel 2.6.32. Anyone got any advice on how to trace latency issues on this kernel? I was hoping to use tools/perf, but it's not supported for ARM on this old kernel it seems. I want to see what is going on when my process stalls so I can look at things like user+kernel thread priorities, threaded ISRs etc. to meet realtime deadlines. Kprobes maybe? There are various historical performance analysis tools that seem to have come and gone for Linux, any tips that can save me wasting time looking into less useful ones would be welcome. Related, I'd be interested to know how possible it is to use DMAI etc. on top of the current mainline kernel, or what's missing. For now I'm sticking with the TI DVSDK+PSP bundle but might want to change kernels before too long. Maybe I should ask that separately, later. Thanks, -- Jon Povey [email protected] Racelogic is a limited company registered in England. Registered number 2743719 . Registered Office Unit 10, Swan Business Centre, Osier Way, Buckingham, Bucks, MK18 1TB . The information contained in this electronic mail transmission is intended by Racelogic Ltd for the use of the named individual or entity to which it is directed and may contain information that is confidential or privileged. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email so that the sender's address records can be corrected. The views expressed by the sender of this communication do not necessarily represent those of Racelogic Ltd. Please note that Racelogic reserves the right to monitor e-mail communications passing through its network _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
