Update of /cvsroot/netadm/gwc/pf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10695/pf
Modified Files:
pf.c sysklog.c sysktimer.c
Log Message:
MOD: modify time field of gwc sysklog kernel logger.
Index: pf.c
===================================================================
RCS file: /cvsroot/netadm/gwc/pf/pf.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** pf.c 6 May 2006 18:28:58 -0000 1.12
--- pf.c 8 May 2006 07:05:59 -0000 1.13
***************
*** 168,172 ****
--- 168,174 ----
/* TODO : remove me */
+ #if 1
gwc_printk (GWC_KSYS_IDX, "This is KSYS test, gwc_ksys.log .. remove this debug code\n");
+ #endif
for( i = 0; i <= blk_hash_mask; i++){
***************
*** 180,184 ****
}
/* TODO : remove me */
! gwc_printk (GWC_PF_IDX, "This is PF test, gwc_pf.log .. remove this debug code\n");
return 1;
--- 182,188 ----
}
/* TODO : remove me */
! #if 1
! gwc_printk (GWC_PF_IDX , "This is PF test, gwc_pf.log .. remove this debug code\n");
! #endif
return 1;
Index: sysktimer.c
===================================================================
RCS file: /cvsroot/netadm/gwc/pf/sysktimer.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sysktimer.c 6 May 2006 15:21:07 -0000 1.5
--- sysktimer.c 8 May 2006 07:05:59 -0000 1.6
***************
*** 144,148 ****
static int __init init_netadm_timer(void)
{
! gwc_printk(GWC_KSYS_IDX,"%s: register netadm timer\n", DRIVER_VERSION);
return 0;
}
--- 144,148 ----
static int __init init_netadm_timer(void)
{
! gwc_printk(GWC_KSYS_IDX, "%s: Register netadm timer\n", DRIVER_VERSION);
return 0;
}
***************
*** 151,155 ****
static void __exit exit_netadm_timer(void)
{
! gwc_printk(GWC_KSYS_IDX,"%s: unregister netadm timer\n", DRIVER_VERSION);
}
--- 151,155 ----
static void __exit exit_netadm_timer(void)
{
! gwc_printk(GWC_KSYS_IDX,"%s: Unregister netadm timer\n", DRIVER_VERSION);
}
Index: sysklog.c
===================================================================
RCS file: /cvsroot/netadm/gwc/pf/sysklog.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** sysklog.c 6 May 2006 23:43:23 -0000 1.4
--- sysklog.c 8 May 2006 07:05:59 -0000 1.5
***************
*** 411,415 ****
nanosec_rem = do_div(t, 1000000000);
tlen = sprintf(tbuf,
! "<%c>[sec:%5lu:nanosec:%06lu] ",
loglev_char,
(unsigned long)t,
--- 411,415 ----
nanosec_rem = do_div(t, 1000000000);
tlen = sprintf(tbuf,
! "<%c>[%5lu.%06lu] ",
loglev_char,
(unsigned long)t,
|