Revision: 1576 Author: teawater Date: Tue May 28 22:15:24 2013 Log: Do some small update about test http://code.google.com/p/kgtp/source/detail?r=1576 Modified: /bak/test.txt ======================================= --- /bak/test.txt Tue May 7 18:35:18 2013 +++ /bak/test.txt Tue May 28 22:15:24 2013 @@ -190,12 +190,14 @@ teval $watch_type=1 teval $watch_size=8 collect $watch_val + collect $watch_prev_val collect $bt end tstart tstop display $cpu_id display $watch_val +display $watch_prev_val #error trace vfs_read @@ -227,6 +229,7 @@ teval $watch_size=8 collect $bt collect $watch_val + collect $watch_prev_val end list alloc_inode trace 215 @@ -253,6 +256,7 @@ undisplay display $cpu_id display $watch_val +display $watch_prev_val trace *1 @@ -263,6 +267,7 @@ collect $bt collect $watch_addr collect $watch_val + collect $watch_prev_val end list get_empty_filp trace 133 @@ -283,6 +288,7 @@ tstop display $cpu_id display $watch_val +display $watch_prev_val #step trace vfs_read @@ -474,12 +480,14 @@ teval $watch_type=1 teval $watch_size=8 collect $watch_val + collect $watch_prev_val collect $bt end tstart tstop display $cpu_id display $watch_val +display $watch_prev_val #error trace vfs_read @@ -511,9 +519,11 @@ teval $watch_size=8 collect $bt collect $watch_val + collect $watch_prev_val end list alloc_inode -trace 214 +#trace 214 +trace 223 commands teval $watch_set_addr=0 teval $watch_size=4 @@ -524,7 +534,8 @@ teval $watch_start=&(inode->i_fop) end list destroy_inode -trace 258 +#trace 258 +trace 270 commands teval $watch_stop=&(inode->i_uid) teval $watch_stop=&(inode->i_gid) @@ -538,6 +549,7 @@ undisplay display $cpu_id display $watch_val +display $watch_prev_val trace *1 commands @@ -547,10 +559,12 @@ collect $bt collect $watch_addr collect $watch_val + collect $watch_prev_val end #Need set in get_empty_filp:spin_lock_init(&f->f_lock); list get_empty_filp -trace 140 +#trace 140 +trace 135 commands teval $watch_set_addr=1 teval $watch_size=4 @@ -568,6 +582,7 @@ tstop display $cpu_id display $watch_val +display $watch_prev_val #step #sudo gdb /usr/lib/debug/lib/modules/$(uname -r)/vmlinux