diff options
| author | Akihiro Nagai <[email protected]> | 2010-12-03 03:58:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-12-06 17:33:29 +0000 |
| commit | e4e18d568b0e833c75c1f7833e1690cdde8f4d76 (patch) | |
| tree | 829337ccfa8b09ad7dc23f9227886f0396698db6 /tools/perf/builtin-script.c | |
| parent | perf hist: Better displaying of unresolved DSOs and symbols (diff) | |
| download | kernel-e4e18d568b0e833c75c1f7833e1690cdde8f4d76.tar.gz kernel-e4e18d568b0e833c75c1f7833e1690cdde8f4d76.zip | |
perf options: add OPT_CALLBACK_DEFAULT_NOOPT
Add new macro OPT_CALLBACK_DEFAULT_NOOPT for parse_options.
It enables to pass the default value (opt->defval) to the callback function
processing options require no argument.
Reviewed-by: Masami Hiramatsu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Akihiro Nagai <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
