]> git.baikalelectronics.ru Git - kernel.git/commit
perf timechart: Use OPT_PARENT for common options
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 17 Mar 2017 14:23:21 +0000 (11:23 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 17 Mar 2017 14:49:08 +0000 (11:49 -0300)
commit0772b25fc6c382706a426bef55d09e94ae427f9c
tree5c308e3444ac8ef4f1f003a2dd0b1efb2bfeae72
parent3be026eaebf7e5610d938a06a8148d2b1a5207dc
perf timechart: Use OPT_PARENT for common options

Move -T/--tasks-only and -P/--power-only options to a separate options
array that then gets referenced via OPT_PARENT from the 'perf timechart'
and 'perf timechart record' option arrays.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Changbin Du <changbin.du@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-j80lol9wj1i6556ibh48iebe@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-timechart.c