diff options
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 # |