[PATCH 0/3] Add ability to NDR_PRINT_DEBUG per debug channel

Kai Blin kai at samba.org
Fri May 17 02:16:15 MDT 2013


This patchset adds a new NDR_PRINT_DEBUGC call that can dump ndr data
even when debugging at a specific log level. This allows to specifically
bump the debug level for a specific channel and also get the NDR data dumped.

Kai Blin (3):
  debug: Add ability to dump_data per debug class
  librpc: Add NDR_PRINT_DEBUGC to ndr print to a debug class
  dns: Also print packet information for DBGC_DNS

 lib/util/debug.h                |  7 ++++++
 lib/util/samba_util.h           |  8 +++++++
 lib/util/util.c                 | 30 ++++++++++++++++++++++++
 librpc/ndr/libndr.h             |  3 +++
 librpc/ndr/ndr.c                | 51 +++++++++++++++++++++++++++++++++++++++++
 librpc/wscript_build            |  2 +-
 source4/dns_server/dns_server.c | 10 ++++----
 7 files changed, 105 insertions(+), 6 deletions(-)

-- 
1.8.1.2



More information about the samba-technical mailing list