1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Amin Azez
9781967542 Samba4 poor mans debug_ctx()
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>
2008-02-01 18:09:49 +01:00
Stefan Metzmacher
26bfdff487 r25830: fix compiler warning
metze
2007-12-21 05:44:16 +01:00
Jelmer Vernooij
84a2027540 r25626: Move some debug-specific prototypes to debug.h. 2007-12-21 05:43:00 +01:00
Jelmer Vernooij
99f4124137 r24710: Use standard boolean type for easier use by external users. 2007-10-10 15:02:53 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
76b1576541 r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
936d26ae64 r13851: More doc improvements. 2007-10-10 13:52:16 -05:00
Stefan Metzmacher
551dd12baf r13770: - do fsync() on the debug fd, as we do in samba3,
I have an report that smbd memory usage grows to 1,5 GB or more
  without this...
- make log_timestamp static

metze
2007-10-10 13:52:11 -05:00
Jelmer Vernooij
ba62880f5b r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
2007-10-10 13:52:05 -05:00