| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Jeremy.
|
| |
|
|
|
|
| |
never incremented if it took less that a millisecond.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
profile.h bump version number just in case. put stats in
separate structure to make it easier to flush it.
profile.c added new command to flush stats structure.
changes for stats in separate structure.
smbcontrol.1.yo
smbcontrol.1.html
smbcontrol.1 update man page
packaging/Caldera/OpenLinux/samba3.spec.tmpl get rid of $Id string - this
plays havoc with my autoupdate scripts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
messages.h add new message types
profile.h change profile start and end macros to allow times to
not be gathered
messages.c add message handling for returning current debug level
profile.c add a new flag to allow time profiling to to turned off
default flags to off now they can be set by smbcontrol
add message handlinf for setting profile level
smbcontrol.c add printout in pong function so you can see replies
add new set profile level and get debug level messages
add flags so we don't register callbacks more than once
when in interactive mode and reset pong count each time
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smb.h move FLUSH_REASONS to profile.h now that it is included by all
profile.h add FLUSH_REASONS, add external declarations for
profile_starttime, profile_endtime, do_profile_flag which
are defined in profile/profile.c Modify PROFILE macros
profile.c always include this function. It is still called under an
#ifdef WITH_PROFILE but we need the above variables so we
might as well include the function as well.
fileio.c use new PROFILE macros to make code cleaner looking
reply.c fix a typo in one START_PROFILE call
statcache.c use new PROFILE macros to make code cleaner looking
vfs_wrap.c use new PROFILE macros to make code cleaner looking added
time profiling to each call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a conn struct depending on the call.
We need this to have a clean NT ACL call interface.
This will break any existing VFS libraries (that's why this is pre-release
code).
In addition - added Herb's WITH_PROFILE changes - Herb - please examine
the changes I've made to the smbd/reply.c code you added. The original
code was very ugly and I have replaced it with a
START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor.
Please check this compiles ok with the --with-profile switch.
Jeremy.
|
| |
|
|
|
|
| |
new profile counters structure.
|
| |
|
|
|