]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf tools: Add option macro OPT_CALLBACK_OPTARG
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 14 Jul 2014 10:02:54 +0000 (13:02 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Jul 2014 20:57:36 +0000 (17:57 -0300)
commitea8e08a16a1e6566be3f775c0bd351fa52ab6b9d
treef4698f3f65652a09c31fe20b622729dc50cbdc8d
parentf6d313699a9612a30fabe05bf2c9302c1408b5cf
perf tools: Add option macro OPT_CALLBACK_OPTARG

Add an option macro that is the same as OPT_CALLBACK except that the
argument is optional and it is possible to associate additional data
with it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1405332185-4050-31-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-options.h