Re: [GIT PULL] perf-tools changes for v6.13

From: Namhyung Kim
Date: Tue Nov 26 2024 - 19:00:23 EST


Hello,

On Tue, Nov 26, 2024 at 03:33:10PM -0800, Linus Torvalds wrote:
> On Sun, 24 Nov 2024 at 23:17, Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
> >
> > Please consider pulling the following changes in perf tools for v6.13.
>
> Hmm. Has the default search path for the vmlinux image changed?

I don't think so.

>
> Doing profiling with this, I get
>
> openat(AT_FDCWD, "vmlinux", O_RDONLY) = 5
>
> which is very very wrong for my kernel build - it basically picks up
> the vmlinux image from the build directory, which has absolutely
> *nothign* to do with the image that is being run at the moment.

Sure, at least it should match the build-id before use.

>
> So now I need to point "perf report" at the actual image, which I
> didn't need to do before.

Ok, I'll try to reproduce it and take a look.

Thanks,
Namhyung