抓 console 时间信息的工具 grabserial

转载时请注明出处和作者联系方式:http://blog.csdn.net/mimepp
作者联系方式:YU TAO <yut616 at sohu dot com>

关键字: grabserial,console,minicom, 嵌入式

因为使用到 grabserial ,这里记录一下,以后备查。

grabserial 是一个 python 的工具,可以获得 console 上输出信息的时间,用来检查某些功能的执行时间,很管用。

下载地址:

http://elinux.org/Grabserial

输出实例:

[8.376117 0.000048] Starting kernel ...
[0.001022 0.001022] 
[0.003100 0.002078] Uncompressing Linux... done, booting the kernel.
[1.517790 1.514690] Linux version 2.6.35-g6d019da-dirty (danders@ccd-dev) (gcc version 4.3.3 (GCC) ) #11 SMP PREEMPT Wed Sep 1 16:11:03 CDT 2010
[1.529238 0.011448] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7f
[1.535071 0.005833] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[1.541228 0.006157] Machine: OMAP4430 Panda Board
[1.544865 0.003637] Memory policy: ECC disabled, Data cache writealloc
[1.549032 0.004167] OMAP4430 ES2.0
[1.550879 0.001847] SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0x100000
[1.555136 0.004257] FIXME: omap44xx_sram_init not implemented
[1.559230 0.004094] Reserving 33554432 bytes SDRAM for VRAM
[1.563250 0.004020] PERCPU: Embedded 6 pages/cpu @c296a000 s4000 r8192 d12384 u65536
[1.569195 0.005945] pcpu-alloc: s4000 r8192 d12384 u65536 alloc=16*4096
[1.574161 0.004966] pcpu-alloc: [0] 0 [0] 1 
[1.576292 0.002131] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 117602
[1.584048 0.007756] Kernel command line: console=ttyO2,115200n8 mem=463M root=/dev/mmcblk0p3 rw rootwait init=/linuxrc
[1.592129 0.008081] PID hash table entries: 2048 (order: 1, 8192 bytes)
[1.597900 0.005771] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[1.603869 0.005969] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)



你可能感兴趣的:(cache,python,command,gcc,table,工具)