summaryrefslogtreecommitdiffstats
path: root/source4/lib/util/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* Move lib/util from source4 to top-level libutil.Jelmer Vernooij2008-10-111-129/+0
| | | | | | Conflicts: source4/Makefile
* Provide the same set of helper functions for DEBUG in Samba 3 and SambaJelmer Vernooij2008-10-111-4/+5
| | | | | | | 4, even though the macros are still different. This makes it possible to use object code compiled with one DEBUG() macro from the other sourceX directory.
* Samba4 poor mans debug_ctx()Amin Azez2008-02-011-0/+4
| | | | | | | | | | | | | | | | DEBUG(), DEBUGADD() and friends can now use debug_ctx() in the formatting expressions again, e.g. DEBUG(5,("Guid failed to match: %s\n", GUID_string(debug_ctx(), r->guid))); Sadly it's done with macros (again) but when we need to save the 8 or 16 bytes of object code per DEBUG() expression we can do it the Samba 3 way with added thread-safety for Samba 4. That could save up to 200K, allowing 12 bytes for each occurrance of DEBUG... Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit 9781967542b00c279563d435aec72dac1e8c7e9a)
* r25830: fix compiler warningStefan Metzmacher2007-12-211-1/+1
| | | | | metze (This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
* r25626: Move some debug-specific prototypes to debug.h.Jelmer Vernooij2007-12-211-0/+54
| | | | (This used to be commit 84a202754004ec618aa2663a4614d80eb2c7ce60)
* r24710: Use standard boolean type for easier use by external users.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 99f4124137d4a61216e8189f26d4da32882c0f4a)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r15000: Move some more autoconf tests out of build/m4/rewrite.m4Jelmer Vernooij2007-10-101-9/+1
| | | | | Guarantee availability of __FUNCTION__ in libreplace (This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)
* r13851: More doc improvements.Jelmer Vernooij2007-10-101-2/+18
| | | | (This used to be commit 936d26ae64b93ef8f8b2fbc632b1c2fd60840405)
* r13770: - do fsync() on the debug fd, as we do in samba3,Stefan Metzmacher2007-10-101-3/+0
| | | | | | | | | I have an report that smbd memory usage grows to 1,5 GB or more without this... - make log_timestamp static metze (This used to be commit 551dd12baf9340ab070c8a8edca6b56770243a61)
* r13658: More moving around of files:Jelmer Vernooij2007-10-101-0/+66
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)