diff options
author | Samuel Cabrero <scabrero@samba.org> | 2022-03-31 12:34:29 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-04-08 21:06:01 +0000 |
commit | be23ffbc5d6e896c81d614dbc559ba6d0554d5e2 (patch) | |
tree | 2ff5f7f187eec89cdf3c9bef9cb19c5ae668a245 /examples | |
parent | ddc551f4477bfb8bc7ec636c89af01a028190d35 (diff) | |
download | samba-be23ffbc5d6e896c81d614dbc559ba6d0554d5e2.tar.gz |
examples: Update winbindd.stp and generate script
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Apr 8 21:06:01 UTC 2022 on sn-devel-184
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/systemtap/generate-winbindd.stp.sh | 1 | ||||
-rw-r--r-- | examples/systemtap/winbindd.stp | 22 |
2 files changed, 22 insertions, 1 deletions
diff --git a/examples/systemtap/generate-winbindd.stp.sh b/examples/systemtap/generate-winbindd.stp.sh index 5a4507874e4..28b2dbc58c1 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -9,6 +9,7 @@ winbindd_dual_pam_logoff winbindd_dual_pam_chng_pswd_auth_crap winbindd_dual_pam_chauthtok _wbint_Ping +_wbint_PamAuth _wbint_ListTrustedDomains _wbint_LookupSid _wbint_LookupSids diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 94f05596771..58926017595 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 miƩ 09 mar 2022 12:10:37 CET, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on jue 31 mar 2022 12:34:16 CEST, do not edit # # Usage: # @@ -164,6 +164,26 @@ probe process("winbindd").function("_wbint_Ping").return { } # +# winbind domain child function _wbint_PamAuth +# + +probe process("winbindd").function("_wbint_PamAuth") { + dc_running[tid(), "_wbint_PamAuth"] = gettimeofday_us() +} + +probe process("winbindd").function("_wbint_PamAuth").return { + if (!([tid(), "_wbint_PamAuth"] in dc_running)) + next + + end = gettimeofday_us() + begin = dc_running[tid(), "_wbint_PamAuth"] + delete dc_running[tid(), "_wbint_PamAuth"] + + duration = end - begin + dc_svctime["_wbint_PamAuth"] <<< duration +} + +# # winbind domain child function _wbint_ListTrustedDomains # |