]> git.karo-electronics.de Git - linux-beck.git/commit
perf record: Convert to Git option parsing
authorIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 07:17:18 +0000 (09:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 09:26:32 +0000 (11:26 +0200)
commit0e9b20b8a1cab6c6ab4f98f917a2d98783103969
treefb294181846f82f1cd3dc96bcbd8a8506c3f8b27
parent4e97ddf09ee3ce715fc334399bae4cc0c0a13057
perf record: Convert to Git option parsing

Remove getopt usage and use Git's much more advanced and more compact
command option library.

Git's library (util/parse-options.[ch]) constructs help texts and
error messages automatically, and has a number of other convenience
features as well.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-record.c
Documentation/perf_counter/builtin-top.c