From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754182AbZEYMrw (ORCPT ); Mon, 25 May 2009 08:47:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752783AbZEYMrI (ORCPT ); Mon, 25 May 2009 08:47:08 -0400 Received: from casper.infradead.org ([85.118.1.10]:47587 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753146AbZEYMrH (ORCPT ); Mon, 25 May 2009 08:47:07 -0400 Message-Id: <20090525124559.995591577@chello.nl> References: <20090525124523.010479297@chello.nl> User-Agent: quilt/0.46-1 Date: Mon, 25 May 2009 14:45:24 +0200 From: Peter Zijlstra To: Ingo Molnar Cc: Paul Mackerras , Corey Ashford , linux-kernel@vger.kernel.org, Peter Zijlstra , Arnaldo Carvalho de Melo , John Kacur Subject: [PATCH 1/5] perf_counter: fix perf-$cmd invokation Content-Disposition: inline; filename=perf_counter-fix-perf-cmd.patch X-Bad-Reply: References but no 'Re:' in Subject. Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix: $ perf-top fatal: cannot handle -top internally LKML-Reference: Signed-off-by: Peter Zijlstra --- Documentation/perf_counter/perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/Documentation/perf_counter/perf.c =================================================================== --- linux-2.6.orig/Documentation/perf_counter/perf.c +++ linux-2.6/Documentation/perf_counter/perf.c @@ -357,7 +357,7 @@ int main(int argc, const char **argv) * die if that one cannot handle it. */ if (!prefixcmp(cmd, "perf-")) { - cmd += 4; + cmd += 5; argv[0] = cmd; handle_internal_command(argc, argv); die("cannot handle %s internally", cmd); --