Re: RFC - size tool for kernel build system

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Thursday, October 9, 2008 - 8:21 am

On Tue, Oct 07, 2008 at 02:19:36PM -0700, Tim Bird wrote:

The building blocks that would be useful are IMHO:
- a make target that generates a report for one kernel
  (like the checkstack or export_report targets)
- a script that compares two such reports and outputs the
  size differences

That's also easy to do, and if that's what's wanted I can send a patch 
that does it.

Everything else is IMHO overdesigned.

The real problem is that dumping some scripts into the kernel sources 
or publishing some data on a webpage doesn't make people use them.

Like if you run "make checkstack" on the kernel today you can see that 
drivers allocate arrays > 1 kB on the stack despite checkstack being 
available...


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC - size tool for kernel build system, Tim Bird, (Tue Oct 7, 2:19 pm)
Re: RFC - size tool for kernel build system, Chris Snook, (Wed Oct 8, 12:09 pm)
Re: RFC - size tool for kernel build system, Tim Bird, (Wed Oct 8, 12:32 pm)
Re: RFC - size tool for kernel build system, Adrian Bunk, (Thu Oct 9, 8:21 am)
Re: RFC - size tool for kernel build system, Jörn, (Thu Oct 9, 9:03 am)
Re: RFC - size tool for kernel build system, Robin Getz, (Thu Oct 9, 11:34 am)
Re: RFC - size tool for kernel build system, Tim Bird, (Thu Oct 9, 4:56 pm)
Re: RFC - size tool for kernel build system, Geert Uytterhoeven, (Fri Oct 10, 2:42 am)
Re: RFC - size tool for kernel build system, Robin Getz, (Sun Oct 12, 9:17 pm)