diff options
| author | Ingo Molnar <[email protected]> | 2020-02-29 09:10:03 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-02-29 09:10:03 +0000 |
| commit | 7977fed974d60a72733243cf54d7955cd6dccd91 (patch) | |
| tree | d3c1ef8704af24adc907f22e8d57c14c251ecb09 /tools/perf/builtin-annotate.c | |
| parent | Merge tag 'perf-urgent-for-mingo-5.6-20200220' of git://git.kernel.org/pub/sc... (diff) | |
| parent | perf annotate: Fix segfault with source toggle (diff) | |
| download | kernel-7977fed974d60a72733243cf54d7955cd6dccd91.tar.gz kernel-7977fed974d60a72733243cf54d7955cd6dccd91.zip | |
Merge tag 'perf-urgent-for-mingo-5.6-20200228' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo:
perf annotate:
Ravi Bangoria:
- Fix segfault with source toggle.
- Fix --show-total-period and --show-nr-samples for tui/stdio2.
- Fix handling of settings in ~/.perfconfig versus the ones passed
in the command line
- Re-render title bar after switching back from script browser.
- Fix options man page, document some missing ones.
perf probe:
He Zhe:
- Check return value of strlist__add() for -ENOMEM.
tools UAPI:
Arnaldo Carvalho de Melo:
- Sync x86's msr-index.h copy with the kernel sources.
- Update tools's copy of x86's kvm.h headers.
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index ff61795a4d13..6c0a0412502e 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -566,6 +566,8 @@ int cmd_annotate(int argc, const char **argv) if (ret < 0) return ret; + annotation_config__init(&annotate.opts); + argc = parse_options(argc, argv, options, annotate_usage, 0); if (argc) { /* @@ -605,8 +607,6 @@ int cmd_annotate(int argc, const char **argv) if (ret < 0) goto out_delete; - annotation_config__init(); - symbol_conf.try_vmlinux_path = true; ret = symbol__init(&annotate.session->header.env); |
