* [PATCH 0/2] kconfig: updates to streamline_config.pl
@ 2009-04-30 23:36 Steven Rostedt
2009-04-30 23:36 ` [PATCH 1/2] kconfig: unset IKCONFIG_PROC and clean up nesting Steven Rostedt
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Steven Rostedt @ 2009-04-30 23:36 UTC (permalink / raw)
To: linux-kernel
Cc: Ingo Molnar, Andrew Morton, Linus Torvalds, Peter Zijlstra,
Thomas Gleixner, Theodore Tso, Arnaldo Carvalho de Melo, zippel,
linux-kbuild, Sam Ravnborg, Alan Jenkins
Thanks to Alan Jenkins for suggesting these cleanups/fixes/enhancements.
The following patches are in:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
branch: kconfig
Steven Rostedt (2):
kconfig: unset IKCONFIG_PROC and clean up nesting
kconfig: test for /boot/config-uname after /proc/config.gz in localconfig
----
scripts/kconfig/streamline_config.pl | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] kconfig: unset IKCONFIG_PROC and clean up nesting
2009-04-30 23:36 [PATCH 0/2] kconfig: updates to streamline_config.pl Steven Rostedt
@ 2009-04-30 23:36 ` Steven Rostedt
2009-04-30 23:36 ` [PATCH 2/2] kconfig: test for /boot/config-uname after /proc/config.gz in localconfig Steven Rostedt
2009-05-01 8:47 ` [PATCH 0/2] kconfig: updates to streamline_config.pl Alan Jenkins
2 siblings, 0 replies; 5+ messages in thread
From: Steven Rostedt @ 2009-04-30 23:36 UTC (permalink / raw)
To: linux-kernel
Cc: Ingo Molnar, Andrew Morton, Linus Torvalds, Peter Zijlstra,
Thomas Gleixner, Theodore Tso, Arnaldo Carvalho de Melo, zippel,
linux-kbuild, Sam Ravnborg, Alan Jenkins
[-- Attachment #1: 0001-kconfig-unset-IKCONFIG_PROC-and-clean-up-nesting.patch --]
[-- Type: text/plain, Size: 1225 bytes --]
From: Steven Rostedt <srostedt@redhat.com>
Due to cut and paste error IKCONFIG was both set and cleared.
It was suppose to be IKCONFIG_PROC to be cleared.
Also cleaned up if nesting.
[ Impact: enable IKCONFIG ]
Reported-by: Alan Jenkins <sourcejedi.lkml@googlemail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
scripts/kconfig/streamline_config.pl | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 9fa3f81..69b7c3f 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -323,7 +323,7 @@ while(<CIN>) {
# enable IKCONFIG at least as a module
print "CONFIG_IKCONFIG=m\n";
# don't ask about PROC
- print "# CONFIG_IKCONFIG is not set\n";
+ print "# CONFIG_IKCONFIG_PROC is not set\n";
} else {
print;
}
@@ -333,15 +333,12 @@ while(<CIN>) {
if (/^(CONFIG.*)=(m|y)/) {
if (defined($configs{$1})) {
$setconfigs{$1} = $2;
- print;
} elsif ($2 eq "m") {
print "# $1 is not set\n";
- } else {
- print;
+ next;
}
- } else {
- print;
}
+ print;
}
close(CIN);
--
1.6.2.1
--
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] kconfig: test for /boot/config-uname after /proc/config.gz in localconfig
2009-04-30 23:36 [PATCH 0/2] kconfig: updates to streamline_config.pl Steven Rostedt
2009-04-30 23:36 ` [PATCH 1/2] kconfig: unset IKCONFIG_PROC and clean up nesting Steven Rostedt
@ 2009-04-30 23:36 ` Steven Rostedt
2009-05-01 8:47 ` [PATCH 0/2] kconfig: updates to streamline_config.pl Alan Jenkins
2 siblings, 0 replies; 5+ messages in thread
From: Steven Rostedt @ 2009-04-30 23:36 UTC (permalink / raw)
To: linux-kernel
Cc: Ingo Molnar, Andrew Morton, Linus Torvalds, Peter Zijlstra,
Thomas Gleixner, Theodore Tso, Arnaldo Carvalho de Melo, zippel,
linux-kbuild, Sam Ravnborg, Alan Jenkins
[-- Attachment #1: 0002-kconfig-test-for-boot-config-uname-after-proc-con.patch --]
[-- Type: text/plain, Size: 929 bytes --]
From: Steven Rostedt <srostedt@redhat.com>
Many distros put their config in /boot/config-`uname -r`, add a check
for that right after /proc/config.gz
[ Impact: use distro config as default to streamline_config.pl ]
Reported-by: Alan Jenkins <sourcejedi.lkml@googlemail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
scripts/kconfig/streamline_config.pl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 69b7c3f..46ca62d 100644
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -54,6 +54,10 @@ my @searchconfigs = (
"exec" => "zcat",
},
{
+ "file" => "/boot/config-$uname",
+ "exec" => "cat",
+ },
+ {
"file" => "/boot/vmlinuz-$uname",
"exec" => "scripts/extract-ikconfig",
"test" => "scripts/extract-ikconfig",
--
1.6.2.1
--
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] kconfig: updates to streamline_config.pl
2009-04-30 23:36 [PATCH 0/2] kconfig: updates to streamline_config.pl Steven Rostedt
2009-04-30 23:36 ` [PATCH 1/2] kconfig: unset IKCONFIG_PROC and clean up nesting Steven Rostedt
2009-04-30 23:36 ` [PATCH 2/2] kconfig: test for /boot/config-uname after /proc/config.gz in localconfig Steven Rostedt
@ 2009-05-01 8:47 ` Alan Jenkins
2009-05-01 9:01 ` Peter Zijlstra
2 siblings, 1 reply; 5+ messages in thread
From: Alan Jenkins @ 2009-05-01 8:47 UTC (permalink / raw)
To: Steven Rostedt
Cc: linux-kernel, Ingo Molnar, Andrew Morton, Linus Torvalds,
Peter Zijlstra, Thomas Gleixner, Theodore Tso,
Arnaldo Carvalho de Melo, zippel, linux-kbuild, Sam Ravnborg
On 5/1/09, Steven Rostedt <rostedt@goodmis.org> wrote:
> Thanks to Alan Jenkins for suggesting these cleanups/fixes/enhancements.
And thanks to you for pushing this script! It should be handy for
speeding up bisection builds, without accidentally disabling a config
that caused the regression.
Though I'm wary of it for _general_ usage, because of hotplug. I
think it would be even more useful if there was some way to preserve
all the currently selected USB drivers.
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] kconfig: updates to streamline_config.pl
2009-05-01 8:47 ` [PATCH 0/2] kconfig: updates to streamline_config.pl Alan Jenkins
@ 2009-05-01 9:01 ` Peter Zijlstra
0 siblings, 0 replies; 5+ messages in thread
From: Peter Zijlstra @ 2009-05-01 9:01 UTC (permalink / raw)
To: Alan Jenkins
Cc: Steven Rostedt, linux-kernel, Ingo Molnar, Andrew Morton,
Linus Torvalds, Thomas Gleixner, Theodore Tso,
Arnaldo Carvalho de Melo, zippel, linux-kbuild, Sam Ravnborg
On Fri, 2009-05-01 at 09:47 +0100, Alan Jenkins wrote:
> On 5/1/09, Steven Rostedt <rostedt@goodmis.org> wrote:
> > Thanks to Alan Jenkins for suggesting these cleanups/fixes/enhancements.
>
> And thanks to you for pushing this script! It should be handy for
> speeding up bisection builds, without accidentally disabling a config
> that caused the regression.
>
> Though I'm wary of it for _general_ usage, because of hotplug. I
> think it would be even more useful if there was some way to preserve
> all the currently selected USB drivers.
While we're on feature requests...
- the same for things like netfilter etc..
- the ability to generate permutation configs, I've had the need to
build test code that had like way to many CONFIG options:
GROUP_SCHED * {USER_SCHED, CGROUP_SCHED} * FAIR_GROUP_SCHED * RT_GROUP_SCHED
comes to mind. With a streamlined .config changing the configuration
takes more time than actually building a bzImage.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-01 9:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-30 23:36 [PATCH 0/2] kconfig: updates to streamline_config.pl Steven Rostedt
2009-04-30 23:36 ` [PATCH 1/2] kconfig: unset IKCONFIG_PROC and clean up nesting Steven Rostedt
2009-04-30 23:36 ` [PATCH 2/2] kconfig: test for /boot/config-uname after /proc/config.gz in localconfig Steven Rostedt
2009-05-01 8:47 ` [PATCH 0/2] kconfig: updates to streamline_config.pl Alan Jenkins
2009-05-01 9:01 ` Peter Zijlstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox