1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

examples: Update winbind.stp

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Samuel Cabrero 2022-05-09 17:31:53 +02:00 committed by Jeremy Allison
parent e9286b06cf
commit 95698da905
2 changed files with 22 additions and 1 deletions

View File

@ -3,6 +3,7 @@
outfile="$(dirname $0)/winbindd.stp" outfile="$(dirname $0)/winbindd.stp"
child_funcs="winbindd_dual_init_connection child_funcs="winbindd_dual_init_connection
_wbint_InitConnection
_wbint_Ping _wbint_Ping
_wbint_PamAuth _wbint_PamAuth
_wbint_PamAuthCrap _wbint_PamAuthCrap

View File

@ -2,7 +2,7 @@
# #
# Systemtap script to instrument winbindd # Systemtap script to instrument winbindd
# #
# Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 16:46:29 CEST, do not edit # Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 17:31:44 CEST, do not edit
# #
# Usage: # Usage:
# #
@ -43,6 +43,26 @@ probe process("winbindd").function("winbindd_dual_init_connection").return {
dc_svctime["winbindd_dual_init_connection"] <<< duration dc_svctime["winbindd_dual_init_connection"] <<< duration
} }
#
# winbind domain child function _wbint_InitConnection
#
probe process("winbindd").function("_wbint_InitConnection") {
dc_running[tid(), "_wbint_InitConnection"] = gettimeofday_us()
}
probe process("winbindd").function("_wbint_InitConnection").return {
if (!([tid(), "_wbint_InitConnection"] in dc_running))
next
end = gettimeofday_us()
begin = dc_running[tid(), "_wbint_InitConnection"]
delete dc_running[tid(), "_wbint_InitConnection"]
duration = end - begin
dc_svctime["_wbint_InitConnection"] <<< duration
}
# #
# winbind domain child function _wbint_Ping # winbind domain child function _wbint_Ping
# #