]> git.karo-electronics.de Git - linux-beck.git/commit
perf tools: Add PARSE_OPT_DISABLED flag
authorNamhyung Kim <namhyung@kernel.org>
Wed, 22 Oct 2014 15:15:45 +0000 (00:15 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 29 Oct 2014 12:32:47 +0000 (10:32 -0200)
commitd152d1be5962ace0706066db71b4f05dff8764eb
tree3e8383632d183bcff2066436bfbb5db01e8f6324
parent29f9e5211132b0a0a4dfbbb403c136eebc334b73
perf tools: Add PARSE_OPT_DISABLED flag

In some cases, we need to reuse exising options with some of them
disabled.  To do that, add PARSE_OPT_DISABLED flag and
set_option_flag() function.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1413990949-13953-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-options.c
tools/perf/util/parse-options.h