]> pere.pagekite.me Git - homepage.git/blob - blog/data/2016-11-13-coz-profiler.txt
Generated.
[homepage.git] / blog / data / 2016-11-13-coz-profiler.txt
1 Title: Coz profiler for multi-threaded software is now in Debian
2 Tags: english, debian
3 Date: 2016-11-13 12:30
4
5 <p><a href="http://coz-profiler.org/">The Coz profiler</a>, a nice
6 profiler able to run benchmarking experiments on the instrumented
7 multi-threaded program, finally
8 <a href="https://tracker.debian.org/pkg/coz-profiler">made it into
9 Debian unstable yesterday</A>. LluĂ­s Vilanova and I have spent many
10 months since
11 <a href="http://people.skolelinux.org/pere/blog/Coz_can_help_you_find_bottlenecks_in_multi_threaded_software___nice_free_software.html">I
12 blogged about the coz tool</a> in August working with upstream to make
13 it suitable for Debian. There are still issues with clang
14 compatibility, inline assembly only working x86 and minimized
15 JavaScript libraries.</p>
16
17 <p>To test it, install 'coz-profiler' using apt and run it like this:</p>
18
19 <p><blockquote>
20 <tt>coz run --- /path/to/binary-with-debug-info</tt>
21 </blockquote></p>
22
23 <p>This will produce a profile.coz file in the current working
24 directory with the profiling information. This is then given to a
25 JavaScript application provided in the package and available from
26 <a href="http://plasma-umass.github.io/coz/">a project web page</a>.
27 To start the local copy, invoke it in a browser like this:</p>
28
29 <p><blockquote>
30 <tt>sensible-browser /usr/share/coz-profiler/viewer/index.htm</tt>
31 </blockquote></p>
32
33 <p>See the project home page and the
34 <a href="https://www.usenix.org/publications/login/summer2016/curtsinger">USENIX
35 ;login: article on Coz</a> for more information on how it is
36 working.</p>