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 16:22:33 +02:00 committed by Jeremy Allison
parent 0f3b1d5c1d
commit 57d7720080
2 changed files with 22 additions and 22 deletions

View File

@ -3,12 +3,12 @@
outfile="$(dirname $0)/winbindd.stp"
child_funcs="winbindd_dual_init_connection
winbindd_dual_pam_chng_pswd_auth_crap
winbindd_dual_pam_chauthtok
_wbint_Ping
_wbint_PamAuth
_wbint_PamAuthCrap
_wbint_PamLogOff
_wbint_PamAuthCrapChangePassword
_wbint_ListTrustedDomains
_wbint_LookupSid
_wbint_LookupSids

View File

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