Re: [PATCH 1/2] perf completion: complete 'perf kvm'

From: Ramkumar Ramachandra
Date: Thu Dec 12 2013 - 04:10:39 EST


David Ahern wrote:
> I don't like the command list being embedded in the completion script. It
> will get outdated quickly.

I could introduce a

$ perf kvm --list-cmds

but that would mean a

printf("record report stat ..")

in builtin-kvm.c, because the commands aren't in any sort of array.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/