background preloader

Profiling

Facebook Twitter

OProfile - A System Profiler for Linux (News) 2013-07-29 OProfile 0.9.9 released OProfile 0.9.9 has been released.

OProfile - A System Profiler for Linux (News)

This release includes the new 'ocount' program for collecting raw event counts on a per-application, per-process, per-cpu, or system-wide basis. This release also includes support for several new processor models -- Intel Haswell, IBM zEnterprise EC12, and IBM POWER8. Support was also added for IBM Power ISA 2.07 Architected Events and for AMD Generic Performance Events. Perftools - Project Hosting on Google Code. These tools are for use by developers so that they can create more robust applications. Especially of use to those developing multi-threaded applications in C++ with templates. Includes TCMalloc, heap-checker, heap-profiler and cpu-profiler. Recent news: 19 Apr 2014 gperftools 2.2rc is out! Here are notable changes since 2.1: a number of fixes for a number compilers and platforms.

The following people helped with ideas or patches (based on git log, some contributions purely in bugtracker might be missing): Andrew C. 30 July 2013 gperftools 2.1 is out! Just few fixes where merged after rc. Some fixes for debug allocation on POWER/Linux 20 July 2013 gperftools 2.1rc is out! As a result of more than a year of contributions we're ready for 2.1 release. But before making that step I'd like to create RC and make sure people have chance to test it. Here are notable changes since 2.0: fixes for building on newer platforms. 06 February 2012 Hello from your new maintainer. -Dave 03 February 2012 26 August 2011. Gprof2Dot - jrfonseca - Convert profiling output to a dot graph. This is a Python script to convert the output from many profilers into a dot graph.

Gprof2Dot - jrfonseca - Convert profiling output to a dot graph.

It has the following features: If you want an interactive viewer for gprof2dot output graphs, check xdot.py. Example This is the result from the example data in the Linux Gazette article with the default settings: Windows users Download and install Python for Windows Download and install Graphviz for Windows Debian/Ubuntu users Run: apt-get install python graphviz Usage Usage: gprof2dot.py [options] [file] ... Examples gprof /path/to/your/executable arg1 arg2gprof path/to/your/executable | gprof2dot.py | dot -Tpng -o output.png Java HPROF See Russell Power's blog post for details.

Linux perf perf record -g -- /path/to/your/executableperf script | gprof2dot.py -f perf | dot -Tpng -o output.png oprofile opcontrol --callgraph=16opcontrol --start /path/to/your/executable arg1 arg2opcontrol --stopopcontrol --dumpopreport -cgf | gprof2dot.py -f oprofile | dot -Tpng -o output.png python profile python hotshot profiler xperf Output.