1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4
Gary Lockyer 3d42e257a6 s4 dns_server Bind9: Log opertion durations
Add duration debug logging to the samba bind9 dlz driver and the
dnsserver_common routines.  This should aid future diagnosis of
performance issues, and could be used to monitor DNS performance.

The logs are currently Human readable text only, i.e. no JSON formatted
output.

Log lines are of the form:

<function>: DNS timing: result: [<result>] \
duration: (<duration>) zone: [<zone>] name: [<name>] \
data: [<data>]

e.g.

dns_common_wildcard_lookup: DNS timing: result: [WERR_OK] \
duration: (111) zone: [] \
name: [DC=_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones,\
DC=chgdcpassword.samba.example.com,CN=MicrosoftDNS,DC=DomainDnsZones,\
DC=chgdcpassword,DC=samba,DC=example,DC=com] data: []

Enabled by setting log level to "dns:10"

durations are in microseconds.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue May  7 05:03:26 UTC 2019 on sn-devel-184
2019-05-07 05:03:26 +00:00
..
auth build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00
build/pasn1
cldap_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
client s4:cifsdd: Use C99 initializers for cifsdd argdef 2019-01-28 10:29:26 +01:00
cluster dbwrap: Remove calls to loadparm 2018-04-24 01:53:19 +02:00
dns_server s4 dns_server Bind9: Log opertion durations 2019-05-07 05:03:26 +00:00
dsdb torture: Remove unused dsdb_attribute_ldb_to_drsuapi() 2019-05-06 05:46:11 +00:00
echo_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
heimdal heimdal: Fix "assuming signed overflow doesnt occur" error 2019-03-18 19:21:24 +00:00
heimdal_build s4 heimdal_build: disable leak checks for asn1 compiler 2019-05-06 07:12:18 +00:00
include lib: Remove global xfile.h includes 2016-11-20 06:23:19 +01:00
kdc kdc hdb: Generate and pass logon ID 2019-02-20 06:03:09 +01:00
ldap_server CVE-2018-16851 ldap_server: Check ret before manipulating blob 2018-11-28 08:22:24 +01:00
lib libnet: Remove unused source4/libnet/libnet_sam{dump,sync}: 2019-05-06 07:11:51 +00:00
libcli libcli: Align integer types 2019-05-03 22:34:16 +00:00
libnet libnet: Remove unused source4/libnet/libnet_sam{dump,sync}: 2019-05-06 07:11:51 +00:00
librpc libnet: Remove unused source4/libnet/libnet_sam{dump,sync}: 2019-05-06 07:11:51 +00:00
nbt_server source4: Use wrapper for string to integer conversion 2019-03-01 00:32:11 +00:00
ntp_signd ntpd: Use dom_sid_str_buf 2019-01-08 03:40:28 +01:00
ntvfs s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support 2019-05-01 17:22:26 +00:00
param build: Remove bld.gen_python_environments() 2019-03-21 04:06:14 +00:00
rpc_server waf: Also check for gnutls_privkey_export_x509() 2019-05-07 00:11:25 +00:00
script PY3: change shebang to python3 in source4/dsdb dir 2018-12-14 14:40:20 +01:00
scripting s4/scripting/bin Remove unecessary scripts 2019-05-06 07:12:18 +00:00
selftest pytests: try ldap.modify_order with normal user 2019-05-01 05:32:25 +00:00
setup repl: test for schema object and LA repl across chunks 2019-04-11 04:17:11 +00:00
smb_server libsmb: Rename InfoType from [MS-SMB2] according to the spec 2019-04-01 17:58:16 +00:00
smbd s4-server: Open and close a transaction on sam.ldb at startup 2019-03-07 04:58:42 +00:00
torture waf: Also check for gnutls_privkey_export_x509() 2019-05-07 00:11:25 +00:00
utils s4:utils: Use gnutls SHA256 in oLschema2ldif 2019-04-30 23:18:27 +00:00
winbind s4-winbindd: Removed unused wb_utils.c 2019-05-06 05:46:11 +00:00
wrepl_server source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
.clang_complete
.valgrind_suppressions
wscript_build