Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583419

Re: [PATCH] scripts: objdiff: Ignore debug info when comparing

From Jason Cooper <jason@lakedaemon.net>
Newsgroups linux.kernel
Subject Re: [PATCH] scripts: objdiff: Ignore debug info when comparing
Date 2017-02-17 15:00 +0100
Message-ID <tbReN-4Z1-3@gated-at.bofh.it> (permalink)
References <tbBD4-3zv-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Stephen,

On Thu, Feb 16, 2017 at 01:18:20PM -0800, Stephen Boyd wrote:
> If the kernel is configured to be built with debug symbols, or
> has bug tables, comparing files may not work if line numbers
> change. This makes comparing object files with these options
> harder to do. Let's strip out the debug info and drop the
> __bug_table here so that we don't see false positives. There may
> be other things to drop later, and it may be architecture
> specific, but this works for me with my ARM64 build.
> 
> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>

Reviewed-by: Jason Cooper <jason@lakedaemon.net>

I'm glad it's useful!

thx,

Jason.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] scripts: objdiff: Ignore debug info when comparing Stephen Boyd <stephen.boyd@linaro.org> - 2017-02-16 22:20 +0100
  Re: [PATCH] scripts: objdiff: Ignore debug info when comparing Jason Cooper <jason@lakedaemon.net> - 2017-02-17 15:00 +0100
  Re: [PATCH] scripts: objdiff: Ignore debug info when comparing Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-02-26 07:40 +0100

csiph-web