Performance:Tools/oprofile: Difference between revisions

(Created page with "= Profiling Firefox or Fennec with oprofile = oprofile is a useful profiling tool for Linux. Using it does not require recompiling in many cases, which is nice. * You may need ...")
 
Line 5: Line 5:
* You may need to compile with
* You may need to compile with
   ac_add_options --enable-optimize="-O0 -fno-omit-frame-pointer"
   ac_add_options --enable-optimize="-O0 -fno-omit-frame-pointer"
in order to get callgraph data properly.
in order to get callgraph data properly. Also you need debug symbols.
 
* You can then follow the following workflow:
* You can then follow the following workflow:
   sudo opcontrol --reset
   sudo opcontrol --reset
Line 16: Line 17:
== Notes ==
== Notes ==


* Callgraph data may not work on x86_64, sadly.
* Callgraph data may not work on x86_64 or ARM, sadly.
213

edits