Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188278 - baselayout-2: Add bootchart support
Summary: baselayout-2: Add bootchart support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-09 22:46 UTC by Donnie Berkholz (RETIRED)
Modified: 2007-08-10 11:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donnie Berkholz (RETIRED) gentoo-dev 2007-08-09 22:46:00 UTC
Bootchart support would really be nice in making comparisons with baselayout-1. Also, it will be required for the future use of bootchart once baselayout-1 gets obsoleted.

22:36 <@dberkholz> Uber: so to return to the original point, you didn't really 
                   see that much speedup from baselayout-1 + bash to 
                   baselayout-2 + busybox/dash?
22:38 <@Uber> dberkholz: i've never quatified it - it just "feels" faster
22:38 <@Uber> dberkholz: if you like I could knock up a rc with resources 
              timers in
22:39 <@Uber> dberkholz: if you want that post a bug so I can do that
22:39 <@Uber> it probably needs to be done
22:39 <@Uber> ah!
22:39 <@dberkholz> Uber: couldn't bootchart already do that
22:39 <@Uber> better yet, gimmie a bug about porting bootchart to baselayout-2
22:39 <@Uber> yeah
22:39 <@Uber> :)
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-08-10 11:16:44 UTC
I've just added -r2 which has different installation instructions - turned out the custom hook we added was because of the way our rc system worked, so we no longer need it. We just need to launch it the "proper" way as advertised upstream now, by appending init=/sbin/bootchartd to the command line.

I've also patched it to remove a bashism from /sbin/bootchartd as it uses /bin/sh

Tested on bash and dash shells just fine. For it to work on busybox, you'll need to set the SAMPLE_PERIOD value in /etc/bootchartd.conf to whole seconds. I'll see if I can patch bb to follow linux and freebsd convetion which allows this as POSIX does not.