summaryrefslogtreecommitdiffstats
path: root/source/include/profile.h
Commit message (Collapse)AuthorAgeFilesLines
* Move over to RELEASE branch.Jeremy Allison2002-02-011-1/+7
| | | | Jeremy.
* Sync-up with SAMBA_2_2 branch.Jeremy Allison2001-10-111-1/+51
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-0/+4
| | | | Jeremy.
* configure:Jeremy Allison2001-04-131-1/+5
| | | | | | | | | | | | | | | | | | | 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.
* add remaining profile statsHerb Lewis2000-10-101-0/+18
|
* profile times saved in microseconds instead of milliseconds. Some timesHerb Lewis2000-10-101-2/+4
| | | | never incremented if it took less that a millisecond.
* smbcontrol.c add new profile commandsHerb Lewis2000-10-101-5/+9
| | | | | | | | | | | | | 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.
* proto.h rebuild proto.hHerb Lewis2000-10-061-3/+6
| | | | | | | | | | | | | | 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
* includes.h always include profile.hHerb Lewis2000-10-061-11/+61
| | | | | | | | | | | | | | | 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.
* Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison2000-10-061-0/+14
| | | | | | | | | | | | | | 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.
* move flush write cache reasons back to smb.h for nowHerb Lewis2000-10-051-8/+0
|
* move write cache flush reasons definitions to profile.hHerb Lewis2000-10-051-1/+283
| | | | new profile counters structure.
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-0/+6
|
* new files needed by profiling codeAndrew Tridgell1999-04-011-0/+32