[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1413990949-13953-1-git-send-email-namhyung@kernel.org>
Date: Thu, 23 Oct 2014 00:15:44 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Jiri Olsa <jolsa@...hat.com>, David Ahern <dsahern@...il.com>,
LKML <linux-kernel@...r.kernel.org>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Hemant Kumar <hemant@...ux.vnet.ibm.com>,
Alexander Yarygin <yarygin@...ux.vnet.ibm.com>
Subject: [PATCHSET 0/5] perf tools: option parsing improvement
Hello,
This patchset tries to enhance option parser a bit. Patch 1-3 are to
reuse existing perf record options for other commands like perf kvm
stat record. Patch 4-5 are to support exclusive options that cannot
be used at the same time. The perf probe has such options and upcoming
sdt-cache command also.
You can get it from 'perf/option-share-v2' branch on my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Any comments are welcome, thanks
Namhyung
Cc: Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
Cc: Hemant Kumar <hemant@...ux.vnet.ibm.com>
Cc: Alexander Yarygin <yarygin@...ux.vnet.ibm.com>
Namhyung Kim (5):
perf tools: Add PARSE_OPT_DISABLED flag
perf tools: Export usage string and option table of perf record
perf kvm: Print kvm specific --help output
perf tools: Add support for exclusive option
perf probe: Use PARSE_OPT_EXCLUSIVE flag
tools/perf/builtin-kvm.c | 25 +++++++++++++
tools/perf/builtin-probe.c | 54 +++++-----------------------
tools/perf/builtin-record.c | 7 ++--
tools/perf/builtin-script.c | 1 -
tools/perf/builtin-timechart.c | 7 ++--
tools/perf/perf.h | 3 ++
tools/perf/util/parse-options.c | 78 ++++++++++++++++++++++++++++++++++-------
tools/perf/util/parse-options.h | 4 +++
8 files changed, 116 insertions(+), 63 deletions(-)
--
2.0.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists