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 d38bf2cab00..ec8e3af2828 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -3,13 +3,13 @@ outfile="$(dirname $0)/winbindd.stp" child_funcs="winbindd_dual_ping -winbindd_dual_list_trusted_domains winbindd_dual_init_connection winbindd_dual_pam_auth winbindd_dual_pam_auth_crap winbindd_dual_pam_logoff winbindd_dual_pam_chng_pswd_auth_crap winbindd_dual_pam_chauthtok +_wbint_ListTrustedDomains _wbint_LookupSid _wbint_LookupSids _wbint_LookupName diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 0769312fd2b..60dd80a5c76 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 Sat Jul 15 18:49:52 CEST 2017, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on mar 15 feb 2022 17:45:48 CET, do not edit # # Usage: # @@ -44,26 +44,6 @@ probe process("winbindd").function("winbindd_dual_ping").return { } # -# winbind domain child function winbindd_dual_list_trusted_domains -# - -probe process("winbindd").function("winbindd_dual_list_trusted_domains") { - dc_running[tid(), "winbindd_dual_list_trusted_domains"] = gettimeofday_us() -} - -probe process("winbindd").function("winbindd_dual_list_trusted_domains").return { - if (!([tid(), "winbindd_dual_list_trusted_domains"] in dc_running)) - next - - end = gettimeofday_us() - begin = dc_running[tid(), "winbindd_dual_list_trusted_domains"] - delete dc_running[tid(), "winbindd_dual_list_trusted_domains"] - - duration = end - begin - dc_svctime["winbindd_dual_list_trusted_domains"] <<< duration -} - -# # winbind domain child function winbindd_dual_init_connection # @@ -184,6 +164,26 @@ probe process("winbindd").function("winbindd_dual_pam_chauthtok").return { } # +# winbind domain child function _wbint_ListTrustedDomains +# + +probe process("winbindd").function("_wbint_ListTrustedDomains") { + dc_running[tid(), "_wbint_ListTrustedDomains"] = gettimeofday_us() +} + +probe process("winbindd").function("_wbint_ListTrustedDomains").return { + if (!([tid(), "_wbint_ListTrustedDomains"] in dc_running)) + next + + end = gettimeofday_us() + begin = dc_running[tid(), "_wbint_ListTrustedDomains"] + delete dc_running[tid(), "_wbint_ListTrustedDomains"] + + duration = end - begin + dc_svctime["_wbint_ListTrustedDomains"] <<< duration +} + +# # winbind domain child function _wbint_LookupSid # |