From: Ingo Molnar Date: Wed, 3 Jun 2009 18:09:11 +0000 (+0200) Subject: perf help: Fix bug when there's no perf-* command around X-Git-Tag: v2.6.31-rc1~383^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=051cdc3c2d0e24443ac03aff03ee89807ec8c589;p=pandora-kernel.git 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 Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Corey Ashford Cc: Marcelo Tosatti Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed