diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-08-05 12:39:12 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-08-05 12:39:12 +0200 |
commit | 8a06bf14008fbf55a86105b8569494f4beeb8762 (patch) | |
tree | 74c0313294eb9dc2bb409ce5ea154b478c6628cd /tools/perf/util/parse-options.c | |
parent | e7882d6c40874a5b5033ca85f7508a602a60b662 (diff) | |
parent | 7f309ed6453926a81e2a97d274f67f1e48f0d74c (diff) | |
download | op-kernel-dev-8a06bf14008fbf55a86105b8569494f4beeb8762.zip op-kernel-dev-8a06bf14008fbf55a86105b8569494f4beeb8762.tar.gz |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/core fixes and some late updates from Arnaldo Carvalho de Melo:
* Make clean brace expansion fix for some shells, from Palmer Cox
* Warn user just once per guest kernel when not finding kernel info,
from David Ahern
* perf test fix from Jiri Olsa
* Fix error handling on event creation in perf top, from David Ahern
* Fix check on perf_target__strnerror, from Namhyung Kim
* Save the whole cmdline, from David Ahern
* Prep work for the DWARF CFI post unwinder, so that it doesn't
uses perf_session in lots of places, just evlist/evsel is enough.
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.c')
-rw-r--r-- | tools/perf/util/parse-options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/parse-options.c b/tools/perf/util/parse-options.c index 99d02aa..594f8fa 100644 --- a/tools/perf/util/parse-options.c +++ b/tools/perf/util/parse-options.c @@ -1,6 +1,7 @@ #include "util.h" #include "parse-options.h" #include "cache.h" +#include "header.h" #define OPT_SHORT 1 #define OPT_UNSET 2 @@ -413,6 +414,8 @@ int parse_options(int argc, const char **argv, const struct option *options, { struct parse_opt_ctx_t ctx; + perf_header__set_cmdline(argc, argv); + parse_options_start(&ctx, argc, argv, flags); switch (parse_options_step(&ctx, options, usagestr)) { case PARSE_OPT_HELP: |