Re: [PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-22 Thread Namhyung Kim
Hi Ingo, On Mon, 22 Sep 2014 07:16:30 +0200, Ingo Molnar wrote: > * Namhyung Kim wrote: >> +list_for_each_entry(dso, &machine->kernel_dsos, node) { >> +const char *suffix; >> + >> +suffix = dso->long_name + strlen(dso->long_name) - 3; >> +

Re: [PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-21 Thread Ingo Molnar
* Namhyung Kim wrote: > There's a problem on finding correct kernel symbols when perf report > runs on a different kernel. Although a part of the problem was solved > by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded kernel > version when finding vmlinux"), there's a remaining probl

[PATCH v3] perf tools: Fix build-id matching on vmlinux

2014-09-21 Thread Namhyung Kim
There's a problem on finding correct kernel symbols when perf report runs on a different kernel. Although a part of the problem was solved by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded kernel version when finding vmlinux"), there's a remaining problem still. When perf records samp