From: Mike Galbraith Date: Wed, 27 May 2009 08:10:51 +0000 (+0200) Subject: perf record: Fix the profiling of existing pid or whole box X-Git-Tag: v2.6.31-rc1~383^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef65b2a0b3a2f82850144df6e6a7796f6d66da6b;p=pandora-kernel.git perf record: Fix the profiling of existing pid or whole box Perf record bails if no command argument is provided, so you can't use naked -a or -p to profile a running task or the whole box. Allow foreground profiling of an existing pid or the entire system. [ Impact: fix command option handling bug ] Signed-off-by: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Marcelo Tosatti Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed