linux/Documentation/perf_counter
Peter Zijlstra 8229289b60 perf report: Fix comm sorting
Since we can (and do) change comm strings during the collection
phase, we cannot actually sort on them to build the histogram.
Therefore add an (optional) third sorting phase to collapse the
histrogram.

Comm sorting now builds the histrogram on threads and then in
the collapse phase collects all threads with the same comm.

This collapsed histogram is then reversed and sorted on events.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-03 14:14:31 +02:00
..
Documentation perf_counter tools: Generate per command manpages (and pdf/html, etc.) 2009-05-30 13:52:44 +02:00
util perf record: Use long arg for counter period 2009-06-03 14:14:31 +02:00
.gitignore perf_counter tools: Make .gitignore reflect perf_counter tools files 2009-06-02 09:46:09 +02:00
builtin-help.c perf_counter tools: Generate per command manpages (and pdf/html, etc.) 2009-05-30 13:52:44 +02:00
builtin-record.c perf record: Use long arg for counter period 2009-06-03 14:14:31 +02:00
builtin-report.c perf report: Fix comm sorting 2009-06-03 14:14:31 +02:00
builtin-stat.c perf_counter tools: Make source code headers more coherent 2009-06-02 23:37:05 +02:00
builtin-top.c perf_counter tools: Make source code headers more coherent 2009-06-02 23:37:05 +02:00
builtin.h perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
command-list.txt perf_counter: First part of 'perf report' conversion to C + elfutils 2009-05-26 13:52:53 +02:00
design.txt perf_counter: documentation update 2009-05-01 13:23:45 +02:00
Makefile perf_counter tools: Cleanup Makefile 2009-06-02 11:01:43 +02:00
perf.c perf_counter tools: Make source code headers more coherent 2009-06-02 23:37:05 +02:00
perf.h perf_counter tools: Fix up the ABI shakeup 2009-06-02 21:45:34 +02:00