From: Narasimha S. <nsh...@us...> - 2011-07-25 16:53:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 9dd74e2e9a9e94ac555ee8223c96889a0a068a3e (commit) from 5c5ddb07198a668ed85629376d9cb690191bffab (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9dd74e2e9a9e94ac555ee8223c96889a0a068a3e Author: Narasimha Sharoff <nsh...@us...> Date: Mon Jul 25 09:18:55 2011 -0700 [ 3101157 ] Failed to enable provider timing analysis with SfcbLocal ----------------------------------------------------------------------- Summary of changes: diff --git a/ChangeLog b/ChangeLog index a0a7edf..acea2ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-07-25 Narasimha Sharoff <nsh...@us...> + * providerDrv.c: + [ 3101157 ] Failed to enable provider timing analysis with SfcbLocal + ( Patch by Chris Poblete ) + Added uset reset in TIMING_STOP + 2011-06-27 Michael Chase-Salerno <br...@li...> * indCIMXMLHandler.c: diff --git a/NEWS b/NEWS index 6412b58..b8fca9c 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,7 @@ New features: Bugs fixed: - 3199899 sfcb uninstall process should remove test mof's - 3300167 Memory leaks caused by cimRequest changes +- 3101157 Failed to enable provider timing analysis with SfcbLocal Changes in 1.4.1 ================ diff --git a/providerDrv.c b/providerDrv.c index 9edd507..04099da 100644 --- a/providerDrv.c +++ b/providerDrv.c @@ -63,7 +63,7 @@ char *opsName[]; struct timeval sv,ev; #define TIMING_START(req,pInfo) \ - if (pInfo && req->sessionId && (_sfcb_trace_mask & TRACE_RESPONSETIMING) ) {\ + if (pInfo && req && (_sfcb_trace_mask & TRACE_RESPONSETIMING) ) {\ gettimeofday(&sv,NULL);\ getrusage(RUSAGE_SELF,&us);\ getrusage(RUSAGE_CHILDREN,&cs);\ @@ -71,7 +71,7 @@ char *opsName[]; } #define TIMING_STOP(req,pInfo) \ - if (uset && (_sfcb_trace_mask & TRACE_RESPONSETIMING) ) { \ + if (uset) { \ gettimeofday(&ev,NULL); \ getrusage(RUSAGE_SELF,&ue); \ getrusage(RUSAGE_CHILDREN,&ce); \ @@ -86,6 +86,7 @@ char *opsName[]; timevalDiff(&cs.ru_utime,&ce.ru_utime), \ timevalDiff(&cs.ru_stime,&ce.ru_stime) \ )); \ + uset=0;\ } #else hooks/post-receive -- SFCB - Small Footprint CIM Broker |