summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@samba.org>2022-02-15 17:46:17 +0100
committerAndrew Bartlett <abartlet@samba.org>2022-03-06 23:05:40 +0000
commit95b1963339e27667eacbe4b99e2501c1aba54b38 (patch)
tree25b23ea8b0fe893b8d1b4e445d2f92c648970f9b /examples
parente07f8901ec95aab8c36965000de185d99e642644 (diff)
downloadsamba-95b1963339e27667eacbe4b99e2501c1aba54b38.tar.gz
examples: Update winbindd.stp and its generator script
Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/systemtap/generate-winbindd.stp.sh2
-rw-r--r--examples/systemtap/winbindd.stp42
2 files changed, 22 insertions, 22 deletions
diff --git a/examples/systemtap/generate-winbindd.stp.sh b/examples/systemtap/generate-winbindd.stp.sh
index d38bf2cab00..ec8e3af2828 100755
--- a/examples/systemtap/generate-winbindd.stp.sh
+++ b/examples/systemtap/generate-winbindd.stp.sh
@@ -3,13 +3,13 @@
outfile="$(dirname $0)/winbindd.stp"
child_funcs="winbindd_dual_ping
-winbindd_dual_list_trusted_domains
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_ListTrustedDomains
_wbint_LookupSid
_wbint_LookupSids
_wbint_LookupName
diff --git a/examples/systemtap/winbindd.stp b/examples/systemtap/winbindd.stp
index 0769312fd2b..60dd80a5c76 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 Sat Jul 15 18:49:52 CEST 2017, do not edit
+# Generated by examples/systemtap/generate-winbindd.stp.sh on mar 15 feb 2022 17:45:48 CET, do not edit
#
# Usage:
#
@@ -44,26 +44,6 @@ probe process("winbindd").function("winbindd_dual_ping").return {
}
#
-# winbind domain child function winbindd_dual_list_trusted_domains
-#
-
-probe process("winbindd").function("winbindd_dual_list_trusted_domains") {
- dc_running[tid(), "winbindd_dual_list_trusted_domains"] = gettimeofday_us()
-}
-
-probe process("winbindd").function("winbindd_dual_list_trusted_domains").return {
- if (!([tid(), "winbindd_dual_list_trusted_domains"] in dc_running))
- next
-
- end = gettimeofday_us()
- begin = dc_running[tid(), "winbindd_dual_list_trusted_domains"]
- delete dc_running[tid(), "winbindd_dual_list_trusted_domains"]
-
- duration = end - begin
- dc_svctime["winbindd_dual_list_trusted_domains"] <<< duration
-}
-
-#
# winbind domain child function winbindd_dual_init_connection
#
@@ -184,6 +164,26 @@ probe process("winbindd").function("winbindd_dual_pam_chauthtok").return {
}
#
+# winbind domain child function _wbint_ListTrustedDomains
+#
+
+probe process("winbindd").function("_wbint_ListTrustedDomains") {
+ dc_running[tid(), "_wbint_ListTrustedDomains"] = gettimeofday_us()
+}
+
+probe process("winbindd").function("_wbint_ListTrustedDomains").return {
+ if (!([tid(), "_wbint_ListTrustedDomains"] in dc_running))
+ next
+
+ end = gettimeofday_us()
+ begin = dc_running[tid(), "_wbint_ListTrustedDomains"]
+ delete dc_running[tid(), "_wbint_ListTrustedDomains"]
+
+ duration = end - begin
+ dc_svctime["_wbint_ListTrustedDomains"] <<< duration
+}
+
+#
# winbind domain child function _wbint_LookupSid
#