<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>188278</bug_id>
          
          <creation_ts>2007-08-09 22:46 0000</creation_ts>
          <short_desc>baselayout-2: Add bootchart support</short_desc>
          <delta_ts>2007-08-10 11:16:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>baselayout</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dberkholz@gentoo.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-08-09 22:46:00 0000</bug_when>
            <thetext>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 &lt;@dberkholz&gt; Uber: so to return to the original point, you didn&apos;t really 
                   see that much speedup from baselayout-1 + bash to 
                   baselayout-2 + busybox/dash?
22:38 &lt;@Uber&gt; dberkholz: i&apos;ve never quatified it - it just &quot;feels&quot; faster
22:38 &lt;@Uber&gt; dberkholz: if you like I could knock up a rc with resources 
              timers in
22:39 &lt;@Uber&gt; dberkholz: if you want that post a bug so I can do that
22:39 &lt;@Uber&gt; it probably needs to be done
22:39 &lt;@Uber&gt; ah!
22:39 &lt;@dberkholz&gt; Uber: couldn&apos;t bootchart already do that
22:39 &lt;@Uber&gt; better yet, gimmie a bug about porting bootchart to baselayout-2
22:39 &lt;@Uber&gt; yeah
22:39 &lt;@Uber&gt; :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-08-10 11:16:44 0000</bug_when>
            <thetext>I&apos;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 &quot;proper&quot; way as advertised upstream now, by appending init=/sbin/bootchartd to the command line.

I&apos;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&apos;ll need to set the SAMPLE_PERIOD value in /etc/bootchartd.conf to whole seconds. I&apos;ll see if I can patch bb to follow linux and freebsd convetion which allows this as POSIX does not.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>