1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/examples
Ralph Boehme 1b7b7a9275 examples: add winbindd.stp and a shell script to generate it
Usage:

  Instrument all winbindd processes:
  # stap winbindd.stp

  Instrument a specific winbindd process:
  # stap -x PID winbindd.stp

Example output:

  # stap winbindd.stp
  Collecting data, press ctrl-C to stop... ^C

  Winbind request service time
  ============================
  winbindd_getpwnam_send                   count:    99, sum:   6229 ms (min:   2669 us, avg:  62921 us, max: 157907 us)

  Winbind request runtime
  =======================
  winbindd_getpwnam_send                   count:    99, sum:      3 ms (min:     21 us, avg:     36 us, max:     77 us)

  Winbind domain-child request service time
  =========================================
  _wbint_LookupName                        count:    99, sum:   1403 ms (min:    619 us, avg:  14181 us, max: 136613 us)
  _wbint_GetNssInfo                        count:    99, sum:      0 ms (min:      2 us, avg:      3 us, max:      6 us)
  _wbint_LookupSid                         count:   102, sum:     49 ms (min:     13 us, avg:    481 us, max:   6315 us)
  _wbint_Sids2UnixIDs                      count:   101, sum:      2 ms (min:     18 us, avg:     29 us, max:     49 us)
  _wbint_LookupSids                        count:   101, sum:     84 ms (min:    411 us, avg:    838 us, max:   3524 us)

  Winbind domain-child AD-backend service time
  ============================================
  sid_to_name                              count:    56, sum:     45 ms (min:    431 us, avg:    816 us, max:   6275 us)
  sequence_number                          count:    12, sum:   1209 ms (min:  46618 us, avg: 100803 us, max: 131439 us)
  name_to_sid                              count:    99, sum:    176 ms (min:    547 us, avg:   1781 us, max:   9866 us)

  ...

Regenerate winbindd.stp:

  $ examples/systemtap/generate-winbindd.stp.sh

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jul 19 16:20:56 CEST 2017 on sn-devel-144
2017-07-19 16:20:56 +02:00
..
ad-bench AD-Bench: A first go at an Active Directory benchmark. 2009-10-07 15:45:46 +02:00
auth lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
autofs r2014: BUG 1656: rename auto.a to auto.smb 2007-10-10 10:52:27 -05:00
dce-dfs Remove remaining references to "password level" in the tree 2013-06-11 16:25:54 +02:00
fuse s3: client tools: Call popt_free_cmdline_auth_info() on all normal exits. 2017-05-09 09:56:09 +02:00
LDAP Reserve an OID space for external projects 2013-10-18 05:47:29 +02:00
libsmbclient fix spelling of 'unchangeable' 2017-02-22 12:21:51 +01:00
logon Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org> 2008-01-14 15:46:01 +01:00
misc Correct "doesnt" typos. 2017-02-22 08:26:21 +01:00
nss
pam_winbind pam_winbind: update documentation for "DIR" krb5ccname pragma. 2013-07-24 02:43:09 +02:00
pcap2nbench r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
pdb lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
perfcounter examples/perfcounter/perf_writer.c: fix memset 2016-03-30 18:26:09 +02:00
printer-accounting
printing packaging: Move smbprint to a comman location. 2012-10-29 14:08:37 +01:00
scripts ./examples/scripts/SambaConfig.py: fix typo in "continue" 2017-03-10 07:31:10 +01:00
systemtap examples: add winbindd.stp and a shell script to generate it 2017-07-19 16:20:56 +02:00
tridge Remove remaining references to "password level" in the tree 2013-06-11 16:25:54 +02:00
validchars
VFS s3/vfs: rename SMB_VFS_STRICT_LOCK to SMB_VFS_STRICT_LOCK_CHECK 2017-07-11 03:37:44 +02:00
README Update mailing list references to point at lists.samba.org 2015-02-10 07:08:28 +01:00
smb.conf.default examples/smb.conf.default: Fix typo in comment line: sever -> server 2016-04-09 02:35:23 +02:00

Copyright(C) Samba-Team 1993-2001

This directory contains example config files and related material for
Samba. 

At a minimum please refer to the smb.conf.default file for current
information regarding global and share parameter settings.

Send additions to: samba-technical@lists.samba.org