]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
examples: Update winbindd.stp and its generator script
authorSamuel Cabrero <scabrero@samba.org>
Wed, 9 Mar 2022 11:11:00 +0000 (12:11 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 25 Mar 2022 17:57:18 +0000 (17:57 +0000)
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

examples/systemtap/generate-winbindd.stp.sh
examples/systemtap/winbindd.stp

index ec8e3af282882ebca7e5220f42e3f25f702b0683..5a4507874e4046651e652bc8ad760fe6e6218de5 100755 (executable)
@@ -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
index 60dd80a5c76193bbf5a0897471f1e52cd5e02b17..94f0559677138c36bdd303c978a4998666525b92 100644 (file)
@@ -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:
 #
@@ -23,26 +23,6 @@ probe begin {
        printf("Collecting data, press ctrl-C to stop... ")
 }
 
-#
-# 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
 #
@@ -163,6 +143,26 @@ probe process("winbindd").function("winbindd_dual_pam_chauthtok").return {
        dc_svctime["winbindd_dual_pam_chauthtok"] <<< duration
 }
 
+#
+# 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
 #