s4:torture/rpc/netlogon: assert that cli_credentials_get_{workstation,password} don...
[Samba.git] / examples / systemtap / winbindd.stp
blob0769312fd2b8f1825b07030b3d6ef17d984b559f
1 #!/usr/bin/stap
3 # Systemtap script to instrument winbindd
5 # Generated by examples/systemtap/generate-winbindd.stp.sh on Sat Jul 15 18:49:52 CEST 2017, do not edit
7 # Usage:
9 # Instrument all winbindd processes:
10 # # stap winbindd.stp
12 # Instrument a specific winbindd process:
13 # # stap -x PID winbindd.stp
16 global dc_running, dc_svctime
17 global backend_running, backend_svctime
18 global send_running, recv_running
19 global start_time, idle_time
20 global async_svctime, async_runtime
22 probe begin {
23         printf("Collecting data, press ctrl-C to stop... ")
27 # winbind domain child function winbindd_dual_ping
30 probe process("winbindd").function("winbindd_dual_ping") {
31         dc_running[tid(), "winbindd_dual_ping"] = gettimeofday_us()
34 probe process("winbindd").function("winbindd_dual_ping").return {
35         if (!([tid(), "winbindd_dual_ping"] in dc_running))
36                 next
38         end = gettimeofday_us()
39         begin = dc_running[tid(), "winbindd_dual_ping"]
40         delete dc_running[tid(), "winbindd_dual_ping"]
42         duration = end - begin
43         dc_svctime["winbindd_dual_ping"] <<< duration
47 # winbind domain child function winbindd_dual_list_trusted_domains
50 probe process("winbindd").function("winbindd_dual_list_trusted_domains") {
51         dc_running[tid(), "winbindd_dual_list_trusted_domains"] = gettimeofday_us()
54 probe process("winbindd").function("winbindd_dual_list_trusted_domains").return {
55         if (!([tid(), "winbindd_dual_list_trusted_domains"] in dc_running))
56                 next
58         end = gettimeofday_us()
59         begin = dc_running[tid(), "winbindd_dual_list_trusted_domains"]
60         delete dc_running[tid(), "winbindd_dual_list_trusted_domains"]
62         duration = end - begin
63         dc_svctime["winbindd_dual_list_trusted_domains"] <<< duration
67 # winbind domain child function winbindd_dual_init_connection
70 probe process("winbindd").function("winbindd_dual_init_connection") {
71         dc_running[tid(), "winbindd_dual_init_connection"] = gettimeofday_us()
74 probe process("winbindd").function("winbindd_dual_init_connection").return {
75         if (!([tid(), "winbindd_dual_init_connection"] in dc_running))
76                 next
78         end = gettimeofday_us()
79         begin = dc_running[tid(), "winbindd_dual_init_connection"]
80         delete dc_running[tid(), "winbindd_dual_init_connection"]
82         duration = end - begin
83         dc_svctime["winbindd_dual_init_connection"] <<< duration
87 # winbind domain child function winbindd_dual_pam_auth
90 probe process("winbindd").function("winbindd_dual_pam_auth") {
91         dc_running[tid(), "winbindd_dual_pam_auth"] = gettimeofday_us()
94 probe process("winbindd").function("winbindd_dual_pam_auth").return {
95         if (!([tid(), "winbindd_dual_pam_auth"] in dc_running))
96                 next
98         end = gettimeofday_us()
99         begin = dc_running[tid(), "winbindd_dual_pam_auth"]
100         delete dc_running[tid(), "winbindd_dual_pam_auth"]
102         duration = end - begin
103         dc_svctime["winbindd_dual_pam_auth"] <<< duration
107 # winbind domain child function winbindd_dual_pam_auth_crap
110 probe process("winbindd").function("winbindd_dual_pam_auth_crap") {
111         dc_running[tid(), "winbindd_dual_pam_auth_crap"] = gettimeofday_us()
114 probe process("winbindd").function("winbindd_dual_pam_auth_crap").return {
115         if (!([tid(), "winbindd_dual_pam_auth_crap"] in dc_running))
116                 next
118         end = gettimeofday_us()
119         begin = dc_running[tid(), "winbindd_dual_pam_auth_crap"]
120         delete dc_running[tid(), "winbindd_dual_pam_auth_crap"]
122         duration = end - begin
123         dc_svctime["winbindd_dual_pam_auth_crap"] <<< duration
127 # winbind domain child function winbindd_dual_pam_logoff
130 probe process("winbindd").function("winbindd_dual_pam_logoff") {
131         dc_running[tid(), "winbindd_dual_pam_logoff"] = gettimeofday_us()
134 probe process("winbindd").function("winbindd_dual_pam_logoff").return {
135         if (!([tid(), "winbindd_dual_pam_logoff"] in dc_running))
136                 next
138         end = gettimeofday_us()
139         begin = dc_running[tid(), "winbindd_dual_pam_logoff"]
140         delete dc_running[tid(), "winbindd_dual_pam_logoff"]
142         duration = end - begin
143         dc_svctime["winbindd_dual_pam_logoff"] <<< duration
147 # winbind domain child function winbindd_dual_pam_chng_pswd_auth_crap
150 probe process("winbindd").function("winbindd_dual_pam_chng_pswd_auth_crap") {
151         dc_running[tid(), "winbindd_dual_pam_chng_pswd_auth_crap"] = gettimeofday_us()
154 probe process("winbindd").function("winbindd_dual_pam_chng_pswd_auth_crap").return {
155         if (!([tid(), "winbindd_dual_pam_chng_pswd_auth_crap"] in dc_running))
156                 next
158         end = gettimeofday_us()
159         begin = dc_running[tid(), "winbindd_dual_pam_chng_pswd_auth_crap"]
160         delete dc_running[tid(), "winbindd_dual_pam_chng_pswd_auth_crap"]
162         duration = end - begin
163         dc_svctime["winbindd_dual_pam_chng_pswd_auth_crap"] <<< duration
167 # winbind domain child function winbindd_dual_pam_chauthtok
170 probe process("winbindd").function("winbindd_dual_pam_chauthtok") {
171         dc_running[tid(), "winbindd_dual_pam_chauthtok"] = gettimeofday_us()
174 probe process("winbindd").function("winbindd_dual_pam_chauthtok").return {
175         if (!([tid(), "winbindd_dual_pam_chauthtok"] in dc_running))
176                 next
178         end = gettimeofday_us()
179         begin = dc_running[tid(), "winbindd_dual_pam_chauthtok"]
180         delete dc_running[tid(), "winbindd_dual_pam_chauthtok"]
182         duration = end - begin
183         dc_svctime["winbindd_dual_pam_chauthtok"] <<< duration
187 # winbind domain child function _wbint_LookupSid
190 probe process("winbindd").function("_wbint_LookupSid") {
191         dc_running[tid(), "_wbint_LookupSid"] = gettimeofday_us()
194 probe process("winbindd").function("_wbint_LookupSid").return {
195         if (!([tid(), "_wbint_LookupSid"] in dc_running))
196                 next
198         end = gettimeofday_us()
199         begin = dc_running[tid(), "_wbint_LookupSid"]
200         delete dc_running[tid(), "_wbint_LookupSid"]
202         duration = end - begin
203         dc_svctime["_wbint_LookupSid"] <<< duration
207 # winbind domain child function _wbint_LookupSids
210 probe process("winbindd").function("_wbint_LookupSids") {
211         dc_running[tid(), "_wbint_LookupSids"] = gettimeofday_us()
214 probe process("winbindd").function("_wbint_LookupSids").return {
215         if (!([tid(), "_wbint_LookupSids"] in dc_running))
216                 next
218         end = gettimeofday_us()
219         begin = dc_running[tid(), "_wbint_LookupSids"]
220         delete dc_running[tid(), "_wbint_LookupSids"]
222         duration = end - begin
223         dc_svctime["_wbint_LookupSids"] <<< duration
227 # winbind domain child function _wbint_LookupName
230 probe process("winbindd").function("_wbint_LookupName") {
231         dc_running[tid(), "_wbint_LookupName"] = gettimeofday_us()
234 probe process("winbindd").function("_wbint_LookupName").return {
235         if (!([tid(), "_wbint_LookupName"] in dc_running))
236                 next
238         end = gettimeofday_us()
239         begin = dc_running[tid(), "_wbint_LookupName"]
240         delete dc_running[tid(), "_wbint_LookupName"]
242         duration = end - begin
243         dc_svctime["_wbint_LookupName"] <<< duration
247 # winbind domain child function _wbint_Sids2UnixIDs
250 probe process("winbindd").function("_wbint_Sids2UnixIDs") {
251         dc_running[tid(), "_wbint_Sids2UnixIDs"] = gettimeofday_us()
254 probe process("winbindd").function("_wbint_Sids2UnixIDs").return {
255         if (!([tid(), "_wbint_Sids2UnixIDs"] in dc_running))
256                 next
258         end = gettimeofday_us()
259         begin = dc_running[tid(), "_wbint_Sids2UnixIDs"]
260         delete dc_running[tid(), "_wbint_Sids2UnixIDs"]
262         duration = end - begin
263         dc_svctime["_wbint_Sids2UnixIDs"] <<< duration
267 # winbind domain child function _wbint_UnixIDs2Sids
270 probe process("winbindd").function("_wbint_UnixIDs2Sids") {
271         dc_running[tid(), "_wbint_UnixIDs2Sids"] = gettimeofday_us()
274 probe process("winbindd").function("_wbint_UnixIDs2Sids").return {
275         if (!([tid(), "_wbint_UnixIDs2Sids"] in dc_running))
276                 next
278         end = gettimeofday_us()
279         begin = dc_running[tid(), "_wbint_UnixIDs2Sids"]
280         delete dc_running[tid(), "_wbint_UnixIDs2Sids"]
282         duration = end - begin
283         dc_svctime["_wbint_UnixIDs2Sids"] <<< duration
287 # winbind domain child function _wbint_AllocateUid
290 probe process("winbindd").function("_wbint_AllocateUid") {
291         dc_running[tid(), "_wbint_AllocateUid"] = gettimeofday_us()
294 probe process("winbindd").function("_wbint_AllocateUid").return {
295         if (!([tid(), "_wbint_AllocateUid"] in dc_running))
296                 next
298         end = gettimeofday_us()
299         begin = dc_running[tid(), "_wbint_AllocateUid"]
300         delete dc_running[tid(), "_wbint_AllocateUid"]
302         duration = end - begin
303         dc_svctime["_wbint_AllocateUid"] <<< duration
307 # winbind domain child function _wbint_AllocateGid
310 probe process("winbindd").function("_wbint_AllocateGid") {
311         dc_running[tid(), "_wbint_AllocateGid"] = gettimeofday_us()
314 probe process("winbindd").function("_wbint_AllocateGid").return {
315         if (!([tid(), "_wbint_AllocateGid"] in dc_running))
316                 next
318         end = gettimeofday_us()
319         begin = dc_running[tid(), "_wbint_AllocateGid"]
320         delete dc_running[tid(), "_wbint_AllocateGid"]
322         duration = end - begin
323         dc_svctime["_wbint_AllocateGid"] <<< duration
327 # winbind domain child function _wbint_GetNssInfo
330 probe process("winbindd").function("_wbint_GetNssInfo") {
331         dc_running[tid(), "_wbint_GetNssInfo"] = gettimeofday_us()
334 probe process("winbindd").function("_wbint_GetNssInfo").return {
335         if (!([tid(), "_wbint_GetNssInfo"] in dc_running))
336                 next
338         end = gettimeofday_us()
339         begin = dc_running[tid(), "_wbint_GetNssInfo"]
340         delete dc_running[tid(), "_wbint_GetNssInfo"]
342         duration = end - begin
343         dc_svctime["_wbint_GetNssInfo"] <<< duration
347 # winbind domain child function _wbint_LookupUserAliases
350 probe process("winbindd").function("_wbint_LookupUserAliases") {
351         dc_running[tid(), "_wbint_LookupUserAliases"] = gettimeofday_us()
354 probe process("winbindd").function("_wbint_LookupUserAliases").return {
355         if (!([tid(), "_wbint_LookupUserAliases"] in dc_running))
356                 next
358         end = gettimeofday_us()
359         begin = dc_running[tid(), "_wbint_LookupUserAliases"]
360         delete dc_running[tid(), "_wbint_LookupUserAliases"]
362         duration = end - begin
363         dc_svctime["_wbint_LookupUserAliases"] <<< duration
367 # winbind domain child function _wbint_LookupUserGroups
370 probe process("winbindd").function("_wbint_LookupUserGroups") {
371         dc_running[tid(), "_wbint_LookupUserGroups"] = gettimeofday_us()
374 probe process("winbindd").function("_wbint_LookupUserGroups").return {
375         if (!([tid(), "_wbint_LookupUserGroups"] in dc_running))
376                 next
378         end = gettimeofday_us()
379         begin = dc_running[tid(), "_wbint_LookupUserGroups"]
380         delete dc_running[tid(), "_wbint_LookupUserGroups"]
382         duration = end - begin
383         dc_svctime["_wbint_LookupUserGroups"] <<< duration
387 # winbind domain child function _wbint_QuerySequenceNumber
390 probe process("winbindd").function("_wbint_QuerySequenceNumber") {
391         dc_running[tid(), "_wbint_QuerySequenceNumber"] = gettimeofday_us()
394 probe process("winbindd").function("_wbint_QuerySequenceNumber").return {
395         if (!([tid(), "_wbint_QuerySequenceNumber"] in dc_running))
396                 next
398         end = gettimeofday_us()
399         begin = dc_running[tid(), "_wbint_QuerySequenceNumber"]
400         delete dc_running[tid(), "_wbint_QuerySequenceNumber"]
402         duration = end - begin
403         dc_svctime["_wbint_QuerySequenceNumber"] <<< duration
407 # winbind domain child function _wbint_LookupGroupMembers
410 probe process("winbindd").function("_wbint_LookupGroupMembers") {
411         dc_running[tid(), "_wbint_LookupGroupMembers"] = gettimeofday_us()
414 probe process("winbindd").function("_wbint_LookupGroupMembers").return {
415         if (!([tid(), "_wbint_LookupGroupMembers"] in dc_running))
416                 next
418         end = gettimeofday_us()
419         begin = dc_running[tid(), "_wbint_LookupGroupMembers"]
420         delete dc_running[tid(), "_wbint_LookupGroupMembers"]
422         duration = end - begin
423         dc_svctime["_wbint_LookupGroupMembers"] <<< duration
427 # winbind domain child function _wbint_QueryGroupList
430 probe process("winbindd").function("_wbint_QueryGroupList") {
431         dc_running[tid(), "_wbint_QueryGroupList"] = gettimeofday_us()
434 probe process("winbindd").function("_wbint_QueryGroupList").return {
435         if (!([tid(), "_wbint_QueryGroupList"] in dc_running))
436                 next
438         end = gettimeofday_us()
439         begin = dc_running[tid(), "_wbint_QueryGroupList"]
440         delete dc_running[tid(), "_wbint_QueryGroupList"]
442         duration = end - begin
443         dc_svctime["_wbint_QueryGroupList"] <<< duration
447 # winbind domain child function _wbint_QueryUserRidList
450 probe process("winbindd").function("_wbint_QueryUserRidList") {
451         dc_running[tid(), "_wbint_QueryUserRidList"] = gettimeofday_us()
454 probe process("winbindd").function("_wbint_QueryUserRidList").return {
455         if (!([tid(), "_wbint_QueryUserRidList"] in dc_running))
456                 next
458         end = gettimeofday_us()
459         begin = dc_running[tid(), "_wbint_QueryUserRidList"]
460         delete dc_running[tid(), "_wbint_QueryUserRidList"]
462         duration = end - begin
463         dc_svctime["_wbint_QueryUserRidList"] <<< duration
467 # winbind domain child function _wbint_DsGetDcName
470 probe process("winbindd").function("_wbint_DsGetDcName") {
471         dc_running[tid(), "_wbint_DsGetDcName"] = gettimeofday_us()
474 probe process("winbindd").function("_wbint_DsGetDcName").return {
475         if (!([tid(), "_wbint_DsGetDcName"] in dc_running))
476                 next
478         end = gettimeofday_us()
479         begin = dc_running[tid(), "_wbint_DsGetDcName"]
480         delete dc_running[tid(), "_wbint_DsGetDcName"]
482         duration = end - begin
483         dc_svctime["_wbint_DsGetDcName"] <<< duration
487 # winbind domain child function _wbint_LookupRids
490 probe process("winbindd").function("_wbint_LookupRids") {
491         dc_running[tid(), "_wbint_LookupRids"] = gettimeofday_us()
494 probe process("winbindd").function("_wbint_LookupRids").return {
495         if (!([tid(), "_wbint_LookupRids"] in dc_running))
496                 next
498         end = gettimeofday_us()
499         begin = dc_running[tid(), "_wbint_LookupRids"]
500         delete dc_running[tid(), "_wbint_LookupRids"]
502         duration = end - begin
503         dc_svctime["_wbint_LookupRids"] <<< duration
507 # winbind domain child function _wbint_CheckMachineAccount
510 probe process("winbindd").function("_wbint_CheckMachineAccount") {
511         dc_running[tid(), "_wbint_CheckMachineAccount"] = gettimeofday_us()
514 probe process("winbindd").function("_wbint_CheckMachineAccount").return {
515         if (!([tid(), "_wbint_CheckMachineAccount"] in dc_running))
516                 next
518         end = gettimeofday_us()
519         begin = dc_running[tid(), "_wbint_CheckMachineAccount"]
520         delete dc_running[tid(), "_wbint_CheckMachineAccount"]
522         duration = end - begin
523         dc_svctime["_wbint_CheckMachineAccount"] <<< duration
527 # winbind domain child function _wbint_ChangeMachineAccount
530 probe process("winbindd").function("_wbint_ChangeMachineAccount") {
531         dc_running[tid(), "_wbint_ChangeMachineAccount"] = gettimeofday_us()
534 probe process("winbindd").function("_wbint_ChangeMachineAccount").return {
535         if (!([tid(), "_wbint_ChangeMachineAccount"] in dc_running))
536                 next
538         end = gettimeofday_us()
539         begin = dc_running[tid(), "_wbint_ChangeMachineAccount"]
540         delete dc_running[tid(), "_wbint_ChangeMachineAccount"]
542         duration = end - begin
543         dc_svctime["_wbint_ChangeMachineAccount"] <<< duration
547 # winbind domain child function _wbint_PingDc
550 probe process("winbindd").function("_wbint_PingDc") {
551         dc_running[tid(), "_wbint_PingDc"] = gettimeofday_us()
554 probe process("winbindd").function("_wbint_PingDc").return {
555         if (!([tid(), "_wbint_PingDc"] in dc_running))
556                 next
558         end = gettimeofday_us()
559         begin = dc_running[tid(), "_wbint_PingDc"]
560         delete dc_running[tid(), "_wbint_PingDc"]
562         duration = end - begin
563         dc_svctime["_wbint_PingDc"] <<< duration
567 # winbind domain child backend function query_user_list
570 probe process("winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c") {
571         backend_running[tid(), "query_user_list"] = gettimeofday_us()
574 probe process("winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c").return {
575         if (!([tid(), "query_user_list"] in backend_running))
576                 next
578         end = gettimeofday_us()
579         begin = backend_running[tid(), "query_user_list"]
580         delete backend_running[tid(), "query_user_list"]
582         duration = end - begin
583         backend_svctime["query_user_list"] <<< duration
587 # winbind domain child backend function enum_dom_groups
590 probe process("winbindd").function("enum_dom_groups@../source3/winbindd/winbindd_ads.c") {
591         backend_running[tid(), "enum_dom_groups"] = gettimeofday_us()
594 probe process("winbindd").function("enum_dom_groups@../source3/winbindd/winbindd_ads.c").return {
595         if (!([tid(), "enum_dom_groups"] in backend_running))
596                 next
598         end = gettimeofday_us()
599         begin = backend_running[tid(), "enum_dom_groups"]
600         delete backend_running[tid(), "enum_dom_groups"]
602         duration = end - begin
603         backend_svctime["enum_dom_groups"] <<< duration
607 # winbind domain child backend function enum_local_groups
610 probe process("winbindd").function("enum_local_groups@../source3/winbindd/winbindd_ads.c") {
611         backend_running[tid(), "enum_local_groups"] = gettimeofday_us()
614 probe process("winbindd").function("enum_local_groups@../source3/winbindd/winbindd_ads.c").return {
615         if (!([tid(), "enum_local_groups"] in backend_running))
616                 next
618         end = gettimeofday_us()
619         begin = backend_running[tid(), "enum_local_groups"]
620         delete backend_running[tid(), "enum_local_groups"]
622         duration = end - begin
623         backend_svctime["enum_local_groups"] <<< duration
627 # winbind domain child backend function name_to_sid
630 probe process("winbindd").function("name_to_sid@../source3/winbindd/winbindd_ads.c") {
631         backend_running[tid(), "name_to_sid"] = gettimeofday_us()
634 probe process("winbindd").function("name_to_sid@../source3/winbindd/winbindd_ads.c").return {
635         if (!([tid(), "name_to_sid"] in backend_running))
636                 next
638         end = gettimeofday_us()
639         begin = backend_running[tid(), "name_to_sid"]
640         delete backend_running[tid(), "name_to_sid"]
642         duration = end - begin
643         backend_svctime["name_to_sid"] <<< duration
647 # winbind domain child backend function sid_to_name
650 probe process("winbindd").function("sid_to_name@../source3/winbindd/winbindd_ads.c") {
651         backend_running[tid(), "sid_to_name"] = gettimeofday_us()
654 probe process("winbindd").function("sid_to_name@../source3/winbindd/winbindd_ads.c").return {
655         if (!([tid(), "sid_to_name"] in backend_running))
656                 next
658         end = gettimeofday_us()
659         begin = backend_running[tid(), "sid_to_name"]
660         delete backend_running[tid(), "sid_to_name"]
662         duration = end - begin
663         backend_svctime["sid_to_name"] <<< duration
667 # winbind domain child backend function rids_to_names
670 probe process("winbindd").function("rids_to_names@../source3/winbindd/winbindd_ads.c") {
671         backend_running[tid(), "rids_to_names"] = gettimeofday_us()
674 probe process("winbindd").function("rids_to_names@../source3/winbindd/winbindd_ads.c").return {
675         if (!([tid(), "rids_to_names"] in backend_running))
676                 next
678         end = gettimeofday_us()
679         begin = backend_running[tid(), "rids_to_names"]
680         delete backend_running[tid(), "rids_to_names"]
682         duration = end - begin
683         backend_svctime["rids_to_names"] <<< duration
687 # winbind domain child backend function lookup_usergroups
690 probe process("winbindd").function("lookup_usergroups@../source3/winbindd/winbindd_ads.c") {
691         backend_running[tid(), "lookup_usergroups"] = gettimeofday_us()
694 probe process("winbindd").function("lookup_usergroups@../source3/winbindd/winbindd_ads.c").return {
695         if (!([tid(), "lookup_usergroups"] in backend_running))
696                 next
698         end = gettimeofday_us()
699         begin = backend_running[tid(), "lookup_usergroups"]
700         delete backend_running[tid(), "lookup_usergroups"]
702         duration = end - begin
703         backend_svctime["lookup_usergroups"] <<< duration
707 # winbind domain child backend function lookup_useraliases
710 probe process("winbindd").function("lookup_useraliases@../source3/winbindd/winbindd_ads.c") {
711         backend_running[tid(), "lookup_useraliases"] = gettimeofday_us()
714 probe process("winbindd").function("lookup_useraliases@../source3/winbindd/winbindd_ads.c").return {
715         if (!([tid(), "lookup_useraliases"] in backend_running))
716                 next
718         end = gettimeofday_us()
719         begin = backend_running[tid(), "lookup_useraliases"]
720         delete backend_running[tid(), "lookup_useraliases"]
722         duration = end - begin
723         backend_svctime["lookup_useraliases"] <<< duration
727 # winbind domain child backend function lookup_groupmem
730 probe process("winbindd").function("lookup_groupmem@../source3/winbindd/winbindd_ads.c") {
731         backend_running[tid(), "lookup_groupmem"] = gettimeofday_us()
734 probe process("winbindd").function("lookup_groupmem@../source3/winbindd/winbindd_ads.c").return {
735         if (!([tid(), "lookup_groupmem"] in backend_running))
736                 next
738         end = gettimeofday_us()
739         begin = backend_running[tid(), "lookup_groupmem"]
740         delete backend_running[tid(), "lookup_groupmem"]
742         duration = end - begin
743         backend_svctime["lookup_groupmem"] <<< duration
747 # winbind domain child backend function sequence_number
750 probe process("winbindd").function("sequence_number@../source3/winbindd/winbindd_ads.c") {
751         backend_running[tid(), "sequence_number"] = gettimeofday_us()
754 probe process("winbindd").function("sequence_number@../source3/winbindd/winbindd_ads.c").return {
755         if (!([tid(), "sequence_number"] in backend_running))
756                 next
758         end = gettimeofday_us()
759         begin = backend_running[tid(), "sequence_number"]
760         delete backend_running[tid(), "sequence_number"]
762         duration = end - begin
763         backend_svctime["sequence_number"] <<< duration
767 # winbind domain child backend function lockout_policy
770 probe process("winbindd").function("lockout_policy@../source3/winbindd/winbindd_ads.c") {
771         backend_running[tid(), "lockout_policy"] = gettimeofday_us()
774 probe process("winbindd").function("lockout_policy@../source3/winbindd/winbindd_ads.c").return {
775         if (!([tid(), "lockout_policy"] in backend_running))
776                 next
778         end = gettimeofday_us()
779         begin = backend_running[tid(), "lockout_policy"]
780         delete backend_running[tid(), "lockout_policy"]
782         duration = end - begin
783         backend_svctime["lockout_policy"] <<< duration
787 # winbind domain child backend function password_policy
790 probe process("winbindd").function("password_policy@../source3/winbindd/winbindd_ads.c") {
791         backend_running[tid(), "password_policy"] = gettimeofday_us()
794 probe process("winbindd").function("password_policy@../source3/winbindd/winbindd_ads.c").return {
795         if (!([tid(), "password_policy"] in backend_running))
796                 next
798         end = gettimeofday_us()
799         begin = backend_running[tid(), "password_policy"]
800         delete backend_running[tid(), "password_policy"]
802         duration = end - begin
803         backend_svctime["password_policy"] <<< duration
807 # winbind domain child backend function trusted_domains
810 probe process("winbindd").function("trusted_domains@../source3/winbindd/winbindd_ads.c") {
811         backend_running[tid(), "trusted_domains"] = gettimeofday_us()
814 probe process("winbindd").function("trusted_domains@../source3/winbindd/winbindd_ads.c").return {
815         if (!([tid(), "trusted_domains"] in backend_running))
816                 next
818         end = gettimeofday_us()
819         begin = backend_running[tid(), "trusted_domains"]
820         delete backend_running[tid(), "trusted_domains"]
822         duration = end - begin
823         backend_svctime["trusted_domains"] <<< duration
827 # winbind async function wb_ping
830 probe process("winbindd").function("wb_ping_send") {
831         send_running["wb_ping_send"] = gettimeofday_us()
834 probe process("winbindd").function("wb_ping_send").return {
835         if (!(["wb_ping_send"] in send_running))
836                 next
838         end = gettimeofday_us()
839         start = send_running["wb_ping_send"]
840         delete send_running["wb_ping_send"]
842         start_time["wb_ping_send", $return] = start
843         idle_time["wb_ping_send", $return] = end
846 probe process("winbindd").function("wb_ping_recv") {
847         if (!(["wb_ping_send", $req] in start_time))
848                 next
850         recv_running["wb_ping_recv"] = gettimeofday_us()
853 probe process("winbindd").function("wb_ping_recv").return {
854         if (!(["wb_ping_recv"] in recv_running))
855                 next
857         recv_end = gettimeofday_us()
858         recv_start = recv_running["wb_ping_recv"]
859         delete recv_running["wb_ping_recv"]
860         recv_runtime = recv_end - recv_start
862         req = @entry($req)
864         send_begin = start_time["wb_ping_send", req]
865         delete start_time["wb_ping_send", req]
866         svctime = recv_end - send_begin
868         idle = idle_time["wb_ping_send", req]
869         delete idle_time["wb_ping_send", req]
870         runtime = (idle - send_begin) + recv_runtime
872         async_svctime["wb_ping_send"] <<< svctime
873         async_runtime["wb_ping_send"] <<< runtime
877 # winbind async function winbindd_lookupsid
880 probe process("winbindd").function("winbindd_lookupsid_send") {
881         send_running["winbindd_lookupsid_send"] = gettimeofday_us()
884 probe process("winbindd").function("winbindd_lookupsid_send").return {
885         if (!(["winbindd_lookupsid_send"] in send_running))
886                 next
888         end = gettimeofday_us()
889         start = send_running["winbindd_lookupsid_send"]
890         delete send_running["winbindd_lookupsid_send"]
892         start_time["winbindd_lookupsid_send", $return] = start
893         idle_time["winbindd_lookupsid_send", $return] = end
896 probe process("winbindd").function("winbindd_lookupsid_recv") {
897         if (!(["winbindd_lookupsid_send", $req] in start_time))
898                 next
900         recv_running["winbindd_lookupsid_recv"] = gettimeofday_us()
903 probe process("winbindd").function("winbindd_lookupsid_recv").return {
904         if (!(["winbindd_lookupsid_recv"] in recv_running))
905                 next
907         recv_end = gettimeofday_us()
908         recv_start = recv_running["winbindd_lookupsid_recv"]
909         delete recv_running["winbindd_lookupsid_recv"]
910         recv_runtime = recv_end - recv_start
912         req = @entry($req)
914         send_begin = start_time["winbindd_lookupsid_send", req]
915         delete start_time["winbindd_lookupsid_send", req]
916         svctime = recv_end - send_begin
918         idle = idle_time["winbindd_lookupsid_send", req]
919         delete idle_time["winbindd_lookupsid_send", req]
920         runtime = (idle - send_begin) + recv_runtime
922         async_svctime["winbindd_lookupsid_send"] <<< svctime
923         async_runtime["winbindd_lookupsid_send"] <<< runtime
927 # winbind async function winbindd_lookupsids
930 probe process("winbindd").function("winbindd_lookupsids_send") {
931         send_running["winbindd_lookupsids_send"] = gettimeofday_us()
934 probe process("winbindd").function("winbindd_lookupsids_send").return {
935         if (!(["winbindd_lookupsids_send"] in send_running))
936                 next
938         end = gettimeofday_us()
939         start = send_running["winbindd_lookupsids_send"]
940         delete send_running["winbindd_lookupsids_send"]
942         start_time["winbindd_lookupsids_send", $return] = start
943         idle_time["winbindd_lookupsids_send", $return] = end
946 probe process("winbindd").function("winbindd_lookupsids_recv") {
947         if (!(["winbindd_lookupsids_send", $req] in start_time))
948                 next
950         recv_running["winbindd_lookupsids_recv"] = gettimeofday_us()
953 probe process("winbindd").function("winbindd_lookupsids_recv").return {
954         if (!(["winbindd_lookupsids_recv"] in recv_running))
955                 next
957         recv_end = gettimeofday_us()
958         recv_start = recv_running["winbindd_lookupsids_recv"]
959         delete recv_running["winbindd_lookupsids_recv"]
960         recv_runtime = recv_end - recv_start
962         req = @entry($req)
964         send_begin = start_time["winbindd_lookupsids_send", req]
965         delete start_time["winbindd_lookupsids_send", req]
966         svctime = recv_end - send_begin
968         idle = idle_time["winbindd_lookupsids_send", req]
969         delete idle_time["winbindd_lookupsids_send", req]
970         runtime = (idle - send_begin) + recv_runtime
972         async_svctime["winbindd_lookupsids_send"] <<< svctime
973         async_runtime["winbindd_lookupsids_send"] <<< runtime
977 # winbind async function winbindd_lookupname
980 probe process("winbindd").function("winbindd_lookupname_send") {
981         send_running["winbindd_lookupname_send"] = gettimeofday_us()
984 probe process("winbindd").function("winbindd_lookupname_send").return {
985         if (!(["winbindd_lookupname_send"] in send_running))
986                 next
988         end = gettimeofday_us()
989         start = send_running["winbindd_lookupname_send"]
990         delete send_running["winbindd_lookupname_send"]
992         start_time["winbindd_lookupname_send", $return] = start
993         idle_time["winbindd_lookupname_send", $return] = end
996 probe process("winbindd").function("winbindd_lookupname_recv") {
997         if (!(["winbindd_lookupname_send", $req] in start_time))
998                 next
1000         recv_running["winbindd_lookupname_recv"] = gettimeofday_us()
1003 probe process("winbindd").function("winbindd_lookupname_recv").return {
1004         if (!(["winbindd_lookupname_recv"] in recv_running))
1005                 next
1007         recv_end = gettimeofday_us()
1008         recv_start = recv_running["winbindd_lookupname_recv"]
1009         delete recv_running["winbindd_lookupname_recv"]
1010         recv_runtime = recv_end - recv_start
1012         req = @entry($req)
1014         send_begin = start_time["winbindd_lookupname_send", req]
1015         delete start_time["winbindd_lookupname_send", req]
1016         svctime = recv_end - send_begin
1018         idle = idle_time["winbindd_lookupname_send", req]
1019         delete idle_time["winbindd_lookupname_send", req]
1020         runtime = (idle - send_begin) + recv_runtime
1022         async_svctime["winbindd_lookupname_send"] <<< svctime
1023         async_runtime["winbindd_lookupname_send"] <<< runtime
1027 # winbind async function winbindd_sids_to_xids
1030 probe process("winbindd").function("winbindd_sids_to_xids_send") {
1031         send_running["winbindd_sids_to_xids_send"] = gettimeofday_us()
1034 probe process("winbindd").function("winbindd_sids_to_xids_send").return {
1035         if (!(["winbindd_sids_to_xids_send"] in send_running))
1036                 next
1038         end = gettimeofday_us()
1039         start = send_running["winbindd_sids_to_xids_send"]
1040         delete send_running["winbindd_sids_to_xids_send"]
1042         start_time["winbindd_sids_to_xids_send", $return] = start
1043         idle_time["winbindd_sids_to_xids_send", $return] = end
1046 probe process("winbindd").function("winbindd_sids_to_xids_recv") {
1047         if (!(["winbindd_sids_to_xids_send", $req] in start_time))
1048                 next
1050         recv_running["winbindd_sids_to_xids_recv"] = gettimeofday_us()
1053 probe process("winbindd").function("winbindd_sids_to_xids_recv").return {
1054         if (!(["winbindd_sids_to_xids_recv"] in recv_running))
1055                 next
1057         recv_end = gettimeofday_us()
1058         recv_start = recv_running["winbindd_sids_to_xids_recv"]
1059         delete recv_running["winbindd_sids_to_xids_recv"]
1060         recv_runtime = recv_end - recv_start
1062         req = @entry($req)
1064         send_begin = start_time["winbindd_sids_to_xids_send", req]
1065         delete start_time["winbindd_sids_to_xids_send", req]
1066         svctime = recv_end - send_begin
1068         idle = idle_time["winbindd_sids_to_xids_send", req]
1069         delete idle_time["winbindd_sids_to_xids_send", req]
1070         runtime = (idle - send_begin) + recv_runtime
1072         async_svctime["winbindd_sids_to_xids_send"] <<< svctime
1073         async_runtime["winbindd_sids_to_xids_send"] <<< runtime
1077 # winbind async function winbindd_xids_to_sids
1080 probe process("winbindd").function("winbindd_xids_to_sids_send") {
1081         send_running["winbindd_xids_to_sids_send"] = gettimeofday_us()
1084 probe process("winbindd").function("winbindd_xids_to_sids_send").return {
1085         if (!(["winbindd_xids_to_sids_send"] in send_running))
1086                 next
1088         end = gettimeofday_us()
1089         start = send_running["winbindd_xids_to_sids_send"]
1090         delete send_running["winbindd_xids_to_sids_send"]
1092         start_time["winbindd_xids_to_sids_send", $return] = start
1093         idle_time["winbindd_xids_to_sids_send", $return] = end
1096 probe process("winbindd").function("winbindd_xids_to_sids_recv") {
1097         if (!(["winbindd_xids_to_sids_send", $req] in start_time))
1098                 next
1100         recv_running["winbindd_xids_to_sids_recv"] = gettimeofday_us()
1103 probe process("winbindd").function("winbindd_xids_to_sids_recv").return {
1104         if (!(["winbindd_xids_to_sids_recv"] in recv_running))
1105                 next
1107         recv_end = gettimeofday_us()
1108         recv_start = recv_running["winbindd_xids_to_sids_recv"]
1109         delete recv_running["winbindd_xids_to_sids_recv"]
1110         recv_runtime = recv_end - recv_start
1112         req = @entry($req)
1114         send_begin = start_time["winbindd_xids_to_sids_send", req]
1115         delete start_time["winbindd_xids_to_sids_send", req]
1116         svctime = recv_end - send_begin
1118         idle = idle_time["winbindd_xids_to_sids_send", req]
1119         delete idle_time["winbindd_xids_to_sids_send", req]
1120         runtime = (idle - send_begin) + recv_runtime
1122         async_svctime["winbindd_xids_to_sids_send"] <<< svctime
1123         async_runtime["winbindd_xids_to_sids_send"] <<< runtime
1127 # winbind async function winbindd_getpwsid
1130 probe process("winbindd").function("winbindd_getpwsid_send") {
1131         send_running["winbindd_getpwsid_send"] = gettimeofday_us()
1134 probe process("winbindd").function("winbindd_getpwsid_send").return {
1135         if (!(["winbindd_getpwsid_send"] in send_running))
1136                 next
1138         end = gettimeofday_us()
1139         start = send_running["winbindd_getpwsid_send"]
1140         delete send_running["winbindd_getpwsid_send"]
1142         start_time["winbindd_getpwsid_send", $return] = start
1143         idle_time["winbindd_getpwsid_send", $return] = end
1146 probe process("winbindd").function("winbindd_getpwsid_recv") {
1147         if (!(["winbindd_getpwsid_send", $req] in start_time))
1148                 next
1150         recv_running["winbindd_getpwsid_recv"] = gettimeofday_us()
1153 probe process("winbindd").function("winbindd_getpwsid_recv").return {
1154         if (!(["winbindd_getpwsid_recv"] in recv_running))
1155                 next
1157         recv_end = gettimeofday_us()
1158         recv_start = recv_running["winbindd_getpwsid_recv"]
1159         delete recv_running["winbindd_getpwsid_recv"]
1160         recv_runtime = recv_end - recv_start
1162         req = @entry($req)
1164         send_begin = start_time["winbindd_getpwsid_send", req]
1165         delete start_time["winbindd_getpwsid_send", req]
1166         svctime = recv_end - send_begin
1168         idle = idle_time["winbindd_getpwsid_send", req]
1169         delete idle_time["winbindd_getpwsid_send", req]
1170         runtime = (idle - send_begin) + recv_runtime
1172         async_svctime["winbindd_getpwsid_send"] <<< svctime
1173         async_runtime["winbindd_getpwsid_send"] <<< runtime
1177 # winbind async function winbindd_getpwnam
1180 probe process("winbindd").function("winbindd_getpwnam_send") {
1181         send_running["winbindd_getpwnam_send"] = gettimeofday_us()
1184 probe process("winbindd").function("winbindd_getpwnam_send").return {
1185         if (!(["winbindd_getpwnam_send"] in send_running))
1186                 next
1188         end = gettimeofday_us()
1189         start = send_running["winbindd_getpwnam_send"]
1190         delete send_running["winbindd_getpwnam_send"]
1192         start_time["winbindd_getpwnam_send", $return] = start
1193         idle_time["winbindd_getpwnam_send", $return] = end
1196 probe process("winbindd").function("winbindd_getpwnam_recv") {
1197         if (!(["winbindd_getpwnam_send", $req] in start_time))
1198                 next
1200         recv_running["winbindd_getpwnam_recv"] = gettimeofday_us()
1203 probe process("winbindd").function("winbindd_getpwnam_recv").return {
1204         if (!(["winbindd_getpwnam_recv"] in recv_running))
1205                 next
1207         recv_end = gettimeofday_us()
1208         recv_start = recv_running["winbindd_getpwnam_recv"]
1209         delete recv_running["winbindd_getpwnam_recv"]
1210         recv_runtime = recv_end - recv_start
1212         req = @entry($req)
1214         send_begin = start_time["winbindd_getpwnam_send", req]
1215         delete start_time["winbindd_getpwnam_send", req]
1216         svctime = recv_end - send_begin
1218         idle = idle_time["winbindd_getpwnam_send", req]
1219         delete idle_time["winbindd_getpwnam_send", req]
1220         runtime = (idle - send_begin) + recv_runtime
1222         async_svctime["winbindd_getpwnam_send"] <<< svctime
1223         async_runtime["winbindd_getpwnam_send"] <<< runtime
1227 # winbind async function winbindd_getpwuid
1230 probe process("winbindd").function("winbindd_getpwuid_send") {
1231         send_running["winbindd_getpwuid_send"] = gettimeofday_us()
1234 probe process("winbindd").function("winbindd_getpwuid_send").return {
1235         if (!(["winbindd_getpwuid_send"] in send_running))
1236                 next
1238         end = gettimeofday_us()
1239         start = send_running["winbindd_getpwuid_send"]
1240         delete send_running["winbindd_getpwuid_send"]
1242         start_time["winbindd_getpwuid_send", $return] = start
1243         idle_time["winbindd_getpwuid_send", $return] = end
1246 probe process("winbindd").function("winbindd_getpwuid_recv") {
1247         if (!(["winbindd_getpwuid_send", $req] in start_time))
1248                 next
1250         recv_running["winbindd_getpwuid_recv"] = gettimeofday_us()
1253 probe process("winbindd").function("winbindd_getpwuid_recv").return {
1254         if (!(["winbindd_getpwuid_recv"] in recv_running))
1255                 next
1257         recv_end = gettimeofday_us()
1258         recv_start = recv_running["winbindd_getpwuid_recv"]
1259         delete recv_running["winbindd_getpwuid_recv"]
1260         recv_runtime = recv_end - recv_start
1262         req = @entry($req)
1264         send_begin = start_time["winbindd_getpwuid_send", req]
1265         delete start_time["winbindd_getpwuid_send", req]
1266         svctime = recv_end - send_begin
1268         idle = idle_time["winbindd_getpwuid_send", req]
1269         delete idle_time["winbindd_getpwuid_send", req]
1270         runtime = (idle - send_begin) + recv_runtime
1272         async_svctime["winbindd_getpwuid_send"] <<< svctime
1273         async_runtime["winbindd_getpwuid_send"] <<< runtime
1277 # winbind async function winbindd_getsidaliases
1280 probe process("winbindd").function("winbindd_getsidaliases_send") {
1281         send_running["winbindd_getsidaliases_send"] = gettimeofday_us()
1284 probe process("winbindd").function("winbindd_getsidaliases_send").return {
1285         if (!(["winbindd_getsidaliases_send"] in send_running))
1286                 next
1288         end = gettimeofday_us()
1289         start = send_running["winbindd_getsidaliases_send"]
1290         delete send_running["winbindd_getsidaliases_send"]
1292         start_time["winbindd_getsidaliases_send", $return] = start
1293         idle_time["winbindd_getsidaliases_send", $return] = end
1296 probe process("winbindd").function("winbindd_getsidaliases_recv") {
1297         if (!(["winbindd_getsidaliases_send", $req] in start_time))
1298                 next
1300         recv_running["winbindd_getsidaliases_recv"] = gettimeofday_us()
1303 probe process("winbindd").function("winbindd_getsidaliases_recv").return {
1304         if (!(["winbindd_getsidaliases_recv"] in recv_running))
1305                 next
1307         recv_end = gettimeofday_us()
1308         recv_start = recv_running["winbindd_getsidaliases_recv"]
1309         delete recv_running["winbindd_getsidaliases_recv"]
1310         recv_runtime = recv_end - recv_start
1312         req = @entry($req)
1314         send_begin = start_time["winbindd_getsidaliases_send", req]
1315         delete start_time["winbindd_getsidaliases_send", req]
1316         svctime = recv_end - send_begin
1318         idle = idle_time["winbindd_getsidaliases_send", req]
1319         delete idle_time["winbindd_getsidaliases_send", req]
1320         runtime = (idle - send_begin) + recv_runtime
1322         async_svctime["winbindd_getsidaliases_send"] <<< svctime
1323         async_runtime["winbindd_getsidaliases_send"] <<< runtime
1327 # winbind async function winbindd_getuserdomgroups
1330 probe process("winbindd").function("winbindd_getuserdomgroups_send") {
1331         send_running["winbindd_getuserdomgroups_send"] = gettimeofday_us()
1334 probe process("winbindd").function("winbindd_getuserdomgroups_send").return {
1335         if (!(["winbindd_getuserdomgroups_send"] in send_running))
1336                 next
1338         end = gettimeofday_us()
1339         start = send_running["winbindd_getuserdomgroups_send"]
1340         delete send_running["winbindd_getuserdomgroups_send"]
1342         start_time["winbindd_getuserdomgroups_send", $return] = start
1343         idle_time["winbindd_getuserdomgroups_send", $return] = end
1346 probe process("winbindd").function("winbindd_getuserdomgroups_recv") {
1347         if (!(["winbindd_getuserdomgroups_send", $req] in start_time))
1348                 next
1350         recv_running["winbindd_getuserdomgroups_recv"] = gettimeofday_us()
1353 probe process("winbindd").function("winbindd_getuserdomgroups_recv").return {
1354         if (!(["winbindd_getuserdomgroups_recv"] in recv_running))
1355                 next
1357         recv_end = gettimeofday_us()
1358         recv_start = recv_running["winbindd_getuserdomgroups_recv"]
1359         delete recv_running["winbindd_getuserdomgroups_recv"]
1360         recv_runtime = recv_end - recv_start
1362         req = @entry($req)
1364         send_begin = start_time["winbindd_getuserdomgroups_send", req]
1365         delete start_time["winbindd_getuserdomgroups_send", req]
1366         svctime = recv_end - send_begin
1368         idle = idle_time["winbindd_getuserdomgroups_send", req]
1369         delete idle_time["winbindd_getuserdomgroups_send", req]
1370         runtime = (idle - send_begin) + recv_runtime
1372         async_svctime["winbindd_getuserdomgroups_send"] <<< svctime
1373         async_runtime["winbindd_getuserdomgroups_send"] <<< runtime
1377 # winbind async function winbindd_getgroups
1380 probe process("winbindd").function("winbindd_getgroups_send") {
1381         send_running["winbindd_getgroups_send"] = gettimeofday_us()
1384 probe process("winbindd").function("winbindd_getgroups_send").return {
1385         if (!(["winbindd_getgroups_send"] in send_running))
1386                 next
1388         end = gettimeofday_us()
1389         start = send_running["winbindd_getgroups_send"]
1390         delete send_running["winbindd_getgroups_send"]
1392         start_time["winbindd_getgroups_send", $return] = start
1393         idle_time["winbindd_getgroups_send", $return] = end
1396 probe process("winbindd").function("winbindd_getgroups_recv") {
1397         if (!(["winbindd_getgroups_send", $req] in start_time))
1398                 next
1400         recv_running["winbindd_getgroups_recv"] = gettimeofday_us()
1403 probe process("winbindd").function("winbindd_getgroups_recv").return {
1404         if (!(["winbindd_getgroups_recv"] in recv_running))
1405                 next
1407         recv_end = gettimeofday_us()
1408         recv_start = recv_running["winbindd_getgroups_recv"]
1409         delete recv_running["winbindd_getgroups_recv"]
1410         recv_runtime = recv_end - recv_start
1412         req = @entry($req)
1414         send_begin = start_time["winbindd_getgroups_send", req]
1415         delete start_time["winbindd_getgroups_send", req]
1416         svctime = recv_end - send_begin
1418         idle = idle_time["winbindd_getgroups_send", req]
1419         delete idle_time["winbindd_getgroups_send", req]
1420         runtime = (idle - send_begin) + recv_runtime
1422         async_svctime["winbindd_getgroups_send"] <<< svctime
1423         async_runtime["winbindd_getgroups_send"] <<< runtime
1427 # winbind async function winbindd_show_sequence
1430 probe process("winbindd").function("winbindd_show_sequence_send") {
1431         send_running["winbindd_show_sequence_send"] = gettimeofday_us()
1434 probe process("winbindd").function("winbindd_show_sequence_send").return {
1435         if (!(["winbindd_show_sequence_send"] in send_running))
1436                 next
1438         end = gettimeofday_us()
1439         start = send_running["winbindd_show_sequence_send"]
1440         delete send_running["winbindd_show_sequence_send"]
1442         start_time["winbindd_show_sequence_send", $return] = start
1443         idle_time["winbindd_show_sequence_send", $return] = end
1446 probe process("winbindd").function("winbindd_show_sequence_recv") {
1447         if (!(["winbindd_show_sequence_send", $req] in start_time))
1448                 next
1450         recv_running["winbindd_show_sequence_recv"] = gettimeofday_us()
1453 probe process("winbindd").function("winbindd_show_sequence_recv").return {
1454         if (!(["winbindd_show_sequence_recv"] in recv_running))
1455                 next
1457         recv_end = gettimeofday_us()
1458         recv_start = recv_running["winbindd_show_sequence_recv"]
1459         delete recv_running["winbindd_show_sequence_recv"]
1460         recv_runtime = recv_end - recv_start
1462         req = @entry($req)
1464         send_begin = start_time["winbindd_show_sequence_send", req]
1465         delete start_time["winbindd_show_sequence_send", req]
1466         svctime = recv_end - send_begin
1468         idle = idle_time["winbindd_show_sequence_send", req]
1469         delete idle_time["winbindd_show_sequence_send", req]
1470         runtime = (idle - send_begin) + recv_runtime
1472         async_svctime["winbindd_show_sequence_send"] <<< svctime
1473         async_runtime["winbindd_show_sequence_send"] <<< runtime
1477 # winbind async function winbindd_getgrgid
1480 probe process("winbindd").function("winbindd_getgrgid_send") {
1481         send_running["winbindd_getgrgid_send"] = gettimeofday_us()
1484 probe process("winbindd").function("winbindd_getgrgid_send").return {
1485         if (!(["winbindd_getgrgid_send"] in send_running))
1486                 next
1488         end = gettimeofday_us()
1489         start = send_running["winbindd_getgrgid_send"]
1490         delete send_running["winbindd_getgrgid_send"]
1492         start_time["winbindd_getgrgid_send", $return] = start
1493         idle_time["winbindd_getgrgid_send", $return] = end
1496 probe process("winbindd").function("winbindd_getgrgid_recv") {
1497         if (!(["winbindd_getgrgid_send", $req] in start_time))
1498                 next
1500         recv_running["winbindd_getgrgid_recv"] = gettimeofday_us()
1503 probe process("winbindd").function("winbindd_getgrgid_recv").return {
1504         if (!(["winbindd_getgrgid_recv"] in recv_running))
1505                 next
1507         recv_end = gettimeofday_us()
1508         recv_start = recv_running["winbindd_getgrgid_recv"]
1509         delete recv_running["winbindd_getgrgid_recv"]
1510         recv_runtime = recv_end - recv_start
1512         req = @entry($req)
1514         send_begin = start_time["winbindd_getgrgid_send", req]
1515         delete start_time["winbindd_getgrgid_send", req]
1516         svctime = recv_end - send_begin
1518         idle = idle_time["winbindd_getgrgid_send", req]
1519         delete idle_time["winbindd_getgrgid_send", req]
1520         runtime = (idle - send_begin) + recv_runtime
1522         async_svctime["winbindd_getgrgid_send"] <<< svctime
1523         async_runtime["winbindd_getgrgid_send"] <<< runtime
1527 # winbind async function winbindd_getgrnam
1530 probe process("winbindd").function("winbindd_getgrnam_send") {
1531         send_running["winbindd_getgrnam_send"] = gettimeofday_us()
1534 probe process("winbindd").function("winbindd_getgrnam_send").return {
1535         if (!(["winbindd_getgrnam_send"] in send_running))
1536                 next
1538         end = gettimeofday_us()
1539         start = send_running["winbindd_getgrnam_send"]
1540         delete send_running["winbindd_getgrnam_send"]
1542         start_time["winbindd_getgrnam_send", $return] = start
1543         idle_time["winbindd_getgrnam_send", $return] = end
1546 probe process("winbindd").function("winbindd_getgrnam_recv") {
1547         if (!(["winbindd_getgrnam_send", $req] in start_time))
1548                 next
1550         recv_running["winbindd_getgrnam_recv"] = gettimeofday_us()
1553 probe process("winbindd").function("winbindd_getgrnam_recv").return {
1554         if (!(["winbindd_getgrnam_recv"] in recv_running))
1555                 next
1557         recv_end = gettimeofday_us()
1558         recv_start = recv_running["winbindd_getgrnam_recv"]
1559         delete recv_running["winbindd_getgrnam_recv"]
1560         recv_runtime = recv_end - recv_start
1562         req = @entry($req)
1564         send_begin = start_time["winbindd_getgrnam_send", req]
1565         delete start_time["winbindd_getgrnam_send", req]
1566         svctime = recv_end - send_begin
1568         idle = idle_time["winbindd_getgrnam_send", req]
1569         delete idle_time["winbindd_getgrnam_send", req]
1570         runtime = (idle - send_begin) + recv_runtime
1572         async_svctime["winbindd_getgrnam_send"] <<< svctime
1573         async_runtime["winbindd_getgrnam_send"] <<< runtime
1577 # winbind async function winbindd_getusersids
1580 probe process("winbindd").function("winbindd_getusersids_send") {
1581         send_running["winbindd_getusersids_send"] = gettimeofday_us()
1584 probe process("winbindd").function("winbindd_getusersids_send").return {
1585         if (!(["winbindd_getusersids_send"] in send_running))
1586                 next
1588         end = gettimeofday_us()
1589         start = send_running["winbindd_getusersids_send"]
1590         delete send_running["winbindd_getusersids_send"]
1592         start_time["winbindd_getusersids_send", $return] = start
1593         idle_time["winbindd_getusersids_send", $return] = end
1596 probe process("winbindd").function("winbindd_getusersids_recv") {
1597         if (!(["winbindd_getusersids_send", $req] in start_time))
1598                 next
1600         recv_running["winbindd_getusersids_recv"] = gettimeofday_us()
1603 probe process("winbindd").function("winbindd_getusersids_recv").return {
1604         if (!(["winbindd_getusersids_recv"] in recv_running))
1605                 next
1607         recv_end = gettimeofday_us()
1608         recv_start = recv_running["winbindd_getusersids_recv"]
1609         delete recv_running["winbindd_getusersids_recv"]
1610         recv_runtime = recv_end - recv_start
1612         req = @entry($req)
1614         send_begin = start_time["winbindd_getusersids_send", req]
1615         delete start_time["winbindd_getusersids_send", req]
1616         svctime = recv_end - send_begin
1618         idle = idle_time["winbindd_getusersids_send", req]
1619         delete idle_time["winbindd_getusersids_send", req]
1620         runtime = (idle - send_begin) + recv_runtime
1622         async_svctime["winbindd_getusersids_send"] <<< svctime
1623         async_runtime["winbindd_getusersids_send"] <<< runtime
1627 # winbind async function winbindd_lookuprids
1630 probe process("winbindd").function("winbindd_lookuprids_send") {
1631         send_running["winbindd_lookuprids_send"] = gettimeofday_us()
1634 probe process("winbindd").function("winbindd_lookuprids_send").return {
1635         if (!(["winbindd_lookuprids_send"] in send_running))
1636                 next
1638         end = gettimeofday_us()
1639         start = send_running["winbindd_lookuprids_send"]
1640         delete send_running["winbindd_lookuprids_send"]
1642         start_time["winbindd_lookuprids_send", $return] = start
1643         idle_time["winbindd_lookuprids_send", $return] = end
1646 probe process("winbindd").function("winbindd_lookuprids_recv") {
1647         if (!(["winbindd_lookuprids_send", $req] in start_time))
1648                 next
1650         recv_running["winbindd_lookuprids_recv"] = gettimeofday_us()
1653 probe process("winbindd").function("winbindd_lookuprids_recv").return {
1654         if (!(["winbindd_lookuprids_recv"] in recv_running))
1655                 next
1657         recv_end = gettimeofday_us()
1658         recv_start = recv_running["winbindd_lookuprids_recv"]
1659         delete recv_running["winbindd_lookuprids_recv"]
1660         recv_runtime = recv_end - recv_start
1662         req = @entry($req)
1664         send_begin = start_time["winbindd_lookuprids_send", req]
1665         delete start_time["winbindd_lookuprids_send", req]
1666         svctime = recv_end - send_begin
1668         idle = idle_time["winbindd_lookuprids_send", req]
1669         delete idle_time["winbindd_lookuprids_send", req]
1670         runtime = (idle - send_begin) + recv_runtime
1672         async_svctime["winbindd_lookuprids_send"] <<< svctime
1673         async_runtime["winbindd_lookuprids_send"] <<< runtime
1677 # winbind async function winbindd_setpwent
1680 probe process("winbindd").function("winbindd_setpwent_send") {
1681         send_running["winbindd_setpwent_send"] = gettimeofday_us()
1684 probe process("winbindd").function("winbindd_setpwent_send").return {
1685         if (!(["winbindd_setpwent_send"] in send_running))
1686                 next
1688         end = gettimeofday_us()
1689         start = send_running["winbindd_setpwent_send"]
1690         delete send_running["winbindd_setpwent_send"]
1692         start_time["winbindd_setpwent_send", $return] = start
1693         idle_time["winbindd_setpwent_send", $return] = end
1696 probe process("winbindd").function("winbindd_setpwent_recv") {
1697         if (!(["winbindd_setpwent_send", $req] in start_time))
1698                 next
1700         recv_running["winbindd_setpwent_recv"] = gettimeofday_us()
1703 probe process("winbindd").function("winbindd_setpwent_recv").return {
1704         if (!(["winbindd_setpwent_recv"] in recv_running))
1705                 next
1707         recv_end = gettimeofday_us()
1708         recv_start = recv_running["winbindd_setpwent_recv"]
1709         delete recv_running["winbindd_setpwent_recv"]
1710         recv_runtime = recv_end - recv_start
1712         req = @entry($req)
1714         send_begin = start_time["winbindd_setpwent_send", req]
1715         delete start_time["winbindd_setpwent_send", req]
1716         svctime = recv_end - send_begin
1718         idle = idle_time["winbindd_setpwent_send", req]
1719         delete idle_time["winbindd_setpwent_send", req]
1720         runtime = (idle - send_begin) + recv_runtime
1722         async_svctime["winbindd_setpwent_send"] <<< svctime
1723         async_runtime["winbindd_setpwent_send"] <<< runtime
1727 # winbind async function winbindd_getpwent
1730 probe process("winbindd").function("winbindd_getpwent_send") {
1731         send_running["winbindd_getpwent_send"] = gettimeofday_us()
1734 probe process("winbindd").function("winbindd_getpwent_send").return {
1735         if (!(["winbindd_getpwent_send"] in send_running))
1736                 next
1738         end = gettimeofday_us()
1739         start = send_running["winbindd_getpwent_send"]
1740         delete send_running["winbindd_getpwent_send"]
1742         start_time["winbindd_getpwent_send", $return] = start
1743         idle_time["winbindd_getpwent_send", $return] = end
1746 probe process("winbindd").function("winbindd_getpwent_recv") {
1747         if (!(["winbindd_getpwent_send", $req] in start_time))
1748                 next
1750         recv_running["winbindd_getpwent_recv"] = gettimeofday_us()
1753 probe process("winbindd").function("winbindd_getpwent_recv").return {
1754         if (!(["winbindd_getpwent_recv"] in recv_running))
1755                 next
1757         recv_end = gettimeofday_us()
1758         recv_start = recv_running["winbindd_getpwent_recv"]
1759         delete recv_running["winbindd_getpwent_recv"]
1760         recv_runtime = recv_end - recv_start
1762         req = @entry($req)
1764         send_begin = start_time["winbindd_getpwent_send", req]
1765         delete start_time["winbindd_getpwent_send", req]
1766         svctime = recv_end - send_begin
1768         idle = idle_time["winbindd_getpwent_send", req]
1769         delete idle_time["winbindd_getpwent_send", req]
1770         runtime = (idle - send_begin) + recv_runtime
1772         async_svctime["winbindd_getpwent_send"] <<< svctime
1773         async_runtime["winbindd_getpwent_send"] <<< runtime
1777 # winbind async function winbindd_endpwent
1780 probe process("winbindd").function("winbindd_endpwent_send") {
1781         send_running["winbindd_endpwent_send"] = gettimeofday_us()
1784 probe process("winbindd").function("winbindd_endpwent_send").return {
1785         if (!(["winbindd_endpwent_send"] in send_running))
1786                 next
1788         end = gettimeofday_us()
1789         start = send_running["winbindd_endpwent_send"]
1790         delete send_running["winbindd_endpwent_send"]
1792         start_time["winbindd_endpwent_send", $return] = start
1793         idle_time["winbindd_endpwent_send", $return] = end
1796 probe process("winbindd").function("winbindd_endpwent_recv") {
1797         if (!(["winbindd_endpwent_send", $req] in start_time))
1798                 next
1800         recv_running["winbindd_endpwent_recv"] = gettimeofday_us()
1803 probe process("winbindd").function("winbindd_endpwent_recv").return {
1804         if (!(["winbindd_endpwent_recv"] in recv_running))
1805                 next
1807         recv_end = gettimeofday_us()
1808         recv_start = recv_running["winbindd_endpwent_recv"]
1809         delete recv_running["winbindd_endpwent_recv"]
1810         recv_runtime = recv_end - recv_start
1812         req = @entry($req)
1814         send_begin = start_time["winbindd_endpwent_send", req]
1815         delete start_time["winbindd_endpwent_send", req]
1816         svctime = recv_end - send_begin
1818         idle = idle_time["winbindd_endpwent_send", req]
1819         delete idle_time["winbindd_endpwent_send", req]
1820         runtime = (idle - send_begin) + recv_runtime
1822         async_svctime["winbindd_endpwent_send"] <<< svctime
1823         async_runtime["winbindd_endpwent_send"] <<< runtime
1827 # winbind async function winbindd_dsgetdcname
1830 probe process("winbindd").function("winbindd_dsgetdcname_send") {
1831         send_running["winbindd_dsgetdcname_send"] = gettimeofday_us()
1834 probe process("winbindd").function("winbindd_dsgetdcname_send").return {
1835         if (!(["winbindd_dsgetdcname_send"] in send_running))
1836                 next
1838         end = gettimeofday_us()
1839         start = send_running["winbindd_dsgetdcname_send"]
1840         delete send_running["winbindd_dsgetdcname_send"]
1842         start_time["winbindd_dsgetdcname_send", $return] = start
1843         idle_time["winbindd_dsgetdcname_send", $return] = end
1846 probe process("winbindd").function("winbindd_dsgetdcname_recv") {
1847         if (!(["winbindd_dsgetdcname_send", $req] in start_time))
1848                 next
1850         recv_running["winbindd_dsgetdcname_recv"] = gettimeofday_us()
1853 probe process("winbindd").function("winbindd_dsgetdcname_recv").return {
1854         if (!(["winbindd_dsgetdcname_recv"] in recv_running))
1855                 next
1857         recv_end = gettimeofday_us()
1858         recv_start = recv_running["winbindd_dsgetdcname_recv"]
1859         delete recv_running["winbindd_dsgetdcname_recv"]
1860         recv_runtime = recv_end - recv_start
1862         req = @entry($req)
1864         send_begin = start_time["winbindd_dsgetdcname_send", req]
1865         delete start_time["winbindd_dsgetdcname_send", req]
1866         svctime = recv_end - send_begin
1868         idle = idle_time["winbindd_dsgetdcname_send", req]
1869         delete idle_time["winbindd_dsgetdcname_send", req]
1870         runtime = (idle - send_begin) + recv_runtime
1872         async_svctime["winbindd_dsgetdcname_send"] <<< svctime
1873         async_runtime["winbindd_dsgetdcname_send"] <<< runtime
1877 # winbind async function winbindd_getdcname
1880 probe process("winbindd").function("winbindd_getdcname_send") {
1881         send_running["winbindd_getdcname_send"] = gettimeofday_us()
1884 probe process("winbindd").function("winbindd_getdcname_send").return {
1885         if (!(["winbindd_getdcname_send"] in send_running))
1886                 next
1888         end = gettimeofday_us()
1889         start = send_running["winbindd_getdcname_send"]
1890         delete send_running["winbindd_getdcname_send"]
1892         start_time["winbindd_getdcname_send", $return] = start
1893         idle_time["winbindd_getdcname_send", $return] = end
1896 probe process("winbindd").function("winbindd_getdcname_recv") {
1897         if (!(["winbindd_getdcname_send", $req] in start_time))
1898                 next
1900         recv_running["winbindd_getdcname_recv"] = gettimeofday_us()
1903 probe process("winbindd").function("winbindd_getdcname_recv").return {
1904         if (!(["winbindd_getdcname_recv"] in recv_running))
1905                 next
1907         recv_end = gettimeofday_us()
1908         recv_start = recv_running["winbindd_getdcname_recv"]
1909         delete recv_running["winbindd_getdcname_recv"]
1910         recv_runtime = recv_end - recv_start
1912         req = @entry($req)
1914         send_begin = start_time["winbindd_getdcname_send", req]
1915         delete start_time["winbindd_getdcname_send", req]
1916         svctime = recv_end - send_begin
1918         idle = idle_time["winbindd_getdcname_send", req]
1919         delete idle_time["winbindd_getdcname_send", req]
1920         runtime = (idle - send_begin) + recv_runtime
1922         async_svctime["winbindd_getdcname_send"] <<< svctime
1923         async_runtime["winbindd_getdcname_send"] <<< runtime
1927 # winbind async function winbindd_setgrent
1930 probe process("winbindd").function("winbindd_setgrent_send") {
1931         send_running["winbindd_setgrent_send"] = gettimeofday_us()
1934 probe process("winbindd").function("winbindd_setgrent_send").return {
1935         if (!(["winbindd_setgrent_send"] in send_running))
1936                 next
1938         end = gettimeofday_us()
1939         start = send_running["winbindd_setgrent_send"]
1940         delete send_running["winbindd_setgrent_send"]
1942         start_time["winbindd_setgrent_send", $return] = start
1943         idle_time["winbindd_setgrent_send", $return] = end
1946 probe process("winbindd").function("winbindd_setgrent_recv") {
1947         if (!(["winbindd_setgrent_send", $req] in start_time))
1948                 next
1950         recv_running["winbindd_setgrent_recv"] = gettimeofday_us()
1953 probe process("winbindd").function("winbindd_setgrent_recv").return {
1954         if (!(["winbindd_setgrent_recv"] in recv_running))
1955                 next
1957         recv_end = gettimeofday_us()
1958         recv_start = recv_running["winbindd_setgrent_recv"]
1959         delete recv_running["winbindd_setgrent_recv"]
1960         recv_runtime = recv_end - recv_start
1962         req = @entry($req)
1964         send_begin = start_time["winbindd_setgrent_send", req]
1965         delete start_time["winbindd_setgrent_send", req]
1966         svctime = recv_end - send_begin
1968         idle = idle_time["winbindd_setgrent_send", req]
1969         delete idle_time["winbindd_setgrent_send", req]
1970         runtime = (idle - send_begin) + recv_runtime
1972         async_svctime["winbindd_setgrent_send"] <<< svctime
1973         async_runtime["winbindd_setgrent_send"] <<< runtime
1977 # winbind async function winbindd_getgrent
1980 probe process("winbindd").function("winbindd_getgrent_send") {
1981         send_running["winbindd_getgrent_send"] = gettimeofday_us()
1984 probe process("winbindd").function("winbindd_getgrent_send").return {
1985         if (!(["winbindd_getgrent_send"] in send_running))
1986                 next
1988         end = gettimeofday_us()
1989         start = send_running["winbindd_getgrent_send"]
1990         delete send_running["winbindd_getgrent_send"]
1992         start_time["winbindd_getgrent_send", $return] = start
1993         idle_time["winbindd_getgrent_send", $return] = end
1996 probe process("winbindd").function("winbindd_getgrent_recv") {
1997         if (!(["winbindd_getgrent_send", $req] in start_time))
1998                 next
2000         recv_running["winbindd_getgrent_recv"] = gettimeofday_us()
2003 probe process("winbindd").function("winbindd_getgrent_recv").return {
2004         if (!(["winbindd_getgrent_recv"] in recv_running))
2005                 next
2007         recv_end = gettimeofday_us()
2008         recv_start = recv_running["winbindd_getgrent_recv"]
2009         delete recv_running["winbindd_getgrent_recv"]
2010         recv_runtime = recv_end - recv_start
2012         req = @entry($req)
2014         send_begin = start_time["winbindd_getgrent_send", req]
2015         delete start_time["winbindd_getgrent_send", req]
2016         svctime = recv_end - send_begin
2018         idle = idle_time["winbindd_getgrent_send", req]
2019         delete idle_time["winbindd_getgrent_send", req]
2020         runtime = (idle - send_begin) + recv_runtime
2022         async_svctime["winbindd_getgrent_send"] <<< svctime
2023         async_runtime["winbindd_getgrent_send"] <<< runtime
2027 # winbind async function winbindd_endgrent
2030 probe process("winbindd").function("winbindd_endgrent_send") {
2031         send_running["winbindd_endgrent_send"] = gettimeofday_us()
2034 probe process("winbindd").function("winbindd_endgrent_send").return {
2035         if (!(["winbindd_endgrent_send"] in send_running))
2036                 next
2038         end = gettimeofday_us()
2039         start = send_running["winbindd_endgrent_send"]
2040         delete send_running["winbindd_endgrent_send"]
2042         start_time["winbindd_endgrent_send", $return] = start
2043         idle_time["winbindd_endgrent_send", $return] = end
2046 probe process("winbindd").function("winbindd_endgrent_recv") {
2047         if (!(["winbindd_endgrent_send", $req] in start_time))
2048                 next
2050         recv_running["winbindd_endgrent_recv"] = gettimeofday_us()
2053 probe process("winbindd").function("winbindd_endgrent_recv").return {
2054         if (!(["winbindd_endgrent_recv"] in recv_running))
2055                 next
2057         recv_end = gettimeofday_us()
2058         recv_start = recv_running["winbindd_endgrent_recv"]
2059         delete recv_running["winbindd_endgrent_recv"]
2060         recv_runtime = recv_end - recv_start
2062         req = @entry($req)
2064         send_begin = start_time["winbindd_endgrent_send", req]
2065         delete start_time["winbindd_endgrent_send", req]
2066         svctime = recv_end - send_begin
2068         idle = idle_time["winbindd_endgrent_send", req]
2069         delete idle_time["winbindd_endgrent_send", req]
2070         runtime = (idle - send_begin) + recv_runtime
2072         async_svctime["winbindd_endgrent_send"] <<< svctime
2073         async_runtime["winbindd_endgrent_send"] <<< runtime
2077 # winbind async function winbindd_list_users
2080 probe process("winbindd").function("winbindd_list_users_send") {
2081         send_running["winbindd_list_users_send"] = gettimeofday_us()
2084 probe process("winbindd").function("winbindd_list_users_send").return {
2085         if (!(["winbindd_list_users_send"] in send_running))
2086                 next
2088         end = gettimeofday_us()
2089         start = send_running["winbindd_list_users_send"]
2090         delete send_running["winbindd_list_users_send"]
2092         start_time["winbindd_list_users_send", $return] = start
2093         idle_time["winbindd_list_users_send", $return] = end
2096 probe process("winbindd").function("winbindd_list_users_recv") {
2097         if (!(["winbindd_list_users_send", $req] in start_time))
2098                 next
2100         recv_running["winbindd_list_users_recv"] = gettimeofday_us()
2103 probe process("winbindd").function("winbindd_list_users_recv").return {
2104         if (!(["winbindd_list_users_recv"] in recv_running))
2105                 next
2107         recv_end = gettimeofday_us()
2108         recv_start = recv_running["winbindd_list_users_recv"]
2109         delete recv_running["winbindd_list_users_recv"]
2110         recv_runtime = recv_end - recv_start
2112         req = @entry($req)
2114         send_begin = start_time["winbindd_list_users_send", req]
2115         delete start_time["winbindd_list_users_send", req]
2116         svctime = recv_end - send_begin
2118         idle = idle_time["winbindd_list_users_send", req]
2119         delete idle_time["winbindd_list_users_send", req]
2120         runtime = (idle - send_begin) + recv_runtime
2122         async_svctime["winbindd_list_users_send"] <<< svctime
2123         async_runtime["winbindd_list_users_send"] <<< runtime
2127 # winbind async function winbindd_list_groups
2130 probe process("winbindd").function("winbindd_list_groups_send") {
2131         send_running["winbindd_list_groups_send"] = gettimeofday_us()
2134 probe process("winbindd").function("winbindd_list_groups_send").return {
2135         if (!(["winbindd_list_groups_send"] in send_running))
2136                 next
2138         end = gettimeofday_us()
2139         start = send_running["winbindd_list_groups_send"]
2140         delete send_running["winbindd_list_groups_send"]
2142         start_time["winbindd_list_groups_send", $return] = start
2143         idle_time["winbindd_list_groups_send", $return] = end
2146 probe process("winbindd").function("winbindd_list_groups_recv") {
2147         if (!(["winbindd_list_groups_send", $req] in start_time))
2148                 next
2150         recv_running["winbindd_list_groups_recv"] = gettimeofday_us()
2153 probe process("winbindd").function("winbindd_list_groups_recv").return {
2154         if (!(["winbindd_list_groups_recv"] in recv_running))
2155                 next
2157         recv_end = gettimeofday_us()
2158         recv_start = recv_running["winbindd_list_groups_recv"]
2159         delete recv_running["winbindd_list_groups_recv"]
2160         recv_runtime = recv_end - recv_start
2162         req = @entry($req)
2164         send_begin = start_time["winbindd_list_groups_send", req]
2165         delete start_time["winbindd_list_groups_send", req]
2166         svctime = recv_end - send_begin
2168         idle = idle_time["winbindd_list_groups_send", req]
2169         delete idle_time["winbindd_list_groups_send", req]
2170         runtime = (idle - send_begin) + recv_runtime
2172         async_svctime["winbindd_list_groups_send"] <<< svctime
2173         async_runtime["winbindd_list_groups_send"] <<< runtime
2177 # winbind async function winbindd_check_machine_acct
2180 probe process("winbindd").function("winbindd_check_machine_acct_send") {
2181         send_running["winbindd_check_machine_acct_send"] = gettimeofday_us()
2184 probe process("winbindd").function("winbindd_check_machine_acct_send").return {
2185         if (!(["winbindd_check_machine_acct_send"] in send_running))
2186                 next
2188         end = gettimeofday_us()
2189         start = send_running["winbindd_check_machine_acct_send"]
2190         delete send_running["winbindd_check_machine_acct_send"]
2192         start_time["winbindd_check_machine_acct_send", $return] = start
2193         idle_time["winbindd_check_machine_acct_send", $return] = end
2196 probe process("winbindd").function("winbindd_check_machine_acct_recv") {
2197         if (!(["winbindd_check_machine_acct_send", $req] in start_time))
2198                 next
2200         recv_running["winbindd_check_machine_acct_recv"] = gettimeofday_us()
2203 probe process("winbindd").function("winbindd_check_machine_acct_recv").return {
2204         if (!(["winbindd_check_machine_acct_recv"] in recv_running))
2205                 next
2207         recv_end = gettimeofday_us()
2208         recv_start = recv_running["winbindd_check_machine_acct_recv"]
2209         delete recv_running["winbindd_check_machine_acct_recv"]
2210         recv_runtime = recv_end - recv_start
2212         req = @entry($req)
2214         send_begin = start_time["winbindd_check_machine_acct_send", req]
2215         delete start_time["winbindd_check_machine_acct_send", req]
2216         svctime = recv_end - send_begin
2218         idle = idle_time["winbindd_check_machine_acct_send", req]
2219         delete idle_time["winbindd_check_machine_acct_send", req]
2220         runtime = (idle - send_begin) + recv_runtime
2222         async_svctime["winbindd_check_machine_acct_send"] <<< svctime
2223         async_runtime["winbindd_check_machine_acct_send"] <<< runtime
2227 # winbind async function winbindd_ping_dc
2230 probe process("winbindd").function("winbindd_ping_dc_send") {
2231         send_running["winbindd_ping_dc_send"] = gettimeofday_us()
2234 probe process("winbindd").function("winbindd_ping_dc_send").return {
2235         if (!(["winbindd_ping_dc_send"] in send_running))
2236                 next
2238         end = gettimeofday_us()
2239         start = send_running["winbindd_ping_dc_send"]
2240         delete send_running["winbindd_ping_dc_send"]
2242         start_time["winbindd_ping_dc_send", $return] = start
2243         idle_time["winbindd_ping_dc_send", $return] = end
2246 probe process("winbindd").function("winbindd_ping_dc_recv") {
2247         if (!(["winbindd_ping_dc_send", $req] in start_time))
2248                 next
2250         recv_running["winbindd_ping_dc_recv"] = gettimeofday_us()
2253 probe process("winbindd").function("winbindd_ping_dc_recv").return {
2254         if (!(["winbindd_ping_dc_recv"] in recv_running))
2255                 next
2257         recv_end = gettimeofday_us()
2258         recv_start = recv_running["winbindd_ping_dc_recv"]
2259         delete recv_running["winbindd_ping_dc_recv"]
2260         recv_runtime = recv_end - recv_start
2262         req = @entry($req)
2264         send_begin = start_time["winbindd_ping_dc_send", req]
2265         delete start_time["winbindd_ping_dc_send", req]
2266         svctime = recv_end - send_begin
2268         idle = idle_time["winbindd_ping_dc_send", req]
2269         delete idle_time["winbindd_ping_dc_send", req]
2270         runtime = (idle - send_begin) + recv_runtime
2272         async_svctime["winbindd_ping_dc_send"] <<< svctime
2273         async_runtime["winbindd_ping_dc_send"] <<< runtime
2277 # winbind async function winbindd_pam_auth
2280 probe process("winbindd").function("winbindd_pam_auth_send") {
2281         send_running["winbindd_pam_auth_send"] = gettimeofday_us()
2284 probe process("winbindd").function("winbindd_pam_auth_send").return {
2285         if (!(["winbindd_pam_auth_send"] in send_running))
2286                 next
2288         end = gettimeofday_us()
2289         start = send_running["winbindd_pam_auth_send"]
2290         delete send_running["winbindd_pam_auth_send"]
2292         start_time["winbindd_pam_auth_send", $return] = start
2293         idle_time["winbindd_pam_auth_send", $return] = end
2296 probe process("winbindd").function("winbindd_pam_auth_recv") {
2297         if (!(["winbindd_pam_auth_send", $req] in start_time))
2298                 next
2300         recv_running["winbindd_pam_auth_recv"] = gettimeofday_us()
2303 probe process("winbindd").function("winbindd_pam_auth_recv").return {
2304         if (!(["winbindd_pam_auth_recv"] in recv_running))
2305                 next
2307         recv_end = gettimeofday_us()
2308         recv_start = recv_running["winbindd_pam_auth_recv"]
2309         delete recv_running["winbindd_pam_auth_recv"]
2310         recv_runtime = recv_end - recv_start
2312         req = @entry($req)
2314         send_begin = start_time["winbindd_pam_auth_send", req]
2315         delete start_time["winbindd_pam_auth_send", req]
2316         svctime = recv_end - send_begin
2318         idle = idle_time["winbindd_pam_auth_send", req]
2319         delete idle_time["winbindd_pam_auth_send", req]
2320         runtime = (idle - send_begin) + recv_runtime
2322         async_svctime["winbindd_pam_auth_send"] <<< svctime
2323         async_runtime["winbindd_pam_auth_send"] <<< runtime
2327 # winbind async function winbindd_pam_logoff
2330 probe process("winbindd").function("winbindd_pam_logoff_send") {
2331         send_running["winbindd_pam_logoff_send"] = gettimeofday_us()
2334 probe process("winbindd").function("winbindd_pam_logoff_send").return {
2335         if (!(["winbindd_pam_logoff_send"] in send_running))
2336                 next
2338         end = gettimeofday_us()
2339         start = send_running["winbindd_pam_logoff_send"]
2340         delete send_running["winbindd_pam_logoff_send"]
2342         start_time["winbindd_pam_logoff_send", $return] = start
2343         idle_time["winbindd_pam_logoff_send", $return] = end
2346 probe process("winbindd").function("winbindd_pam_logoff_recv") {
2347         if (!(["winbindd_pam_logoff_send", $req] in start_time))
2348                 next
2350         recv_running["winbindd_pam_logoff_recv"] = gettimeofday_us()
2353 probe process("winbindd").function("winbindd_pam_logoff_recv").return {
2354         if (!(["winbindd_pam_logoff_recv"] in recv_running))
2355                 next
2357         recv_end = gettimeofday_us()
2358         recv_start = recv_running["winbindd_pam_logoff_recv"]
2359         delete recv_running["winbindd_pam_logoff_recv"]
2360         recv_runtime = recv_end - recv_start
2362         req = @entry($req)
2364         send_begin = start_time["winbindd_pam_logoff_send", req]
2365         delete start_time["winbindd_pam_logoff_send", req]
2366         svctime = recv_end - send_begin
2368         idle = idle_time["winbindd_pam_logoff_send", req]
2369         delete idle_time["winbindd_pam_logoff_send", req]
2370         runtime = (idle - send_begin) + recv_runtime
2372         async_svctime["winbindd_pam_logoff_send"] <<< svctime
2373         async_runtime["winbindd_pam_logoff_send"] <<< runtime
2377 # winbind async function winbindd_pam_chauthtok
2380 probe process("winbindd").function("winbindd_pam_chauthtok_send") {
2381         send_running["winbindd_pam_chauthtok_send"] = gettimeofday_us()
2384 probe process("winbindd").function("winbindd_pam_chauthtok_send").return {
2385         if (!(["winbindd_pam_chauthtok_send"] in send_running))
2386                 next
2388         end = gettimeofday_us()
2389         start = send_running["winbindd_pam_chauthtok_send"]
2390         delete send_running["winbindd_pam_chauthtok_send"]
2392         start_time["winbindd_pam_chauthtok_send", $return] = start
2393         idle_time["winbindd_pam_chauthtok_send", $return] = end
2396 probe process("winbindd").function("winbindd_pam_chauthtok_recv") {
2397         if (!(["winbindd_pam_chauthtok_send", $req] in start_time))
2398                 next
2400         recv_running["winbindd_pam_chauthtok_recv"] = gettimeofday_us()
2403 probe process("winbindd").function("winbindd_pam_chauthtok_recv").return {
2404         if (!(["winbindd_pam_chauthtok_recv"] in recv_running))
2405                 next
2407         recv_end = gettimeofday_us()
2408         recv_start = recv_running["winbindd_pam_chauthtok_recv"]
2409         delete recv_running["winbindd_pam_chauthtok_recv"]
2410         recv_runtime = recv_end - recv_start
2412         req = @entry($req)
2414         send_begin = start_time["winbindd_pam_chauthtok_send", req]
2415         delete start_time["winbindd_pam_chauthtok_send", req]
2416         svctime = recv_end - send_begin
2418         idle = idle_time["winbindd_pam_chauthtok_send", req]
2419         delete idle_time["winbindd_pam_chauthtok_send", req]
2420         runtime = (idle - send_begin) + recv_runtime
2422         async_svctime["winbindd_pam_chauthtok_send"] <<< svctime
2423         async_runtime["winbindd_pam_chauthtok_send"] <<< runtime
2427 # winbind async function winbindd_pam_chng_pswd_auth_crap
2430 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_send") {
2431         send_running["winbindd_pam_chng_pswd_auth_crap_send"] = gettimeofday_us()
2434 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_send").return {
2435         if (!(["winbindd_pam_chng_pswd_auth_crap_send"] in send_running))
2436                 next
2438         end = gettimeofday_us()
2439         start = send_running["winbindd_pam_chng_pswd_auth_crap_send"]
2440         delete send_running["winbindd_pam_chng_pswd_auth_crap_send"]
2442         start_time["winbindd_pam_chng_pswd_auth_crap_send", $return] = start
2443         idle_time["winbindd_pam_chng_pswd_auth_crap_send", $return] = end
2446 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_recv") {
2447         if (!(["winbindd_pam_chng_pswd_auth_crap_send", $req] in start_time))
2448                 next
2450         recv_running["winbindd_pam_chng_pswd_auth_crap_recv"] = gettimeofday_us()
2453 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_recv").return {
2454         if (!(["winbindd_pam_chng_pswd_auth_crap_recv"] in recv_running))
2455                 next
2457         recv_end = gettimeofday_us()
2458         recv_start = recv_running["winbindd_pam_chng_pswd_auth_crap_recv"]
2459         delete recv_running["winbindd_pam_chng_pswd_auth_crap_recv"]
2460         recv_runtime = recv_end - recv_start
2462         req = @entry($req)
2464         send_begin = start_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2465         delete start_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2466         svctime = recv_end - send_begin
2468         idle = idle_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2469         delete idle_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2470         runtime = (idle - send_begin) + recv_runtime
2472         async_svctime["winbindd_pam_chng_pswd_auth_crap_send"] <<< svctime
2473         async_runtime["winbindd_pam_chng_pswd_auth_crap_send"] <<< runtime
2477 # winbind async function winbindd_wins_byip
2480 probe process("winbindd").function("winbindd_wins_byip_send") {
2481         send_running["winbindd_wins_byip_send"] = gettimeofday_us()
2484 probe process("winbindd").function("winbindd_wins_byip_send").return {
2485         if (!(["winbindd_wins_byip_send"] in send_running))
2486                 next
2488         end = gettimeofday_us()
2489         start = send_running["winbindd_wins_byip_send"]
2490         delete send_running["winbindd_wins_byip_send"]
2492         start_time["winbindd_wins_byip_send", $return] = start
2493         idle_time["winbindd_wins_byip_send", $return] = end
2496 probe process("winbindd").function("winbindd_wins_byip_recv") {
2497         if (!(["winbindd_wins_byip_send", $req] in start_time))
2498                 next
2500         recv_running["winbindd_wins_byip_recv"] = gettimeofday_us()
2503 probe process("winbindd").function("winbindd_wins_byip_recv").return {
2504         if (!(["winbindd_wins_byip_recv"] in recv_running))
2505                 next
2507         recv_end = gettimeofday_us()
2508         recv_start = recv_running["winbindd_wins_byip_recv"]
2509         delete recv_running["winbindd_wins_byip_recv"]
2510         recv_runtime = recv_end - recv_start
2512         req = @entry($req)
2514         send_begin = start_time["winbindd_wins_byip_send", req]
2515         delete start_time["winbindd_wins_byip_send", req]
2516         svctime = recv_end - send_begin
2518         idle = idle_time["winbindd_wins_byip_send", req]
2519         delete idle_time["winbindd_wins_byip_send", req]
2520         runtime = (idle - send_begin) + recv_runtime
2522         async_svctime["winbindd_wins_byip_send"] <<< svctime
2523         async_runtime["winbindd_wins_byip_send"] <<< runtime
2527 # winbind async function winbindd_wins_byname
2530 probe process("winbindd").function("winbindd_wins_byname_send") {
2531         send_running["winbindd_wins_byname_send"] = gettimeofday_us()
2534 probe process("winbindd").function("winbindd_wins_byname_send").return {
2535         if (!(["winbindd_wins_byname_send"] in send_running))
2536                 next
2538         end = gettimeofday_us()
2539         start = send_running["winbindd_wins_byname_send"]
2540         delete send_running["winbindd_wins_byname_send"]
2542         start_time["winbindd_wins_byname_send", $return] = start
2543         idle_time["winbindd_wins_byname_send", $return] = end
2546 probe process("winbindd").function("winbindd_wins_byname_recv") {
2547         if (!(["winbindd_wins_byname_send", $req] in start_time))
2548                 next
2550         recv_running["winbindd_wins_byname_recv"] = gettimeofday_us()
2553 probe process("winbindd").function("winbindd_wins_byname_recv").return {
2554         if (!(["winbindd_wins_byname_recv"] in recv_running))
2555                 next
2557         recv_end = gettimeofday_us()
2558         recv_start = recv_running["winbindd_wins_byname_recv"]
2559         delete recv_running["winbindd_wins_byname_recv"]
2560         recv_runtime = recv_end - recv_start
2562         req = @entry($req)
2564         send_begin = start_time["winbindd_wins_byname_send", req]
2565         delete start_time["winbindd_wins_byname_send", req]
2566         svctime = recv_end - send_begin
2568         idle = idle_time["winbindd_wins_byname_send", req]
2569         delete idle_time["winbindd_wins_byname_send", req]
2570         runtime = (idle - send_begin) + recv_runtime
2572         async_svctime["winbindd_wins_byname_send"] <<< svctime
2573         async_runtime["winbindd_wins_byname_send"] <<< runtime
2577 # winbind async function winbindd_allocate_uid
2580 probe process("winbindd").function("winbindd_allocate_uid_send") {
2581         send_running["winbindd_allocate_uid_send"] = gettimeofday_us()
2584 probe process("winbindd").function("winbindd_allocate_uid_send").return {
2585         if (!(["winbindd_allocate_uid_send"] in send_running))
2586                 next
2588         end = gettimeofday_us()
2589         start = send_running["winbindd_allocate_uid_send"]
2590         delete send_running["winbindd_allocate_uid_send"]
2592         start_time["winbindd_allocate_uid_send", $return] = start
2593         idle_time["winbindd_allocate_uid_send", $return] = end
2596 probe process("winbindd").function("winbindd_allocate_uid_recv") {
2597         if (!(["winbindd_allocate_uid_send", $req] in start_time))
2598                 next
2600         recv_running["winbindd_allocate_uid_recv"] = gettimeofday_us()
2603 probe process("winbindd").function("winbindd_allocate_uid_recv").return {
2604         if (!(["winbindd_allocate_uid_recv"] in recv_running))
2605                 next
2607         recv_end = gettimeofday_us()
2608         recv_start = recv_running["winbindd_allocate_uid_recv"]
2609         delete recv_running["winbindd_allocate_uid_recv"]
2610         recv_runtime = recv_end - recv_start
2612         req = @entry($req)
2614         send_begin = start_time["winbindd_allocate_uid_send", req]
2615         delete start_time["winbindd_allocate_uid_send", req]
2616         svctime = recv_end - send_begin
2618         idle = idle_time["winbindd_allocate_uid_send", req]
2619         delete idle_time["winbindd_allocate_uid_send", req]
2620         runtime = (idle - send_begin) + recv_runtime
2622         async_svctime["winbindd_allocate_uid_send"] <<< svctime
2623         async_runtime["winbindd_allocate_uid_send"] <<< runtime
2627 # winbind async function winbindd_allocate_gid
2630 probe process("winbindd").function("winbindd_allocate_gid_send") {
2631         send_running["winbindd_allocate_gid_send"] = gettimeofday_us()
2634 probe process("winbindd").function("winbindd_allocate_gid_send").return {
2635         if (!(["winbindd_allocate_gid_send"] in send_running))
2636                 next
2638         end = gettimeofday_us()
2639         start = send_running["winbindd_allocate_gid_send"]
2640         delete send_running["winbindd_allocate_gid_send"]
2642         start_time["winbindd_allocate_gid_send", $return] = start
2643         idle_time["winbindd_allocate_gid_send", $return] = end
2646 probe process("winbindd").function("winbindd_allocate_gid_recv") {
2647         if (!(["winbindd_allocate_gid_send", $req] in start_time))
2648                 next
2650         recv_running["winbindd_allocate_gid_recv"] = gettimeofday_us()
2653 probe process("winbindd").function("winbindd_allocate_gid_recv").return {
2654         if (!(["winbindd_allocate_gid_recv"] in recv_running))
2655                 next
2657         recv_end = gettimeofday_us()
2658         recv_start = recv_running["winbindd_allocate_gid_recv"]
2659         delete recv_running["winbindd_allocate_gid_recv"]
2660         recv_runtime = recv_end - recv_start
2662         req = @entry($req)
2664         send_begin = start_time["winbindd_allocate_gid_send", req]
2665         delete start_time["winbindd_allocate_gid_send", req]
2666         svctime = recv_end - send_begin
2668         idle = idle_time["winbindd_allocate_gid_send", req]
2669         delete idle_time["winbindd_allocate_gid_send", req]
2670         runtime = (idle - send_begin) + recv_runtime
2672         async_svctime["winbindd_allocate_gid_send"] <<< svctime
2673         async_runtime["winbindd_allocate_gid_send"] <<< runtime
2677 # winbind async function winbindd_change_machine_acct
2680 probe process("winbindd").function("winbindd_change_machine_acct_send") {
2681         send_running["winbindd_change_machine_acct_send"] = gettimeofday_us()
2684 probe process("winbindd").function("winbindd_change_machine_acct_send").return {
2685         if (!(["winbindd_change_machine_acct_send"] in send_running))
2686                 next
2688         end = gettimeofday_us()
2689         start = send_running["winbindd_change_machine_acct_send"]
2690         delete send_running["winbindd_change_machine_acct_send"]
2692         start_time["winbindd_change_machine_acct_send", $return] = start
2693         idle_time["winbindd_change_machine_acct_send", $return] = end
2696 probe process("winbindd").function("winbindd_change_machine_acct_recv") {
2697         if (!(["winbindd_change_machine_acct_send", $req] in start_time))
2698                 next
2700         recv_running["winbindd_change_machine_acct_recv"] = gettimeofday_us()
2703 probe process("winbindd").function("winbindd_change_machine_acct_recv").return {
2704         if (!(["winbindd_change_machine_acct_recv"] in recv_running))
2705                 next
2707         recv_end = gettimeofday_us()
2708         recv_start = recv_running["winbindd_change_machine_acct_recv"]
2709         delete recv_running["winbindd_change_machine_acct_recv"]
2710         recv_runtime = recv_end - recv_start
2712         req = @entry($req)
2714         send_begin = start_time["winbindd_change_machine_acct_send", req]
2715         delete start_time["winbindd_change_machine_acct_send", req]
2716         svctime = recv_end - send_begin
2718         idle = idle_time["winbindd_change_machine_acct_send", req]
2719         delete idle_time["winbindd_change_machine_acct_send", req]
2720         runtime = (idle - send_begin) + recv_runtime
2722         async_svctime["winbindd_change_machine_acct_send"] <<< svctime
2723         async_runtime["winbindd_change_machine_acct_send"] <<< runtime
2727 # winbind async function winbindd_pam_auth_crap
2730 probe process("winbindd").function("winbindd_pam_auth_crap_send") {
2731         send_running["winbindd_pam_auth_crap_send"] = gettimeofday_us()
2734 probe process("winbindd").function("winbindd_pam_auth_crap_send").return {
2735         if (!(["winbindd_pam_auth_crap_send"] in send_running))
2736                 next
2738         end = gettimeofday_us()
2739         start = send_running["winbindd_pam_auth_crap_send"]
2740         delete send_running["winbindd_pam_auth_crap_send"]
2742         start_time["winbindd_pam_auth_crap_send", $return] = start
2743         idle_time["winbindd_pam_auth_crap_send", $return] = end
2746 probe process("winbindd").function("winbindd_pam_auth_crap_recv") {
2747         if (!(["winbindd_pam_auth_crap_send", $req] in start_time))
2748                 next
2750         recv_running["winbindd_pam_auth_crap_recv"] = gettimeofday_us()
2753 probe process("winbindd").function("winbindd_pam_auth_crap_recv").return {
2754         if (!(["winbindd_pam_auth_crap_recv"] in recv_running))
2755                 next
2757         recv_end = gettimeofday_us()
2758         recv_start = recv_running["winbindd_pam_auth_crap_recv"]
2759         delete recv_running["winbindd_pam_auth_crap_recv"]
2760         recv_runtime = recv_end - recv_start
2762         req = @entry($req)
2764         send_begin = start_time["winbindd_pam_auth_crap_send", req]
2765         delete start_time["winbindd_pam_auth_crap_send", req]
2766         svctime = recv_end - send_begin
2768         idle = idle_time["winbindd_pam_auth_crap_send", req]
2769         delete idle_time["winbindd_pam_auth_crap_send", req]
2770         runtime = (idle - send_begin) + recv_runtime
2772         async_svctime["winbindd_pam_auth_crap_send"] <<< svctime
2773         async_runtime["winbindd_pam_auth_crap_send"] <<< runtime
2776 probe end {
2777         printf("\n\n")
2779         printf("Winbind request service time\n")
2780         printf("============================\n")
2781         foreach ([name] in async_svctime) {
2782                 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2783                        name,
2784                        @count(async_svctime[name]),
2785                        @sum(async_svctime[name]) / 1000,
2786                        @min(async_svctime[name]),
2787                        @avg(async_svctime[name]),
2788                        @max(async_svctime[name]))
2789         }
2790         printf("\n")
2792         printf("Winbind request runtime\n")
2793         printf("=======================\n")
2794         foreach ([name] in async_runtime) {
2795                 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2796                        name,
2797                        @count(async_runtime[name]),
2798                        @sum(async_runtime[name]) / 1000,
2799                        @min(async_runtime[name]),
2800                        @avg(async_runtime[name]),
2801                        @max(async_runtime[name]))
2802         }
2803         printf("\n")
2805         printf("Winbind domain-child request service time\n")
2806         printf("=========================================\n")
2807         foreach ([name] in dc_svctime) {
2808                 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2809                        name,
2810                        @count(dc_svctime[name]),
2811                        @sum(dc_svctime[name]) / 1000,
2812                        @min(dc_svctime[name]),
2813                        @avg(dc_svctime[name]),
2814                        @max(dc_svctime[name]))
2815         }
2816         printf("\n")
2818         printf("Winbind domain-child AD-backend service time\n")
2819         printf("============================================\n")
2820         foreach ([name] in backend_svctime) {
2821                 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2822                        name,
2823                        @count(backend_svctime[name]),
2824                        @sum(backend_svctime[name]) / 1000,
2825                        @min(backend_svctime[name]),
2826                        @avg(backend_svctime[name]),
2827                        @max(backend_svctime[name]))
2828         }
2829         printf("\n")
2831         printf("Winbind request service time distributions (us)\n")
2832         printf("===============================================\n")
2833         foreach ([name] in async_svctime) {
2834                 printf("%s:\n", name);
2835                 println(@hist_log(async_svctime[name]))
2836         }
2837         printf("\n")
2839         printf("Winbind request runtime distributions (us)\n")
2840         printf("==========================================\n")
2841         foreach ([name] in async_runtime) {
2842                 printf("%s:\n", name);
2843                 println(@hist_log(async_runtime[name]))
2844         }
2846         printf("Winbind domain-child request service time distributions (us)\n")
2847         printf("============================================================\n")
2848         foreach ([name] in dc_svctime) {
2849                 printf("%s:\n", name);
2850                 println(@hist_log(dc_svctime[name]))
2851         }
2853         printf("Winbind domain-child AD-backend service time distributions (us)\n")
2854         printf("===============================================================\n")
2855         foreach ([name] in backend_svctime) {
2856                 printf("%s:\n", name);
2857                 println(@hist_log(backend_svctime[name]))
2858         }