From: Ingo Molnar on

* Arnaldo Carvalho de Melo <acme(a)infradead.org> wrote:

> 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(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/