diff options
author | Samuel Cabrero <scabrero@samba.org> | 2022-03-09 12:11:00 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2022-03-25 17:57:18 +0000 |
commit | 41c72ae9f9530e04e249bbd73356bb44a7e945e4 (patch) | |
tree | ac090d8856b99e19a3a118b19720ce27a1e731a1 /examples | |
parent | 3e747891a04a161b34e8be1aab03371632ede192 (diff) | |
download | samba-41c72ae9f9530e04e249bbd73356bb44a7e945e4.tar.gz |
examples: Update winbindd.stp and its generator script
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Mar 25 17:57:18 UTC 2022 on sn-devel-184
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/systemtap/generate-winbindd.stp.sh | 4 | ||||
-rw-r--r-- | examples/systemtap/winbindd.stp | 42 |
2 files changed, 23 insertions, 23 deletions
diff --git a/examples/systemtap/generate-winbindd.stp.sh b/examples/systemtap/generate-winbindd.stp.sh index ec8e3af2828..5a4507874e4 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -2,13 +2,13 @@ outfile="$(dirname $0)/winbindd.stp" -child_funcs="winbindd_dual_ping -winbindd_dual_init_connection +child_funcs="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_Ping _wbint_ListTrustedDomains _wbint_LookupSid _wbint_LookupSids diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 60dd80a5c76..94f05596771 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 mar 15 feb 2022 17:45:48 CET, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on miƩ 09 mar 2022 12:10:37 CET, do not edit # # Usage: # @@ -24,26 +24,6 @@ probe begin { } # -# winbind domain child function winbindd_dual_ping -# - -probe process("winbindd").function("winbindd_dual_ping") { - dc_running[tid(), "winbindd_dual_ping"] = gettimeofday_us() -} - -probe process("winbindd").function("winbindd_dual_ping").return { - if (!([tid(), "winbindd_dual_ping"] in dc_running)) - next - - end = gettimeofday_us() - begin = dc_running[tid(), "winbindd_dual_ping"] - delete dc_running[tid(), "winbindd_dual_ping"] - - duration = end - begin - dc_svctime["winbindd_dual_ping"] <<< duration -} - -# # winbind domain child function winbindd_dual_init_connection # @@ -164,6 +144,26 @@ probe process("winbindd").function("winbindd_dual_pam_chauthtok").return { } # +# winbind domain child function _wbint_Ping +# + +probe process("winbindd").function("_wbint_Ping") { + dc_running[tid(), "_wbint_Ping"] = gettimeofday_us() +} + +probe process("winbindd").function("_wbint_Ping").return { + if (!([tid(), "_wbint_Ping"] in dc_running)) + next + + end = gettimeofday_us() + begin = dc_running[tid(), "_wbint_Ping"] + delete dc_running[tid(), "_wbint_Ping"] + + duration = end - begin + dc_svctime["_wbint_Ping"] <<< duration +} + +# # winbind domain child function _wbint_ListTrustedDomains # |