From: Samuel Cabrero Date: Mon, 9 May 2022 14:27:13 +0000 (+0200) Subject: examples: Update winbind.stp, delete removed functions X-Git-Tag: talloc-2.3.4~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ca7a1714338fbcc35c7b6ad9a1203d774de760;p=thirdparty%2Fsamba.git examples: Update winbind.stp, delete removed functions Signed-off-by: Samuel Cabrero Reviewed-by: Jeremy Allison --- diff --git a/examples/systemtap/generate-winbindd.stp.sh b/examples/systemtap/generate-winbindd.stp.sh index 18695232f43..2b722a4deb3 100755 --- a/examples/systemtap/generate-winbindd.stp.sh +++ b/examples/systemtap/generate-winbindd.stp.sh @@ -3,8 +3,6 @@ outfile="$(dirname $0)/winbindd.stp" 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 diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp index 5b8e72fea6c..bbc16d15952 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 vie 01 abr 2022 16:21:52 CEST, do not edit +# Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 16:27:02 CEST, do not edit # # Usage: # @@ -43,46 +43,6 @@ probe process("winbindd").function("winbindd_dual_init_connection").return { dc_svctime["winbindd_dual_init_connection"] <<< duration } -# -# winbind domain child function winbindd_dual_pam_auth -# - -probe process("winbindd").function("winbindd_dual_pam_auth") { - dc_running[tid(), "winbindd_dual_pam_auth"] = gettimeofday_us() -} - -probe process("winbindd").function("winbindd_dual_pam_auth").return { - if (!([tid(), "winbindd_dual_pam_auth"] in dc_running)) - next - - end = gettimeofday_us() - begin = dc_running[tid(), "winbindd_dual_pam_auth"] - delete dc_running[tid(), "winbindd_dual_pam_auth"] - - duration = end - begin - dc_svctime["winbindd_dual_pam_auth"] <<< duration -} - -# -# winbind domain child function winbindd_dual_pam_auth_crap -# - -probe process("winbindd").function("winbindd_dual_pam_auth_crap") { - dc_running[tid(), "winbindd_dual_pam_auth_crap"] = gettimeofday_us() -} - -probe process("winbindd").function("winbindd_dual_pam_auth_crap").return { - if (!([tid(), "winbindd_dual_pam_auth_crap"] in dc_running)) - next - - end = gettimeofday_us() - begin = dc_running[tid(), "winbindd_dual_pam_auth_crap"] - delete dc_running[tid(), "winbindd_dual_pam_auth_crap"] - - duration = end - begin - dc_svctime["winbindd_dual_pam_auth_crap"] <<< duration -} - # # winbind domain child function winbindd_dual_pam_logoff #