From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: kaos@ocs.com.au, akpm <akpm@osdl.org>
Subject: [PATCH] buildcheck: reduce DEBUG_INFO noise from reference* scripts
Date: Mon, 14 Mar 2005 11:02:09 -0800 [thread overview]
Message-ID: <20050314110209.5ced9d9d.rddunlap@osdl.org> (raw)
Reduce noise in 'make buildcheck' that is caused by CONFIG_DEBUG_INFO=y.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
scripts/reference_discarded.pl | 3 +++
scripts/reference_init.pl | 1 +
2 files changed, 4 insertions(+)
diff -Naurp ./scripts/reference_discarded.pl~ref_init_debugs ./scripts/reference_discarded.pl
--- ./scripts/reference_discarded.pl~ref_init_debugs 2005-03-01 23:38:08.000000000 -0800
+++ ./scripts/reference_discarded.pl 2005-03-14 10:38:47.000000000 -0800
@@ -82,6 +82,8 @@ foreach $object (keys(%object)) {
}
if (($line =~ /\.text\.exit$/ ||
$line =~ /\.exit\.text$/ ||
+ $line =~ /\.text\.init$/ ||
+ $line =~ /\.init\.text$/ ||
$line =~ /\.data\.exit$/ ||
$line =~ /\.exit\.data$/ ||
$line =~ /\.exitcall\.exit$/) &&
@@ -96,6 +98,7 @@ foreach $object (keys(%object)) {
$from !~ /\.debug_ranges$/ &&
$from !~ /\.debug_line$/ &&
$from !~ /\.debug_frame$/ &&
+ $from !~ /\.debug_loc$/ &&
$from !~ /\.exitcall\.exit$/ &&
$from !~ /\.eh_frame$/ &&
$from !~ /\.stab$/)) {
diff -Naurp ./scripts/reference_init.pl~ref_init_debugs ./scripts/reference_init.pl
--- ./scripts/reference_init.pl~ref_init_debugs 2005-03-01 23:38:17.000000000 -0800
+++ ./scripts/reference_init.pl 2005-03-14 10:40:19.000000000 -0800
@@ -98,6 +98,7 @@ foreach $object (sort(keys(%object))) {
$from !~ /\.pdr$/ &&
$from !~ /\__param$/ &&
$from !~ /\.altinstructions/ &&
+ $from !~ /\.eh_frame/ &&
$from !~ /\.debug_/)) {
printf("Error: %s %s refers to %s\n", $object, $from, $line);
}
---
next reply other threads:[~2005-03-14 19:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 19:02 Randy.Dunlap [this message]
2005-03-14 19:38 ` Sam Ravnborg
2005-03-14 20:33 ` Keith Owens
2005-03-14 21:38 ` Randy.Dunlap
2005-03-14 21:40 ` Sam Ravnborg
2005-03-14 21:50 ` Randy.Dunlap
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=20050314110209.5ced9d9d.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@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
Powered by JetHome