diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-12-25 10:06:05 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2005-12-25 10:06:05 +0000 |
commit | 048fda6642721280cd25a6f81f33f8d44a92b31c (patch) | |
tree | a7186616616484af8c359440665f7ceddb4bbab8 /source/profile | |
parent | d085d437cd488ba13ea1f928fcbd48b6ef970a31 (diff) | |
download | samba-048fda6642721280cd25a6f81f33f8d44a92b31c.tar.gz samba-048fda6642721280cd25a6f81f33f8d44a92b31c.tar.xz samba-048fda6642721280cd25a6f81f33f8d44a92b31c.zip |
r12475: Actually configure with profile support this time ...
Diffstat (limited to 'source/profile')
-rw-r--r-- | source/profile/profile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/profile/profile.c b/source/profile/profile.c index c3399f874d9..838383b1afe 100644 --- a/source/profile/profile.c +++ b/source/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 */ |