summaryrefslogtreecommitdiff
path: root/source3/profile/profile.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21064: The core of this patch isVolker Lendecke1-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 (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
2007-10-10r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 89b7a0630de0bd95a56263b36d433b4e73517a70)
2007-10-10r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough1-0/+1
the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter. (This used to be commit 0620658890fa9c68a9848538728023192319c81a)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-1/+180
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16116: Hoist the slow CLOCK_REALTIME message inside the branch so we neverJames Peach1-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). (This used to be commit 60b5f9618b77afb397f96c1ff406c8cd3a4648f3)
2007-10-10r16111: Patch from Björn JACKE <samba@j3e.de>.James Peach1-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. (This used to be commit fc6ed6a1aa2225ccde04c4ecaf0777dc0de4f1cb)
2007-10-10r15529: Initialise our saved uid and gid so that we can tell whenJames Peach1-2/+6
we created the profiling shmem segment and don't bogusly refuse to look at it. (This used to be commit eb31ef3a0e5e7c3b4029a3c2e124d2df646f10a2)
2007-10-10r15508: Use clock_gettime for profiling timstamps if it is available. UseJames Peach1-0/+21
the fastest clock available on uniprocessors. (This used to be commit d44862928206b524f826bd7c2997ab5353c0b6a0)
2007-10-10r15450: Change profiling data macros to use stack variables rather thanJames Peach1-5/+0
globals. This catches mismatched start/end calls and removes the need for special nested profiling calls. (This used to be commit ee750498812190edd3ec52ca3c750258f3b8a97a)
2007-10-10r12475: Actually configure with profile support this time ...Volker Lendecke1-4/+4
(This used to be commit 9cd4b894ea1e5c0ccfd50f8d2f84180c702d97ee)
2007-10-10r12474: Fix a warningVolker Lendecke1-5/+9
(This used to be commit e361f4a5c55ed88b706cfc348907a899d8970445)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-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) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r4268: Merge fix for bugzilla #2150.Tim Potter1-1/+1
(This used to be commit f00ae4ab0c36a623257861fb65373b39cf075921)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-0/+10
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-3/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-15Restore the profiling data shmem parinoia. This whole area needs to beAndrew Bartlett1-4/+2
fixed - an mmaped file or the like would be a good idea. (This used to be commit bc1385fc5e55eeed626615fad92877296064a27e)
2001-07-18don't test for root ownership of profile shared memory segmentHerb Lewis1-0/+2
(This used to be commit d7023b881a3e36199f20dba36bd930454d5131cb)
2001-05-03Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.hJeremy Allison1-2/+0
and using autoconf tests. Added "restrict acl with mask" parameter. Jeremy. (This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)
2001-04-27More %d (uid_t) stuff...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 73b425121a8c99af3ed7adbdcff3f6f0cec92ac7)
2000-11-16Fix for a problem with the new messaging system. If a sender is using theJeremy Allison1-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. (This used to be commit 3aa7995660395ecb85c8e35b638fa9fbbb952558)
2000-11-11Merge of Herb's profiling code.Jeremy Allison1-0/+17
Jeremy. (This used to be commit 3be056c71aa8e0a4ba70d397107199004bdb7d3f)
2000-11-10Merge in Herb's changes from 2.2.Jeremy Allison1-1/+4
Jeremy. (This used to be commit 24d76c5fbda29d89c96d7c22193ec2eb93ad3887)
2000-10-11changes to sync with 2.2. treeHerb Lewis1-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 (This used to be commit bbb24daa25dca4e4b6b1f8942cd84ee3aa1bed8e)
2000-10-06Added Herb's fixes to HEAD.Jeremy Allison1-1/+27
Jeremy. (This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)
2000-10-06Herb's warning fixes. Also the POSIX locking fix.Jeremy Allison1-5/+6
We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy. (This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
2000-05-10patch from Dominik Kubla <dominik.kubla@uni-mainz.de>Andrew Tridgell1-4/+1
(This used to be commit 9c598e571decb449607042ba9628f68de9b45043)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-6/+4
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-04-01new files needed by profiling codeAndrew Tridgell1-0/+113
(This used to be commit cae71af4536ff8bd15080f22f9a559f72ff44c68)