[PATCH v3 12/13] perf tools: Always give options even it not compiled

2015-11-29 Thread Wang Nan
This patch keeps options of perf builtins same in all conditions. If one option is disabled because of compiling options, users should be notified. Masami suggested another implementation in [1] that, by adding a OPTION_NEXT_DEPENDS option before those options in the 'struct option' array,

[PATCH v3 12/13] perf tools: Always give options even it not compiled

2015-11-29 Thread Wang Nan
This patch keeps options of perf builtins same in all conditions. If one option is disabled because of compiling options, users should be notified. Masami suggested another implementation in [1] that, by adding a OPTION_NEXT_DEPENDS option before those options in the 'struct option' array,