How to Profile an application (using OProfile)

From KratosWiki
Revision as of 16:38, 14 September 2016 by Maceli (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Make sure that OProfile is installed in your Linux system. Type 'operf' to check it.

To profile your Kratos run, just follow 2 steps.

Step 1, collect the data:

operf python

Contrl+C when you want, or wait until execution ends, then

Step 2, analyze the data:

 opreport --callgraph
Personal tools