diff options
author | Samuel Cabrero <scabrero@samba.org> | 2022-05-09 16:22:33 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-05-19 17:51:33 +0000 |
commit | 57d7720080ec65cee230d9d3731b6c1884a2c06b (patch) | |
tree | c1bddf26a45ba8e4e1a4407a2fca4aa2e7146f7a /examples | |
parent | 0f3b1d5c1d46cb2859bd21a5e3c8933c81ed0f57 (diff) | |
download | samba-57d7720080ec65cee230d9d3731b6c1884a2c06b.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 90ebdadf174..efa667a7e84 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -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 diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 9dd2f87d0b7..8208ffe6276 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: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: # @@ -44,26 +44,6 @@ probe process("winbindd").function("winbindd_dual_init_connection").return { } # -# 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 # @@ -164,6 +144,26 @@ probe process("winbindd").function("_wbint_PamLogOff").return { } # +# 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 # |