diff options
author | Samuel Cabrero <scabrero@samba.org> | 2022-02-25 14:53:16 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-04-30 00:10:34 +0000 |
commit | 7b573599895cd0c85fcdeaae909ab4d20d85a6f8 (patch) | |
tree | 233286402ed35b5b89c1ac67263b4369ca41ff45 /examples | |
parent | c68f21f26f10b60ca1ac294b7294bfbf37c9bb86 (diff) | |
download | samba-7b573599895cd0c85fcdeaae909ab4d20d85a6f8.tar.gz |
examples: Update winbind.stp and generate script
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 | 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 28b2dbc58c1..18695232f43 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -10,6 +10,7 @@ winbindd_dual_pam_chng_pswd_auth_crap winbindd_dual_pam_chauthtok _wbint_Ping _wbint_PamAuth +_wbint_PamAuthCrap _wbint_ListTrustedDomains _wbint_LookupSid _wbint_LookupSids diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 58926017595..5b8e72fea6c 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 jue 31 mar 2022 12:34:16 CEST, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on vie 01 abr 2022 16:21:52 CEST, do not edit # # Usage: # @@ -184,6 +184,26 @@ probe process("winbindd").function("_wbint_PamAuth").return { } # +# winbind domain child function _wbint_PamAuthCrap +# + +probe process("winbindd").function("_wbint_PamAuthCrap") { + dc_running[tid(), "_wbint_PamAuthCrap"] = gettimeofday_us() +} + +probe process("winbindd").function("_wbint_PamAuthCrap").return { + if (!([tid(), "_wbint_PamAuthCrap"] in dc_running)) + next + + end = gettimeofday_us() + begin = dc_running[tid(), "_wbint_PamAuthCrap"] + delete dc_running[tid(), "_wbint_PamAuthCrap"] + + duration = end - begin + dc_svctime["_wbint_PamAuthCrap"] <<< duration +} + +# # winbind domain child function _wbint_ListTrustedDomains # |