|
From: Chris B. <buc...@us...> - 2012-04-13 18:05:44
|
Update of /cvsroot/sblim/sfcb
In directory vz-cvs-3.sog:/tmp/cvs-serv6081
Modified Files:
cimXmlRequest.c
Log Message:
[ 3501314 ] Add dynamic logging and syslog output to sfcb trace
Index: cimXmlRequest.c
===================================================================
RCS file: /cvsroot/sblim/sfcb/cimXmlRequest.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- cimXmlRequest.c 10 Apr 2012 15:49:56 -0000 1.71
+++ cimXmlRequest.c 13 Apr 2012 18:05:40 -0000 1.72
@@ -549,7 +549,7 @@
struct rusage us,ue;
struct timeval sv, ev;
- if (_sfcb_trace_mask & TRACE_RESPONSETIMING) {
+ if (*_ptr_sfcb_trace_mask & TRACE_RESPONSETIMING) {
gettimeofday(&sv,NULL);
getrusage(RUSAGE_SELF,&us);
}
@@ -563,7 +563,7 @@
rs=iMethodResponse(binCtx->rHdr, sb);
if (binCtx->pDone<binCtx->pCount) rs.segments[6].txt=NULL;
#ifdef SFCB_DEBUG
- if (_sfcb_trace_mask & TRACE_RESPONSETIMING) {
+ if (*_ptr_sfcb_trace_mask & TRACE_RESPONSETIMING) {
gettimeofday(&ev,NULL);
getrusage(RUSAGE_SELF,&ue);
_sfcb_trace(1,__FILE__,__LINE__,
@@ -2730,7 +2730,7 @@
struct rusage us,ue;
struct timeval sv, ev;
- if (_sfcb_trace_mask & TRACE_RESPONSETIMING) {
+ if (*_ptr_sfcb_trace_mask & TRACE_RESPONSETIMING) {
gettimeofday(&sv,NULL);
getrusage(RUSAGE_SELF,&us);
}
@@ -2740,7 +2740,7 @@
hdr.role=ctx->role;
#ifdef SFCB_DEBUG
- if (_sfcb_trace_mask & TRACE_RESPONSETIMING) {
+ if (*_ptr_sfcb_trace_mask & TRACE_RESPONSETIMING) {
gettimeofday(&ev,NULL);
getrusage(RUSAGE_SELF,&ue);
_sfcb_trace(1,__FILE__,__LINE__,
|