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

Alessandro Iurlano alessandro.iurlano at gmail.com
Fri Oct 24 10:14:25 CEST 2008


> > 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.
>
> Why does my GTA02 look like this, then:
>
> root at om-gta02:~# cat /proc/diskstats
>   1    0 ram0 0 0 0 0 0 0 0 0 0 0 0
>   1    1 ram1 0 0 0 0 0 0 0 0 0 0 0
>   1    2 ram2 0 0 0 0 0 0 0 0 0 0 0
>   1    3 ram3 0 0 0 0 0 0 0 0 0 0 0
>   1    4 ram4 0 0 0 0 0 0 0 0 0 0 0
>   1    5 ram5 0 0 0 0 0 0 0 0 0 0 0
>   1    6 ram6 0 0 0 0 0 0 0 0 0 0 0
>   1    7 ram7 0 0 0 0 0 0 0 0 0 0 0
>   1    8 ram8 0 0 0 0 0 0 0 0 0 0 0
>   1    9 ram9 0 0 0 0 0 0 0 0 0 0 0
>   1   10 ram10 0 0 0 0 0 0 0 0 0 0 0
>   1   11 ram11 0 0 0 0 0 0 0 0 0 0 0
>   1   12 ram12 0 0 0 0 0 0 0 0 0 0 0
>   1   13 ram13 0 0 0 0 0 0 0 0 0 0 0
>   1   14 ram14 0 0 0 0 0 0 0 0 0 0 0
>   1   15 ram15 0 0 0 0 0 0 0 0 0 0 0
>  31    0 mtdblock0 19 493 4096 1995 0 0 0 0 0 790 1995
>  31    1 mtdblock1 0 0 0 0 0 0 0 0 0 0 0
>  31    2 mtdblock2 0 0 0 0 0 0 0 0 0 0 0
>  31    3 mtdblock3 0 0 0 0 0 0 0 0 0 0 0
>  31    4 mtdblock4 0 0 0 0 0 0 0 0 0 0 0
>  31    5 mtdblock5 0 0 0 0 0 0 0 0 0 0 0
>  31    6 mtdblock6 0 0 0 0 0 0 0 0 0 0 0
>  179    0 mmcblk0 3733 2094 91415 44000 868 772 8786 100110 0 25405 144070
>  179    1 mmcblk0p1 37 65 0 0
>  179    2 mmcblk0p2 5776 91238 1675 8786
>

Sorry, I can't remember things exactly. I did this a year ago and I was
working on my GTA01.
Maybe this feature has been added in newest kernels.

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


More information about the devel mailing list