svn commit: samba r12475 - branches/SAMBA_3_0/source/profile
trunk/source/profile
vlendec at samba.org
vlendec at samba.org
Sun Dec 25 10:06:05 GMT 2005
Author: vlendec
Date: 2005-12-25 10:06:05 +0000 (Sun, 25 Dec 2005)
New Revision: 12475
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12475
Log:
Actually configure with profile support this time ...
Modified:
branches/SAMBA_3_0/source/profile/profile.c
trunk/source/profile/profile.c
Changeset:
Modified: branches/SAMBA_3_0/source/profile/profile.c
===================================================================
--- branches/SAMBA_3_0/source/profile/profile.c 2005-12-25 09:49:10 UTC (rev 12474)
+++ branches/SAMBA_3_0/source/profile/profile.c 2005-12-25 10:06:05 UTC (rev 12475)
@@ -55,24 +55,24 @@
do_profile_flag = False;
do_profile_times = False;
DEBUG(1,("INFO: Profiling turned OFF from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
case 1: /* turn on counter profiling only */
do_profile_flag = True;
do_profile_times = False;
DEBUG(1,("INFO: Profiling counts turned ON from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
case 2: /* turn on complete profiling */
do_profile_flag = True;
do_profile_times = True;
DEBUG(1,("INFO: Full profiling turned ON from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
case 3: /* reset profile values */
memset((char *)profile_p, 0, sizeof(*profile_p));
DEBUG(1,("INFO: Profiling values cleared from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
}
#else /* WITH_PROFILE */
Modified: trunk/source/profile/profile.c
===================================================================
--- trunk/source/profile/profile.c 2005-12-25 09:49:10 UTC (rev 12474)
+++ trunk/source/profile/profile.c 2005-12-25 10:06:05 UTC (rev 12475)
@@ -55,24 +55,24 @@
do_profile_flag = False;
do_profile_times = False;
DEBUG(1,("INFO: Profiling turned OFF from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
case 1: /* turn on counter profiling only */
do_profile_flag = True;
do_profile_times = False;
DEBUG(1,("INFO: Profiling counts turned ON from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
case 2: /* turn on complete profiling */
do_profile_flag = True;
do_profile_times = True;
DEBUG(1,("INFO: Full profiling turned ON from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
case 3: /* reset profile values */
memset((char *)profile_p, 0, sizeof(*profile_p));
DEBUG(1,("INFO: Profiling values cleared from pid %d\n",
- (int)procid_to_pid(src)));
+ (int)procid_to_pid(&src)));
break;
}
#else /* WITH_PROFILE */
More information about the samba-cvs
mailing list