Messages in this thread | | | From | Arnaldo Carvalho de Melo <> | Subject | [GIT PULL 0/2] perf tui fix and annotate improvement | Date | Wed, 26 May 2010 18:30:47 -0300 |
| |
Hi Ingo,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 perf
I still have to make it cache vmlinux files instead of always caching kallsyms, so that users can select it via .perfconfig the tradeof .debug/ disk space versus offline/precise (build-id verified) annotate ability for kernel symbols.
But one can use another seldom used perf command to workaround this situation, buildid-cache, by doing:
perf buildid-cache -r /path/to/vmlinux perf buildid-cache -a /path/to/vmlinux
The first one will read the build-id in /path/to/vmlinux, and remove the symlink from the cache, the second will add the vmlinux file to the cache and make the symlink to it, so that 'perf archive' will package the right vmlinux and then offline annotation should work as expected.
Regards,
- Arnaldo
Arnaldo Carvalho de Melo (2): perf tui: Reset use_browser if stdout is not a tty perf symbols: Add the build id cache to the vmlinux path
tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-top.c | 2 +- tools/perf/util/newt.c | 1 + tools/perf/util/symbol.c | 27 +++++++++++++++++++++++---- tools/perf/util/symbol.h | 2 +- 5 files changed, 27 insertions(+), 7 deletions(-)
| |