mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [KBUILD, FEATURE]
@ 2004-03-15 12:49 dick morales
  2004-03-15 17:45 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: dick morales @ 2004-03-15 12:49 UTC (permalink / raw)
  To: linux-kernel

Hi all!

Many times i saw and did things like "time make bzImage modules" or "times 
..." to know
how long kernel compile process takes, many users and admins use similar 
technique.
Is it possible to add this feature to genuine kernel?
Like adding (in the top Makefile, kbuild hackers please help)
START_TIME=`date +"%s"`
END_TIME=`date +"%s"`
_TIME=$(($END_TIME-$START_TIME))
or in another form with days(anyone use 2.6 on 486 ;) ?), hours, min,sec.

And another small bug - if your locale is not posix, f.e. for non-english 
languages
UTS_ strings in linux_banner will be corrupted. Maybe set posix locale in 
Makefile,
so unpractised users will not be confused?

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [KBUILD, FEATURE]
  2004-03-15 12:49 [KBUILD, FEATURE] dick morales
@ 2004-03-15 17:45 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2004-03-15 17:45 UTC (permalink / raw)
  To: dick morales; +Cc: linux-kernel

On Mon, Mar 15, 2004 at 04:49:57AM -0800, dick morales wrote:
> Hi all!
> 
> Many times i saw and did things like "time make bzImage modules" or "times 
> ..." to know
> how long kernel compile process takes, many users and admins use similar 
> technique.
> Is it possible to add this feature to genuine kernel?
> Like adding (in the top Makefile, kbuild hackers please help)
> START_TIME=`date +"%s"`
> END_TIME=`date +"%s"`
> _TIME=$(($END_TIME-$START_TIME))
> or in another form with days(anyone use 2.6 on 486 ;) ?), hours, min,sec.

I see no need to add this to kbuild when this is so easy to do.
Just use the above mentioned command.

	Sam


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-15 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 12:49 [KBUILD, FEATURE] dick morales
2004-03-15 17:45 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®