diff options
author | Samuel Cabrero <scabrero@samba.org> | 2022-05-09 16:12:41 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-05-19 17:51:33 +0000 |
commit | 5f213285b697554b6c3a5b9f9e5a325abdacd7eb (patch) | |
tree | 461b5d3beb30b94acfe3d0ecb5ada03de01a9f9b /examples | |
parent | ce0be638b4ceb6474f967500d3ec68c67c36cfd3 (diff) | |
download | samba-5f213285b697554b6c3a5b9f9e5a325abdacd7eb.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 2b722a4deb3..90ebdadf174 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_logoff winbindd_dual_pam_chng_pswd_auth_crap winbindd_dual_pam_chauthtok _wbint_Ping _wbint_PamAuth _wbint_PamAuthCrap +_wbint_PamLogOff _wbint_ListTrustedDomains _wbint_LookupSid _wbint_LookupSids diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index bbc16d15952..9dd2f87d0b7 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:27:02 CEST, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 16:28:20 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_logoff -# - -probe process("winbindd").function("winbindd_dual_pam_logoff") { - dc_running[tid(), "winbindd_dual_pam_logoff"] = gettimeofday_us() -} - -probe process("winbindd").function("winbindd_dual_pam_logoff").return { - if (!([tid(), "winbindd_dual_pam_logoff"] in dc_running)) - next - - end = gettimeofday_us() - begin = dc_running[tid(), "winbindd_dual_pam_logoff"] - delete dc_running[tid(), "winbindd_dual_pam_logoff"] - - duration = end - begin - dc_svctime["winbindd_dual_pam_logoff"] <<< duration -} - -# # winbind domain child function winbindd_dual_pam_chng_pswd_auth_crap # @@ -164,6 +144,26 @@ probe process("winbindd").function("_wbint_PamAuthCrap").return { } # +# winbind domain child function _wbint_PamLogOff +# + +probe process("winbindd").function("_wbint_PamLogOff") { + dc_running[tid(), "_wbint_PamLogOff"] = gettimeofday_us() +} + +probe process("winbindd").function("_wbint_PamLogOff").return { + if (!([tid(), "_wbint_PamLogOff"] in dc_running)) + next + + end = gettimeofday_us() + begin = dc_running[tid(), "_wbint_PamLogOff"] + delete dc_running[tid(), "_wbint_PamLogOff"] + + duration = end - begin + dc_svctime["_wbint_PamLogOff"] <<< duration +} + +# # winbind domain child function _wbint_ListTrustedDomains # |