Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-14 Thread Jiri Olsa
On Thu, Mar 13, 2014 at 11:52:12AM -0400, Ramkumar Ramachandra wrote: > Ramkumar Ramachandra wrote: > > Jiri Olsa wrote: > >> On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: > >>> Introduce > >>> > >>> $ perf kvm --list-cmds > >>> > >>> to dump a raw list of commands for

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-14 Thread Jiri Olsa
On Thu, Mar 13, 2014 at 11:52:12AM -0400, Ramkumar Ramachandra wrote: Ramkumar Ramachandra wrote: Jiri Olsa wrote: On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-13 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: > Jiri Olsa wrote: >> On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: >>> Introduce >>> >>> $ perf kvm --list-cmds >>> >>> to dump a raw list of commands for use by the completion script. In >>> order to do this, introduce

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-13 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: Jiri Olsa wrote: On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-05 Thread Ramkumar Ramachandra
Jiri Olsa wrote: > On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: >> Introduce >> >> $ perf kvm --list-cmds >> >> to dump a raw list of commands for use by the completion script. In >> order to do this, introduce parse_options_subcommand() for handling >> subcommands as a

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-05 Thread Jiri Olsa
On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: > Introduce > > $ perf kvm --list-cmds > > to dump a raw list of commands for use by the completion script. In > order to do this, introduce parse_options_subcommand() for handling > subcommands as a special case in the

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-05 Thread Jiri Olsa
On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling subcommands as a special case in the

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-05 Thread Ramkumar Ramachandra
Jiri Olsa wrote: On Mon, Mar 03, 2014 at 08:26:36PM -0500, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling subcommands as a special case in

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-04 Thread David Ahern
On 3/3/14, 6:26 PM, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling subcommands as a special case in the parse-options machinery. Cc: David

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-04 Thread David Ahern
On 3/3/14, 6:26 PM, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling subcommands as a special case in the parse-options machinery. Cc: David

[PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-03 Thread Ramkumar Ramachandra
Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling subcommands as a special case in the parse-options machinery. Cc: David Ahern Cc: Arnaldo Carvalho de Melo Signed-off-by:

[PATCH] perf kvm: introduce --list-cmds for use by scripts

2014-03-03 Thread Ramkumar Ramachandra
Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. In order to do this, introduce parse_options_subcommand() for handling subcommands as a special case in the parse-options machinery. Cc: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho de Melo

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-16 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 12, 2013 at 10:56:51PM +0530, Ramkumar Ramachandra escreveu: > Introduce > > $ perf kvm --list-cmds > > to dump a raw list of commands for use by the completion script. While > at it, refactor kvm_usage so that there's only one copy of the command > listing. > > Cc: David Ahern >

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-16 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 12, 2013 at 10:56:51PM +0530, Ramkumar Ramachandra escreveu: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. While at it, refactor kvm_usage so that there's only one copy of the command listing. Cc: David Ahern

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-12 Thread David Ahern
On 12/12/13, 10:26 AM, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. While at it, refactor kvm_usage so that there's only one copy of the command listing. Cc: David Ahern Cc: Arnaldo Carvalho de Melo

[PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-12 Thread Ramkumar Ramachandra
Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. While at it, refactor kvm_usage so that there's only one copy of the command listing. Cc: David Ahern Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- David Ahern wrote:

[PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-12 Thread Ramkumar Ramachandra
Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. While at it, refactor kvm_usage so that there's only one copy of the command listing. Cc: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar

Re: [PATCH] perf kvm: introduce --list-cmds for use by scripts

2013-12-12 Thread David Ahern
On 12/12/13, 10:26 AM, Ramkumar Ramachandra wrote: Introduce $ perf kvm --list-cmds to dump a raw list of commands for use by the completion script. While at it, refactor kvm_usage so that there's only one copy of the command listing. Cc: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho