perf: Allow perf utilities to have "callback" options without arguments
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 12 Sep 2009 05:52:54 +0000 (07:52 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Sep 2009 09:42:11 +0000 (11:42 +0200)
commita79d7db9fdb0037925ffa31f6ff9b189ff75d235
tree8470443024de36918e192bb157e8b946899fb274
parent8755a8f27ae590dde225f9005ee18c6d9c4c6d78
perf: Allow perf utilities to have "callback" options without arguments

timechart needs to add a "callback" type command line argument that
does not take arguments.

This patch adds the parse-options.h infrastructure to make this
possible.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090912130440.548666c1@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-options.h