perf help: Fix bug when there's no perf-* command around
authorIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 18:09:11 +0000 (20:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 18:09:11 +0000 (20:09 +0200)
commit051cdc3c2d0e24443ac03aff03ee89807ec8c589
tree4a1db532835c656a0cb6c8e2bfdb3fddd734fb1d
parenteed4dcd443da7a46131ef37c7a389b444905960e
perf help: Fix bug when there's no perf-* command around

main_cmds can be empty - fix util/help.c to handle this case
without segfaulting.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Cc: 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>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/util/help.c
This page took 0.032045 seconds and 5 git commands to generate.