From: Sam Ravnborg <sam@ravnborg.org>
To: akpm@linux-foundation.org
Cc: linux-kbuild@vger.kernel.org, agruen@suse.de, randy.dunlap@oracle.com
Subject: Re: [patch 1/8] genksyms: track symbol checksum changes
Date: Wed, 3 Dec 2008 22:33:31 +0100 [thread overview]
Message-ID: <20081203213331.GD7599@uranus.ravnborg.org> (raw)
In-Reply-To: <200812012221.mB1ML2lO013046@imap1.linux-foundation.org>
On Mon, Dec 01, 2008 at 02:21:01PM -0800, akpm@linux-foundation.org wrote:
> From: Andreas Gruenbacher <agruen@suse.de>
>
> Sometimes it is preferable to avoid changes of exported symbol checksums
> (to avoid breaking externally provided modules). When a checksum change
> occurs, it can be hard to figure out what caused this change: underlying
> types may have changed, or additional type information may simply have
> become available at the point where a symbol is exported.
>
> Add a new --reference option to genksyms which allows it to report why
> checksums change, based on the type information dumps it creates with the
> --dump-types flag. Genksyms will read in such a dump from a previous run,
> and report which symbols have changed (and why).
>
> The behavior can be controlled for an entire build as follows: If
> KBUILD_SYMTYPES is set, genksyms uses --dump-types to produce *.symtypes
> dump files. If any *.symref files exist, those will be used as the
> reference to check against. If KBUILD_PRESERVE is set, checksum changes
> will fail the build.
>
> Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: Randy Dunlap <randy.dunlap@oracle.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Applied.
Sam
prev parent reply other threads:[~2008-12-03 21:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 22:21 [patch 1/8] genksyms: track symbol checksum changes akpm
2008-12-03 21:33 ` Sam Ravnborg [this message]
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=20081203213331.GD7599@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=agruen@suse.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=randy.dunlap@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