public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: Masami Hiramatsu <mhiramat@redhat.com>
Cc: wenji.huang@oracle.com, SystemTAP <systemtap@sources.redhat.com>
Subject: Re: [PATCH 3/3] PR4886: Check build-id in module_init function if  able.
Date: Wed, 01 Oct 2008 21:44:00 -0000	[thread overview]
Message-ID: <20081001214334.D83241544B4@magilla.localdomain> (raw)
In-Reply-To: Masami Hiramatsu's message of  Wednesday, 1 October 2008 17:38:36 -0400 <48E3EDDC.8000000@redhat.com>

> I'm not sure when the build-id is updated, but interested in your
> enhancement. :-)
> If I'm using an out-of-tree driver, is build-id updated when I updated
> the driver's source code but didn't change running kernel?
> In other words, would each driver have its build-id which is different
> from other drivers and kernel?

Yes, every non-identical build of a .ko file should result in a distinct
build ID embedded in that .ko file.  Only if you rebuild the same code to
get the same binary should get you the same build ID.  (The build IDs of
the related kernel or of other .ko's have nothing to do with this.)


Thanks,
Roland

  reply	other threads:[~2008-10-01 21:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-28  2:26 Wenji Huang
2008-09-28 13:38 ` Frank Ch. Eigler
2008-09-30 16:29   ` Elena Zannoni
2008-10-01 21:41 ` Masami Hiramatsu
2008-10-01 21:44   ` Roland McGrath [this message]
2008-10-01 21:45   ` Frank Ch. Eigler

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=20081001214334.D83241544B4@magilla.localdomain \
    --to=roland@redhat.com \
    --cc=mhiramat@redhat.com \
    --cc=systemtap@sources.redhat.com \
    --cc=wenji.huang@oracle.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).