summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-25 10:06:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:57 -0500
commit964feef9452db12d5969cd7ee20edde6cdce2f6d (patch)
tree3faf5ceea3d05d71b99a2a9ed072c68dee83a412
parent1638adaee28e5ef75bc28344fbc94c685d4221b3 (diff)
downloadsamba-964feef9452db12d5969cd7ee20edde6cdce2f6d.tar.gz
samba-964feef9452db12d5969cd7ee20edde6cdce2f6d.tar.bz2
samba-964feef9452db12d5969cd7ee20edde6cdce2f6d.zip
r12475: Actually configure with profile support this time ...
(This used to be commit 9cd4b894ea1e5c0ccfd50f8d2f84180c702d97ee)
-rw-r--r--source3/profile/profile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index c3399f874d..838383b1af 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -55,24 +55,24 @@ void profile_message(int msg_type, struct process_id src, void *buf, size_t len)
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 */