aha/Documentation/perf_counter
Arnaldo Carvalho de Melo a4c43beaff perf report: Fix rbtree bug
Ingo Molnar reported:

> FYI, i just got this crash (segfault) in perf report after
> collecting a long profile from Xorg:
>
> Starting program: /home/mingo/tip/Documentation/perf_counter/perf report
> [Thread debugging using libthread_db enabled]
> Detaching after fork from child process 20008.
> [New Thread 0x7f92fd62a6f0 (LWP 20005)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000041031a in __rb_erase_color (node=0x142c090, parent=0x0,
> root=0x881918)
>     at util/rbtree.c:143
> 143			if (parent->rb_left == node)

It was a problem introduced in this cset:

 perf report: Fix comm sorting - 8229289b60

This patch should fix it.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
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: Stephane Eranian <eranian@googlemail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-06-04 09:27:21 +02:00
..
Documentation perf_counter tools: Generate per command manpages (and pdf/html, etc.) 2009-05-30 13:52:44 +02:00
util perf_counter tools: Work around warnings in older GCCs 2009-06-03 21:50:44 +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: Refine capture printout 2009-06-03 19:27:19 +02:00
builtin-report.c perf report: Fix rbtree bug 2009-06-04 09:27:21 +02:00
builtin-stat.c perf stat: Print out all arguments 2009-06-03 19:36:07 +02:00
builtin-top.c perf_counter tools: Work around warnings in older GCCs 2009-06-03 21:50:44 +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: Optimize harder 2009-06-03 20:15:15 +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