summaryrefslogtreecommitdiffstats
path: root/source/profile
Commit message (Collapse)AuthorAgeFilesLines
* Add in the recvfile entry to the VFS layer with a defaultJeremy Allison2007-10-291-0/+1
| | | | | implementation. Needed for the zero-copy write code. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-5/+5
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r24842: Fix build warning.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r23891: fix compiler warningStefan Metzmacher2007-10-101-1/+2
| | | | metze
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22900: Convert profile/ to messaging_send_pid/messaging_registerVolker Lendecke2007-10-101-10/+26
|
* r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke2007-10-101-3/+4
| | | | | | | | | patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker
* r22395: allow profiling level to be set on startupHerb Lewis2007-10-101-6/+13
|
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-101-1/+1
| | | | | | | | | | for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy.
* r21543: Fix 64bit build warning.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,Jim McDonough2007-10-101-0/+1
| | | | | | | | | it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway.
* r21064: The core of this patch isVolker Lendecke2007-10-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker
* r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough2007-10-101-0/+1
| | | | | the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter.
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-1/+180
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16116: Hoist the slow CLOCK_REALTIME message inside the branch so we neverJames Peach2007-10-101-5/+5
| | | | | | confuse an uninitialised __profile_clock with CLOCK_REALTIME. Flip the condition argument to SMB_WARN around so that it's correct (though completely non-intuitive).
* r16111: Patch from Björn JACKE <samba@j3e.de>.James Peach2007-10-101-16/+76
| | | | | | | This fixes a problem where the clock definition for clock_gettime() is present at compile time, but is not available on the running system. In this case, we fall back to less-preferred clocks until we find one that we can use.
* r15529: Initialise our saved uid and gid so that we can tell whenJames Peach2007-10-101-2/+6
| | | | | we created the profiling shmem segment and don't bogusly refuse to look at it.
* r15508: Use clock_gettime for profiling timstamps if it is available. UseJames Peach2007-10-101-0/+21
| | | | the fastest clock available on uniprocessors.
* r15450: Change profiling data macros to use stack variables rather thanJames Peach2007-10-101-5/+0
| | | | | globals. This catches mismatched start/end calls and removes the need for special nested profiling calls.
* r12475: Actually configure with profile support this time ...Volker Lendecke2007-10-101-4/+4
|
* r12474: Fix a warningVolker Lendecke2007-10-101-5/+9
|
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-2/+4
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r4268: Merge fix for bugzilla #2150.Tim Potter2007-10-101-1/+1
|
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-0/+10
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
|
* Restore the profiling data shmem parinoia. This whole area needs to beAndrew Bartlett2001-09-151-4/+2
| | | | fixed - an mmaped file or the like would be a good idea.
* don't test for root ownership of profile shared memory segmentHerb Lewis2001-07-181-0/+2
|
* Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison2001-05-031-2/+0
| | | | | | and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy.
* More %d (uid_t) stuff...Jeremy Allison2001-04-271-1/+1
| | | | Jeremy.
* Fix for a problem with the new messaging system. If a sender is using theJeremy Allison2000-11-161-1/+1
| | | | | | | | | | | | | | messaging system as a notification mechanism, and the speed of notification greatly exceeds the speed of message recovery, then you get a massively (>75Mb) growing tdb. If the message is a simple notification, then the message is static, and you only need one of them in transit to a target process at any one time. This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives. If set to False, then before sending a message the sender checks the existing message queue for a target pid for a duplicate of this message, and doesn't add to it if one already exists. Also added code into msgtest.c to test this. Jeremy.
* Merge of Herb's profiling code.Jeremy Allison2000-11-111-0/+17
| | | | Jeremy.
* Merge in Herb's changes from 2.2.Jeremy Allison2000-11-101-1/+4
| | | | Jeremy.
* changes to sync with 2.2. treeHerb Lewis2000-10-111-11/+18
| | | | | | | | | | | | | | | | | .cvsignore remove config.h - not in this directory include/profile.h profile changes lib/messages.c added message to return debug level libsmb/clierror.c cast to get rid of compiler warning libsmb/smbencrypt.c cast to get rid of compiler warning profile/profile.c add flush profile stats changes for profile struct rpc_parse/parse_samr.c fix for compiler warning rpc_server/srv_samr.c cast to get rid of compiler warning smbd/ipc.c profile stats message.c profile stats smbd/negprot.c profile stats smbd/nttrans.c profile stats smbd/trans2.c profile stats utils/smbcontrol.c new flush stats command
* Added Herb's fixes to HEAD.Jeremy Allison2000-10-061-1/+27
| | | | Jeremy.
* Herb's warning fixes. Also the POSIX locking fix.Jeremy Allison2000-10-061-5/+6
| | | | | We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy.
* patch from Dominik Kubla <dominik.kubla@uni-mainz.de>Andrew Tridgell2000-05-101-4/+1
|
* first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1999-12-131-6/+4
|
* new files needed by profiling codeAndrew Tridgell1999-04-011-0/+113