linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francis Moreau <francis.moro@gmail.com>
To: linux-perf-users@vger.kernel.org
Subject: Re: vmlinux buildid doesn't match the running one (/sys/kernel/notes)
Date: Sun, 1 May 2011 21:02:35 +0200	[thread overview]
Message-ID: <BANLkTikfDmsZ056G+Eht2BbNH4GVBokXzw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim+kr6TYdkuh=bugJaNmSnLE0h-8Q@mail.gmail.com>

Hi,

Sorry for asking again but I would be really greatfull is someone can
tell me what's wrong when using a kernel that I compiled by my own.

I do not have that issue is I use the kernel shipped by my distro (FC14).

Thanks

On Thu, Apr 28, 2011 at 7:04 PM, Francis Moreau <francis.moro@gmail.com> wrote:
> Hello,
>
> I'm trying to use perf-probe, but it fails.
>
> Basically it's due to the buildid of the running kernel (the one which
> can be read from /sys/kernel/notes) and the one in vmlinx (which I
> compiled my self).
>
> I did this:
>
>  $ make
>  $ make modules_install install
>  $ ls vmlinux
>  vmlinux
>
> reboot
>
>  $ perf probe -k vmlinux -L schedule
>  Failed to find path of kernel module.
>  Failed to open debuginfo file.
>  Error: Failed to show lines. (-2)
>
> So my question is why the buildids doesn't match ?
>
> I guess I did something wrong since it's pretty a standard use case
> but I don't see why...
>
> Thanks
> --
> Francis
>



-- 
Francis

  reply	other threads:[~2011-05-01 19:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-28 17:04 vmlinux buildid doesn't match the running one (/sys/kernel/notes) Francis Moreau
2011-05-01 19:02 ` Francis Moreau [this message]
     [not found]   ` <BANLkTikauRD6CF3MuBmuvQqJAuDPHE2x-Q@mail.gmail.com>
2011-05-04 13:12     ` Lin Ming
2011-05-05  9:41       ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTikfDmsZ056G+Eht2BbNH4GVBokXzw@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).