[PATCH] bootcharts diskstat support (was Re: boot the eeepc in 5 seconds)

Alessandro Iurlano alessandro.iurlano at gmail.com
Fri Oct 24 02:23:32 CEST 2008

On Fri, Oct 24, 2008 at 1:51 AM, Adrian-Ken Rueegsegger <ken at gmx.ch> wrote:

> > I've noticed that Alessandro complains there are no disk (flash) usage
> > statistics in bootcharts.  I've cooked up an (untested) patch to fix this
> for
> > both mtd and mmcblk devices:
> Thanks for the patch. Disk throughput/utilization is still not showing
> up though. AFAIK mtd devices do not write anything to /proc/diskstats so
> support for that would need to be added to the kernel in order to have
> such statistics.

Hi all!
Yes, the thing that I noticed was that /proc/diskstats has no value for the
mtd devices
and thus bootchart cannot show anything at all. I asked mtd developers for
instruction on
how to implement that to try to do it myself but couldn't as my knowledge of
linux kernel is
very limited and did not have enough time to learn. But I think that adding
those stats could
be easily done by an experienced kernel developer.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20081024/86e13180/attachment.htm 

More information about the devel mailing list