diff options
author | Samuel Cabrero <scabrero@samba.org> | 2022-05-09 16:46:35 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-05-19 17:51:33 +0000 |
commit | 7575e4ef5c77b355de9892c864ab1ff492ea1dd8 (patch) | |
tree | 5a93f04f1c48cab04473e2cb931c94f390bd45bd /examples | |
parent | cc0ef447cdc1c5f77162e52f44852aaaf6047d12 (diff) | |
download | samba-7575e4ef5c77b355de9892c864ab1ff492ea1dd8.tar.gz |
examples: Update winbind.stp
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/systemtap/generate-winbindd.stp.sh | 2 | ||||
-rw-r--r-- | examples/systemtap/winbindd.stp | 42 |
2 files changed, 22 insertions, 22 deletions
diff --git a/examples/systemtap/generate-winbindd.stp.sh b/examples/systemtap/generate-winbindd.stp.sh index efa667a7e84..4f530c6ddef 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -3,11 +3,11 @@ outfile="$(dirname $0)/winbindd.stp" child_funcs="winbindd_dual_init_connection -winbindd_dual_pam_chauthtok _wbint_Ping _wbint_PamAuth _wbint_PamAuthCrap _wbint_PamLogOff +_wbint_PamAuthChangePassword _wbint_PamAuthCrapChangePassword _wbint_ListTrustedDomains _wbint_LookupSid diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 8208ffe6276..15a3f6f0964 100644 --- a/examples/systemtap/winbindd.stp +++ b/examples/systemtap/winbindd.stp @@ -2,7 +2,7 @@ # # Systemtap script to instrument winbindd # -# Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 16:29:06 CEST, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 16:46:29 CEST, do not edit # # Usage: # @@ -44,26 +44,6 @@ probe process("winbindd").function("winbindd_dual_init_connection").return { } # -# winbind domain child function winbindd_dual_pam_chauthtok -# - -probe process("winbindd").function("winbindd_dual_pam_chauthtok") { - dc_running[tid(), "winbindd_dual_pam_chauthtok"] = gettimeofday_us() -} - -probe process("winbindd").function("winbindd_dual_pam_chauthtok").return { - if (!([tid(), "winbindd_dual_pam_chauthtok"] in dc_running)) - next - - end = gettimeofday_us() - begin = dc_running[tid(), "winbindd_dual_pam_chauthtok"] - delete dc_running[tid(), "winbindd_dual_pam_chauthtok"] - - duration = end - begin - dc_svctime["winbindd_dual_pam_chauthtok"] <<< duration -} - -# # winbind domain child function _wbint_Ping # @@ -144,6 +124,26 @@ probe process("winbindd").function("_wbint_PamLogOff").return { } # +# winbind domain child function _wbint_PamAuthChangePassword +# + +probe process("winbindd").function("_wbint_PamAuthChangePassword") { + dc_running[tid(), "_wbint_PamAuthChangePassword"] = gettimeofday_us() +} + +probe process("winbindd").function("_wbint_PamAuthChangePassword").return { + if (!([tid(), "_wbint_PamAuthChangePassword"] in dc_running)) + next + + end = gettimeofday_us() + begin = dc_running[tid(), "_wbint_PamAuthChangePassword"] + delete dc_running[tid(), "_wbint_PamAuthChangePassword"] + + duration = end - begin + dc_svctime["_wbint_PamAuthChangePassword"] <<< duration +} + +# # winbind domain child function _wbint_PamAuthCrapChangePassword # |