Reprinted please indicate the source and the author contact: http://blog.csdn.net/mimepp
Contact information: Yu Tao <yut616 at Sohu dot com>
Keywords: grabserial, console, minicom, embedded
Because grabserial is used, record it here for future reference.
Grabserial is a python tool that can obtain the time of output information on the console and check the execution time of some functions.
:
Http://elinux.org/Grabserial
Output instance:
[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, vipnonaliasing 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 1.550879] omap4430 es2.0 [0.001847 40300000] SRAM: mapped PA 0 x 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 = 463 m 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)