1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

examples: Update winbindd.stp and its generator script

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
This commit is contained in:
Samuel Cabrero 2022-03-09 12:11:00 +01:00 committed by Stefan Metzmacher
parent 3e747891a0
commit 41c72ae9f9
2 changed files with 23 additions and 23 deletions

View File

@ -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

View 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
#