Changeset 30 for trunk/samba/source/smbd/server.c
- Timestamp:
- Apr 25, 2007, 9:44:55 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/smbd/server.c
r1 r30 839 839 static BOOL log_stdout = False; 840 840 static char *ports = NULL; 841 static char *profile_level = NULL; 841 842 int opt; 842 843 poptContext pc; … … 851 852 {"build-options", 'b', POPT_ARG_NONE, NULL, 'b', "Print build options" }, 852 853 {"port", 'p', POPT_ARG_STRING, &ports, 0, "Listen on the specified ports"}, 854 {"profiling-level", 'P', POPT_ARG_STRING, &profile_level, 0, "Set profiling level","PROFILE_LEVEL"}, 853 855 POPT_COMMON_SAMBA 854 856 POPT_COMMON_DYNCONFIG … … 982 984 return -1; 983 985 } 986 if (profile_level != NULL) { 987 int pl = atoi(profile_level); 988 struct process_id src; 989 990 DEBUG(1, ("setting profiling level: %s\n",profile_level)); 991 src.pid = getpid(); 992 set_profile_level(pl, src); 993 } 984 994 #endif 985 995
Note: See TracChangeset
for help on using the changeset viewer.