diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-03-18 04:23:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-03-18 04:23:09 -0400 |
commit | 0afd2d51029961281572d02545c7bde1b3f4292c (patch) | |
tree | 73f8b07ee0b43ebd93fb0556b0af0f217f897d5c /tools/perf/util/parse-options.h | |
parent | 81827ed8d85e892311965dc9ec4120b2b2e745bd (diff) | |
parent | d75e6097ef1f7669deb500fbbdf53cfe524f1b53 (diff) |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo:
User visible:
* Add several futex 'perf bench' microbenchmarks (Davidlohr Bueso)
* Speed up thread map generation (Don Zickus)
* Fix synthesizing mmaps for threads (Don Zickus)
* Fix invalid output on event group stdio report (Namhyung Kim)
* Introduce 'perf kvm --list-cmds' command line option for use by
scripts (Ramkumar Ramachandra)
Documentation:
* Clarify load-latency information in the 'perf mem' docs (Andi Kleen)
* Clarify x86 register naming in 'perf probe' docs (Andi Kleen)
Refactorings:
* hists browser refactorings to reuse code accross UIs (Namhyung Kim)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/parse-options.h')
-rw-r--r-- | tools/perf/util/parse-options.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/perf/util/parse-options.h b/tools/perf/util/parse-options.h index cbf0149cf221..d8dac8ac5f37 100644 --- a/tools/perf/util/parse-options.h +++ b/tools/perf/util/parse-options.h | |||
@@ -140,6 +140,11 @@ extern int parse_options(int argc, const char **argv, | |||
140 | const struct option *options, | 140 | const struct option *options, |
141 | const char * const usagestr[], int flags); | 141 | const char * const usagestr[], int flags); |
142 | 142 | ||
143 | extern int parse_options_subcommand(int argc, const char **argv, | ||
144 | const struct option *options, | ||
145 | const char *const subcommands[], | ||
146 | const char *usagestr[], int flags); | ||
147 | |||
143 | extern NORETURN void usage_with_options(const char * const *usagestr, | 148 | extern NORETURN void usage_with_options(const char * const *usagestr, |
144 | const struct option *options); | 149 | const struct option *options); |
145 | 150 | ||
@@ -148,7 +153,8 @@ extern NORETURN void usage_with_options(const char * const *usagestr, | |||
148 | enum { | 153 | enum { |
149 | PARSE_OPT_HELP = -1, | 154 | PARSE_OPT_HELP = -1, |
150 | PARSE_OPT_DONE, | 155 | PARSE_OPT_DONE, |
151 | PARSE_OPT_LIST, | 156 | PARSE_OPT_LIST_OPTS, |
157 | PARSE_OPT_LIST_SUBCMDS, | ||
152 | PARSE_OPT_UNKNOWN, | 158 | PARSE_OPT_UNKNOWN, |
153 | }; | 159 | }; |
154 | 160 | ||