3 # Systemtap script to instrument winbindd
5 # Generated by examples/systemtap/generate-winbindd.stp.sh on lun 09 may 2022 17:31:44 CEST, do not edit
9 # Instrument all winbindd processes:
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
23 printf("Collecting data, press ctrl-C to stop... ")
27 # winbind domain child function winbindd_dual_init_connection
30 probe process("winbindd").function("winbindd_dual_init_connection") {
31 dc_running[tid(), "winbindd_dual_init_connection"] = gettimeofday_us()
34 probe process("winbindd").function("winbindd_dual_init_connection").return {
35 if (!([tid(), "winbindd_dual_init_connection"] in dc_running))
38 end = gettimeofday_us()
39 begin = dc_running[tid(), "winbindd_dual_init_connection"]
40 delete dc_running[tid(), "winbindd_dual_init_connection"]
42 duration = end - begin
43 dc_svctime["winbindd_dual_init_connection"] <<< duration
47 # winbind domain child function _wbint_InitConnection
50 probe process("winbindd").function("_wbint_InitConnection") {
51 dc_running[tid(), "_wbint_InitConnection"] = gettimeofday_us()
54 probe process("winbindd").function("_wbint_InitConnection").return {
55 if (!([tid(), "_wbint_InitConnection"] in dc_running))
58 end = gettimeofday_us()
59 begin = dc_running[tid(), "_wbint_InitConnection"]
60 delete dc_running[tid(), "_wbint_InitConnection"]
62 duration = end - begin
63 dc_svctime["_wbint_InitConnection"] <<< duration
67 # winbind domain child function _wbint_Ping
70 probe process("winbindd").function("_wbint_Ping") {
71 dc_running[tid(), "_wbint_Ping"] = gettimeofday_us()
74 probe process("winbindd").function("_wbint_Ping").return {
75 if (!([tid(), "_wbint_Ping"] in dc_running))
78 end = gettimeofday_us()
79 begin = dc_running[tid(), "_wbint_Ping"]
80 delete dc_running[tid(), "_wbint_Ping"]
82 duration = end - begin
83 dc_svctime["_wbint_Ping"] <<< duration
87 # winbind domain child function _wbint_PamAuth
90 probe process("winbindd").function("_wbint_PamAuth") {
91 dc_running[tid(), "_wbint_PamAuth"] = gettimeofday_us()
94 probe process("winbindd").function("_wbint_PamAuth").return {
95 if (!([tid(), "_wbint_PamAuth"] in dc_running))
98 end = gettimeofday_us()
99 begin = dc_running[tid(), "_wbint_PamAuth"]
100 delete dc_running[tid(), "_wbint_PamAuth"]
102 duration = end - begin
103 dc_svctime["_wbint_PamAuth"] <<< duration
107 # winbind domain child function _wbint_PamAuthCrap
110 probe process("winbindd").function("_wbint_PamAuthCrap") {
111 dc_running[tid(), "_wbint_PamAuthCrap"] = gettimeofday_us()
114 probe process("winbindd").function("_wbint_PamAuthCrap").return {
115 if (!([tid(), "_wbint_PamAuthCrap"] in dc_running))
118 end = gettimeofday_us()
119 begin = dc_running[tid(), "_wbint_PamAuthCrap"]
120 delete dc_running[tid(), "_wbint_PamAuthCrap"]
122 duration = end - begin
123 dc_svctime["_wbint_PamAuthCrap"] <<< duration
127 # winbind domain child function _wbint_PamLogOff
130 probe process("winbindd").function("_wbint_PamLogOff") {
131 dc_running[tid(), "_wbint_PamLogOff"] = gettimeofday_us()
134 probe process("winbindd").function("_wbint_PamLogOff").return {
135 if (!([tid(), "_wbint_PamLogOff"] in dc_running))
138 end = gettimeofday_us()
139 begin = dc_running[tid(), "_wbint_PamLogOff"]
140 delete dc_running[tid(), "_wbint_PamLogOff"]
142 duration = end - begin
143 dc_svctime["_wbint_PamLogOff"] <<< duration
147 # winbind domain child function _wbint_PamAuthChangePassword
150 probe process("winbindd").function("_wbint_PamAuthChangePassword") {
151 dc_running[tid(), "_wbint_PamAuthChangePassword"] = gettimeofday_us()
154 probe process("winbindd").function("_wbint_PamAuthChangePassword").return {
155 if (!([tid(), "_wbint_PamAuthChangePassword"] in dc_running))
158 end = gettimeofday_us()
159 begin = dc_running[tid(), "_wbint_PamAuthChangePassword"]
160 delete dc_running[tid(), "_wbint_PamAuthChangePassword"]
162 duration = end - begin
163 dc_svctime["_wbint_PamAuthChangePassword"] <<< duration
167 # winbind domain child function _wbint_PamAuthCrapChangePassword
170 probe process("winbindd").function("_wbint_PamAuthCrapChangePassword") {
171 dc_running[tid(), "_wbint_PamAuthCrapChangePassword"] = gettimeofday_us()
174 probe process("winbindd").function("_wbint_PamAuthCrapChangePassword").return {
175 if (!([tid(), "_wbint_PamAuthCrapChangePassword"] in dc_running))
178 end = gettimeofday_us()
179 begin = dc_running[tid(), "_wbint_PamAuthCrapChangePassword"]
180 delete dc_running[tid(), "_wbint_PamAuthCrapChangePassword"]
182 duration = end - begin
183 dc_svctime["_wbint_PamAuthCrapChangePassword"] <<< duration
187 # winbind domain child function _wbint_ListTrustedDomains
190 probe process("winbindd").function("_wbint_ListTrustedDomains") {
191 dc_running[tid(), "_wbint_ListTrustedDomains"] = gettimeofday_us()
194 probe process("winbindd").function("_wbint_ListTrustedDomains").return {
195 if (!([tid(), "_wbint_ListTrustedDomains"] in dc_running))
198 end = gettimeofday_us()
199 begin = dc_running[tid(), "_wbint_ListTrustedDomains"]
200 delete dc_running[tid(), "_wbint_ListTrustedDomains"]
202 duration = end - begin
203 dc_svctime["_wbint_ListTrustedDomains"] <<< duration
207 # winbind domain child function _wbint_LookupSid
210 probe process("winbindd").function("_wbint_LookupSid") {
211 dc_running[tid(), "_wbint_LookupSid"] = gettimeofday_us()
214 probe process("winbindd").function("_wbint_LookupSid").return {
215 if (!([tid(), "_wbint_LookupSid"] in dc_running))
218 end = gettimeofday_us()
219 begin = dc_running[tid(), "_wbint_LookupSid"]
220 delete dc_running[tid(), "_wbint_LookupSid"]
222 duration = end - begin
223 dc_svctime["_wbint_LookupSid"] <<< duration
227 # winbind domain child function _wbint_LookupSids
230 probe process("winbindd").function("_wbint_LookupSids") {
231 dc_running[tid(), "_wbint_LookupSids"] = gettimeofday_us()
234 probe process("winbindd").function("_wbint_LookupSids").return {
235 if (!([tid(), "_wbint_LookupSids"] in dc_running))
238 end = gettimeofday_us()
239 begin = dc_running[tid(), "_wbint_LookupSids"]
240 delete dc_running[tid(), "_wbint_LookupSids"]
242 duration = end - begin
243 dc_svctime["_wbint_LookupSids"] <<< duration
247 # winbind domain child function _wbint_LookupName
250 probe process("winbindd").function("_wbint_LookupName") {
251 dc_running[tid(), "_wbint_LookupName"] = gettimeofday_us()
254 probe process("winbindd").function("_wbint_LookupName").return {
255 if (!([tid(), "_wbint_LookupName"] in dc_running))
258 end = gettimeofday_us()
259 begin = dc_running[tid(), "_wbint_LookupName"]
260 delete dc_running[tid(), "_wbint_LookupName"]
262 duration = end - begin
263 dc_svctime["_wbint_LookupName"] <<< duration
267 # winbind domain child function _wbint_Sids2UnixIDs
270 probe process("winbindd").function("_wbint_Sids2UnixIDs") {
271 dc_running[tid(), "_wbint_Sids2UnixIDs"] = gettimeofday_us()
274 probe process("winbindd").function("_wbint_Sids2UnixIDs").return {
275 if (!([tid(), "_wbint_Sids2UnixIDs"] in dc_running))
278 end = gettimeofday_us()
279 begin = dc_running[tid(), "_wbint_Sids2UnixIDs"]
280 delete dc_running[tid(), "_wbint_Sids2UnixIDs"]
282 duration = end - begin
283 dc_svctime["_wbint_Sids2UnixIDs"] <<< duration
287 # winbind domain child function _wbint_UnixIDs2Sids
290 probe process("winbindd").function("_wbint_UnixIDs2Sids") {
291 dc_running[tid(), "_wbint_UnixIDs2Sids"] = gettimeofday_us()
294 probe process("winbindd").function("_wbint_UnixIDs2Sids").return {
295 if (!([tid(), "_wbint_UnixIDs2Sids"] in dc_running))
298 end = gettimeofday_us()
299 begin = dc_running[tid(), "_wbint_UnixIDs2Sids"]
300 delete dc_running[tid(), "_wbint_UnixIDs2Sids"]
302 duration = end - begin
303 dc_svctime["_wbint_UnixIDs2Sids"] <<< duration
307 # winbind domain child function _wbint_AllocateUid
310 probe process("winbindd").function("_wbint_AllocateUid") {
311 dc_running[tid(), "_wbint_AllocateUid"] = gettimeofday_us()
314 probe process("winbindd").function("_wbint_AllocateUid").return {
315 if (!([tid(), "_wbint_AllocateUid"] in dc_running))
318 end = gettimeofday_us()
319 begin = dc_running[tid(), "_wbint_AllocateUid"]
320 delete dc_running[tid(), "_wbint_AllocateUid"]
322 duration = end - begin
323 dc_svctime["_wbint_AllocateUid"] <<< duration
327 # winbind domain child function _wbint_AllocateGid
330 probe process("winbindd").function("_wbint_AllocateGid") {
331 dc_running[tid(), "_wbint_AllocateGid"] = gettimeofday_us()
334 probe process("winbindd").function("_wbint_AllocateGid").return {
335 if (!([tid(), "_wbint_AllocateGid"] in dc_running))
338 end = gettimeofday_us()
339 begin = dc_running[tid(), "_wbint_AllocateGid"]
340 delete dc_running[tid(), "_wbint_AllocateGid"]
342 duration = end - begin
343 dc_svctime["_wbint_AllocateGid"] <<< duration
347 # winbind domain child function _wbint_GetNssInfo
350 probe process("winbindd").function("_wbint_GetNssInfo") {
351 dc_running[tid(), "_wbint_GetNssInfo"] = gettimeofday_us()
354 probe process("winbindd").function("_wbint_GetNssInfo").return {
355 if (!([tid(), "_wbint_GetNssInfo"] in dc_running))
358 end = gettimeofday_us()
359 begin = dc_running[tid(), "_wbint_GetNssInfo"]
360 delete dc_running[tid(), "_wbint_GetNssInfo"]
362 duration = end - begin
363 dc_svctime["_wbint_GetNssInfo"] <<< duration
367 # winbind domain child function _wbint_LookupUserAliases
370 probe process("winbindd").function("_wbint_LookupUserAliases") {
371 dc_running[tid(), "_wbint_LookupUserAliases"] = gettimeofday_us()
374 probe process("winbindd").function("_wbint_LookupUserAliases").return {
375 if (!([tid(), "_wbint_LookupUserAliases"] in dc_running))
378 end = gettimeofday_us()
379 begin = dc_running[tid(), "_wbint_LookupUserAliases"]
380 delete dc_running[tid(), "_wbint_LookupUserAliases"]
382 duration = end - begin
383 dc_svctime["_wbint_LookupUserAliases"] <<< duration
387 # winbind domain child function _wbint_LookupUserGroups
390 probe process("winbindd").function("_wbint_LookupUserGroups") {
391 dc_running[tid(), "_wbint_LookupUserGroups"] = gettimeofday_us()
394 probe process("winbindd").function("_wbint_LookupUserGroups").return {
395 if (!([tid(), "_wbint_LookupUserGroups"] in dc_running))
398 end = gettimeofday_us()
399 begin = dc_running[tid(), "_wbint_LookupUserGroups"]
400 delete dc_running[tid(), "_wbint_LookupUserGroups"]
402 duration = end - begin
403 dc_svctime["_wbint_LookupUserGroups"] <<< duration
407 # winbind domain child function _wbint_QuerySequenceNumber
410 probe process("winbindd").function("_wbint_QuerySequenceNumber") {
411 dc_running[tid(), "_wbint_QuerySequenceNumber"] = gettimeofday_us()
414 probe process("winbindd").function("_wbint_QuerySequenceNumber").return {
415 if (!([tid(), "_wbint_QuerySequenceNumber"] in dc_running))
418 end = gettimeofday_us()
419 begin = dc_running[tid(), "_wbint_QuerySequenceNumber"]
420 delete dc_running[tid(), "_wbint_QuerySequenceNumber"]
422 duration = end - begin
423 dc_svctime["_wbint_QuerySequenceNumber"] <<< duration
427 # winbind domain child function _wbint_LookupGroupMembers
430 probe process("winbindd").function("_wbint_LookupGroupMembers") {
431 dc_running[tid(), "_wbint_LookupGroupMembers"] = gettimeofday_us()
434 probe process("winbindd").function("_wbint_LookupGroupMembers").return {
435 if (!([tid(), "_wbint_LookupGroupMembers"] in dc_running))
438 end = gettimeofday_us()
439 begin = dc_running[tid(), "_wbint_LookupGroupMembers"]
440 delete dc_running[tid(), "_wbint_LookupGroupMembers"]
442 duration = end - begin
443 dc_svctime["_wbint_LookupGroupMembers"] <<< duration
447 # winbind domain child function _wbint_QueryGroupList
450 probe process("winbindd").function("_wbint_QueryGroupList") {
451 dc_running[tid(), "_wbint_QueryGroupList"] = gettimeofday_us()
454 probe process("winbindd").function("_wbint_QueryGroupList").return {
455 if (!([tid(), "_wbint_QueryGroupList"] in dc_running))
458 end = gettimeofday_us()
459 begin = dc_running[tid(), "_wbint_QueryGroupList"]
460 delete dc_running[tid(), "_wbint_QueryGroupList"]
462 duration = end - begin
463 dc_svctime["_wbint_QueryGroupList"] <<< duration
467 # winbind domain child function _wbint_QueryUserRidList
470 probe process("winbindd").function("_wbint_QueryUserRidList") {
471 dc_running[tid(), "_wbint_QueryUserRidList"] = gettimeofday_us()
474 probe process("winbindd").function("_wbint_QueryUserRidList").return {
475 if (!([tid(), "_wbint_QueryUserRidList"] in dc_running))
478 end = gettimeofday_us()
479 begin = dc_running[tid(), "_wbint_QueryUserRidList"]
480 delete dc_running[tid(), "_wbint_QueryUserRidList"]
482 duration = end - begin
483 dc_svctime["_wbint_QueryUserRidList"] <<< duration
487 # winbind domain child function _wbint_DsGetDcName
490 probe process("winbindd").function("_wbint_DsGetDcName") {
491 dc_running[tid(), "_wbint_DsGetDcName"] = gettimeofday_us()
494 probe process("winbindd").function("_wbint_DsGetDcName").return {
495 if (!([tid(), "_wbint_DsGetDcName"] in dc_running))
498 end = gettimeofday_us()
499 begin = dc_running[tid(), "_wbint_DsGetDcName"]
500 delete dc_running[tid(), "_wbint_DsGetDcName"]
502 duration = end - begin
503 dc_svctime["_wbint_DsGetDcName"] <<< duration
507 # winbind domain child function _wbint_LookupRids
510 probe process("winbindd").function("_wbint_LookupRids") {
511 dc_running[tid(), "_wbint_LookupRids"] = gettimeofday_us()
514 probe process("winbindd").function("_wbint_LookupRids").return {
515 if (!([tid(), "_wbint_LookupRids"] in dc_running))
518 end = gettimeofday_us()
519 begin = dc_running[tid(), "_wbint_LookupRids"]
520 delete dc_running[tid(), "_wbint_LookupRids"]
522 duration = end - begin
523 dc_svctime["_wbint_LookupRids"] <<< duration
527 # winbind domain child function _wbint_CheckMachineAccount
530 probe process("winbindd").function("_wbint_CheckMachineAccount") {
531 dc_running[tid(), "_wbint_CheckMachineAccount"] = gettimeofday_us()
534 probe process("winbindd").function("_wbint_CheckMachineAccount").return {
535 if (!([tid(), "_wbint_CheckMachineAccount"] in dc_running))
538 end = gettimeofday_us()
539 begin = dc_running[tid(), "_wbint_CheckMachineAccount"]
540 delete dc_running[tid(), "_wbint_CheckMachineAccount"]
542 duration = end - begin
543 dc_svctime["_wbint_CheckMachineAccount"] <<< duration
547 # winbind domain child function _wbint_ChangeMachineAccount
550 probe process("winbindd").function("_wbint_ChangeMachineAccount") {
551 dc_running[tid(), "_wbint_ChangeMachineAccount"] = gettimeofday_us()
554 probe process("winbindd").function("_wbint_ChangeMachineAccount").return {
555 if (!([tid(), "_wbint_ChangeMachineAccount"] in dc_running))
558 end = gettimeofday_us()
559 begin = dc_running[tid(), "_wbint_ChangeMachineAccount"]
560 delete dc_running[tid(), "_wbint_ChangeMachineAccount"]
562 duration = end - begin
563 dc_svctime["_wbint_ChangeMachineAccount"] <<< duration
567 # winbind domain child function _wbint_PingDc
570 probe process("winbindd").function("_wbint_PingDc") {
571 dc_running[tid(), "_wbint_PingDc"] = gettimeofday_us()
574 probe process("winbindd").function("_wbint_PingDc").return {
575 if (!([tid(), "_wbint_PingDc"] in dc_running))
578 end = gettimeofday_us()
579 begin = dc_running[tid(), "_wbint_PingDc"]
580 delete dc_running[tid(), "_wbint_PingDc"]
582 duration = end - begin
583 dc_svctime["_wbint_PingDc"] <<< duration
587 # winbind domain child backend function query_user_list
590 probe process("winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c") {
591 backend_running[tid(), "query_user_list"] = gettimeofday_us()
594 probe process("winbindd").function("query_user_list@../source3/winbindd/winbindd_ads.c").return {
595 if (!([tid(), "query_user_list"] in backend_running))
598 end = gettimeofday_us()
599 begin = backend_running[tid(), "query_user_list"]
600 delete backend_running[tid(), "query_user_list"]
602 duration = end - begin
603 backend_svctime["query_user_list"] <<< duration
607 # winbind domain child backend function enum_dom_groups
610 probe process("winbindd").function("enum_dom_groups@../source3/winbindd/winbindd_ads.c") {
611 backend_running[tid(), "enum_dom_groups"] = gettimeofday_us()
614 probe process("winbindd").function("enum_dom_groups@../source3/winbindd/winbindd_ads.c").return {
615 if (!([tid(), "enum_dom_groups"] in backend_running))
618 end = gettimeofday_us()
619 begin = backend_running[tid(), "enum_dom_groups"]
620 delete backend_running[tid(), "enum_dom_groups"]
622 duration = end - begin
623 backend_svctime["enum_dom_groups"] <<< duration
627 # winbind domain child backend function enum_local_groups
630 probe process("winbindd").function("enum_local_groups@../source3/winbindd/winbindd_ads.c") {
631 backend_running[tid(), "enum_local_groups"] = gettimeofday_us()
634 probe process("winbindd").function("enum_local_groups@../source3/winbindd/winbindd_ads.c").return {
635 if (!([tid(), "enum_local_groups"] in backend_running))
638 end = gettimeofday_us()
639 begin = backend_running[tid(), "enum_local_groups"]
640 delete backend_running[tid(), "enum_local_groups"]
642 duration = end - begin
643 backend_svctime["enum_local_groups"] <<< duration
647 # winbind domain child backend function name_to_sid
650 probe process("winbindd").function("name_to_sid@../source3/winbindd/winbindd_ads.c") {
651 backend_running[tid(), "name_to_sid"] = gettimeofday_us()
654 probe process("winbindd").function("name_to_sid@../source3/winbindd/winbindd_ads.c").return {
655 if (!([tid(), "name_to_sid"] in backend_running))
658 end = gettimeofday_us()
659 begin = backend_running[tid(), "name_to_sid"]
660 delete backend_running[tid(), "name_to_sid"]
662 duration = end - begin
663 backend_svctime["name_to_sid"] <<< duration
667 # winbind domain child backend function sid_to_name
670 probe process("winbindd").function("sid_to_name@../source3/winbindd/winbindd_ads.c") {
671 backend_running[tid(), "sid_to_name"] = gettimeofday_us()
674 probe process("winbindd").function("sid_to_name@../source3/winbindd/winbindd_ads.c").return {
675 if (!([tid(), "sid_to_name"] in backend_running))
678 end = gettimeofday_us()
679 begin = backend_running[tid(), "sid_to_name"]
680 delete backend_running[tid(), "sid_to_name"]
682 duration = end - begin
683 backend_svctime["sid_to_name"] <<< duration
687 # winbind domain child backend function rids_to_names
690 probe process("winbindd").function("rids_to_names@../source3/winbindd/winbindd_ads.c") {
691 backend_running[tid(), "rids_to_names"] = gettimeofday_us()
694 probe process("winbindd").function("rids_to_names@../source3/winbindd/winbindd_ads.c").return {
695 if (!([tid(), "rids_to_names"] in backend_running))
698 end = gettimeofday_us()
699 begin = backend_running[tid(), "rids_to_names"]
700 delete backend_running[tid(), "rids_to_names"]
702 duration = end - begin
703 backend_svctime["rids_to_names"] <<< duration
707 # winbind domain child backend function lookup_usergroups
710 probe process("winbindd").function("lookup_usergroups@../source3/winbindd/winbindd_ads.c") {
711 backend_running[tid(), "lookup_usergroups"] = gettimeofday_us()
714 probe process("winbindd").function("lookup_usergroups@../source3/winbindd/winbindd_ads.c").return {
715 if (!([tid(), "lookup_usergroups"] in backend_running))
718 end = gettimeofday_us()
719 begin = backend_running[tid(), "lookup_usergroups"]
720 delete backend_running[tid(), "lookup_usergroups"]
722 duration = end - begin
723 backend_svctime["lookup_usergroups"] <<< duration
727 # winbind domain child backend function lookup_useraliases
730 probe process("winbindd").function("lookup_useraliases@../source3/winbindd/winbindd_ads.c") {
731 backend_running[tid(), "lookup_useraliases"] = gettimeofday_us()
734 probe process("winbindd").function("lookup_useraliases@../source3/winbindd/winbindd_ads.c").return {
735 if (!([tid(), "lookup_useraliases"] in backend_running))
738 end = gettimeofday_us()
739 begin = backend_running[tid(), "lookup_useraliases"]
740 delete backend_running[tid(), "lookup_useraliases"]
742 duration = end - begin
743 backend_svctime["lookup_useraliases"] <<< duration
747 # winbind domain child backend function lookup_groupmem
750 probe process("winbindd").function("lookup_groupmem@../source3/winbindd/winbindd_ads.c") {
751 backend_running[tid(), "lookup_groupmem"] = gettimeofday_us()
754 probe process("winbindd").function("lookup_groupmem@../source3/winbindd/winbindd_ads.c").return {
755 if (!([tid(), "lookup_groupmem"] in backend_running))
758 end = gettimeofday_us()
759 begin = backend_running[tid(), "lookup_groupmem"]
760 delete backend_running[tid(), "lookup_groupmem"]
762 duration = end - begin
763 backend_svctime["lookup_groupmem"] <<< duration
767 # winbind domain child backend function sequence_number
770 probe process("winbindd").function("sequence_number@../source3/winbindd/winbindd_ads.c") {
771 backend_running[tid(), "sequence_number"] = gettimeofday_us()
774 probe process("winbindd").function("sequence_number@../source3/winbindd/winbindd_ads.c").return {
775 if (!([tid(), "sequence_number"] in backend_running))
778 end = gettimeofday_us()
779 begin = backend_running[tid(), "sequence_number"]
780 delete backend_running[tid(), "sequence_number"]
782 duration = end - begin
783 backend_svctime["sequence_number"] <<< duration
787 # winbind domain child backend function lockout_policy
790 probe process("winbindd").function("lockout_policy@../source3/winbindd/winbindd_ads.c") {
791 backend_running[tid(), "lockout_policy"] = gettimeofday_us()
794 probe process("winbindd").function("lockout_policy@../source3/winbindd/winbindd_ads.c").return {
795 if (!([tid(), "lockout_policy"] in backend_running))
798 end = gettimeofday_us()
799 begin = backend_running[tid(), "lockout_policy"]
800 delete backend_running[tid(), "lockout_policy"]
802 duration = end - begin
803 backend_svctime["lockout_policy"] <<< duration
807 # winbind domain child backend function password_policy
810 probe process("winbindd").function("password_policy@../source3/winbindd/winbindd_ads.c") {
811 backend_running[tid(), "password_policy"] = gettimeofday_us()
814 probe process("winbindd").function("password_policy@../source3/winbindd/winbindd_ads.c").return {
815 if (!([tid(), "password_policy"] in backend_running))
818 end = gettimeofday_us()
819 begin = backend_running[tid(), "password_policy"]
820 delete backend_running[tid(), "password_policy"]
822 duration = end - begin
823 backend_svctime["password_policy"] <<< duration
827 # winbind domain child backend function trusted_domains
830 probe process("winbindd").function("trusted_domains@../source3/winbindd/winbindd_ads.c") {
831 backend_running[tid(), "trusted_domains"] = gettimeofday_us()
834 probe process("winbindd").function("trusted_domains@../source3/winbindd/winbindd_ads.c").return {
835 if (!([tid(), "trusted_domains"] in backend_running))
838 end = gettimeofday_us()
839 begin = backend_running[tid(), "trusted_domains"]
840 delete backend_running[tid(), "trusted_domains"]
842 duration = end - begin
843 backend_svctime["trusted_domains"] <<< duration
847 # winbind async function wb_ping
850 probe process("winbindd").function("wb_ping_send") {
851 send_running["wb_ping_send"] = gettimeofday_us()
854 probe process("winbindd").function("wb_ping_send").return {
855 if (!(["wb_ping_send"] in send_running))
858 end = gettimeofday_us()
859 start = send_running["wb_ping_send"]
860 delete send_running["wb_ping_send"]
862 start_time["wb_ping_send", $return] = start
863 idle_time["wb_ping_send", $return] = end
866 probe process("winbindd").function("wb_ping_recv") {
867 if (!(["wb_ping_send", $req] in start_time))
870 recv_running["wb_ping_recv"] = gettimeofday_us()
873 probe process("winbindd").function("wb_ping_recv").return {
874 if (!(["wb_ping_recv"] in recv_running))
877 recv_end = gettimeofday_us()
878 recv_start = recv_running["wb_ping_recv"]
879 delete recv_running["wb_ping_recv"]
880 recv_runtime = recv_end - recv_start
884 send_begin = start_time["wb_ping_send", req]
885 delete start_time["wb_ping_send", req]
886 svctime = recv_end - send_begin
888 idle = idle_time["wb_ping_send", req]
889 delete idle_time["wb_ping_send", req]
890 runtime = (idle - send_begin) + recv_runtime
892 async_svctime["wb_ping_send"] <<< svctime
893 async_runtime["wb_ping_send"] <<< runtime
897 # winbind async function winbindd_lookupsid
900 probe process("winbindd").function("winbindd_lookupsid_send") {
901 send_running["winbindd_lookupsid_send"] = gettimeofday_us()
904 probe process("winbindd").function("winbindd_lookupsid_send").return {
905 if (!(["winbindd_lookupsid_send"] in send_running))
908 end = gettimeofday_us()
909 start = send_running["winbindd_lookupsid_send"]
910 delete send_running["winbindd_lookupsid_send"]
912 start_time["winbindd_lookupsid_send", $return] = start
913 idle_time["winbindd_lookupsid_send", $return] = end
916 probe process("winbindd").function("winbindd_lookupsid_recv") {
917 if (!(["winbindd_lookupsid_send", $req] in start_time))
920 recv_running["winbindd_lookupsid_recv"] = gettimeofday_us()
923 probe process("winbindd").function("winbindd_lookupsid_recv").return {
924 if (!(["winbindd_lookupsid_recv"] in recv_running))
927 recv_end = gettimeofday_us()
928 recv_start = recv_running["winbindd_lookupsid_recv"]
929 delete recv_running["winbindd_lookupsid_recv"]
930 recv_runtime = recv_end - recv_start
934 send_begin = start_time["winbindd_lookupsid_send", req]
935 delete start_time["winbindd_lookupsid_send", req]
936 svctime = recv_end - send_begin
938 idle = idle_time["winbindd_lookupsid_send", req]
939 delete idle_time["winbindd_lookupsid_send", req]
940 runtime = (idle - send_begin) + recv_runtime
942 async_svctime["winbindd_lookupsid_send"] <<< svctime
943 async_runtime["winbindd_lookupsid_send"] <<< runtime
947 # winbind async function winbindd_lookupsids
950 probe process("winbindd").function("winbindd_lookupsids_send") {
951 send_running["winbindd_lookupsids_send"] = gettimeofday_us()
954 probe process("winbindd").function("winbindd_lookupsids_send").return {
955 if (!(["winbindd_lookupsids_send"] in send_running))
958 end = gettimeofday_us()
959 start = send_running["winbindd_lookupsids_send"]
960 delete send_running["winbindd_lookupsids_send"]
962 start_time["winbindd_lookupsids_send", $return] = start
963 idle_time["winbindd_lookupsids_send", $return] = end
966 probe process("winbindd").function("winbindd_lookupsids_recv") {
967 if (!(["winbindd_lookupsids_send", $req] in start_time))
970 recv_running["winbindd_lookupsids_recv"] = gettimeofday_us()
973 probe process("winbindd").function("winbindd_lookupsids_recv").return {
974 if (!(["winbindd_lookupsids_recv"] in recv_running))
977 recv_end = gettimeofday_us()
978 recv_start = recv_running["winbindd_lookupsids_recv"]
979 delete recv_running["winbindd_lookupsids_recv"]
980 recv_runtime = recv_end - recv_start
984 send_begin = start_time["winbindd_lookupsids_send", req]
985 delete start_time["winbindd_lookupsids_send", req]
986 svctime = recv_end - send_begin
988 idle = idle_time["winbindd_lookupsids_send", req]
989 delete idle_time["winbindd_lookupsids_send", req]
990 runtime = (idle - send_begin) + recv_runtime
992 async_svctime["winbindd_lookupsids_send"] <<< svctime
993 async_runtime["winbindd_lookupsids_send"] <<< runtime
997 # winbind async function winbindd_lookupname
1000 probe process("winbindd").function("winbindd_lookupname_send") {
1001 send_running["winbindd_lookupname_send"] = gettimeofday_us()
1004 probe process("winbindd").function("winbindd_lookupname_send").return {
1005 if (!(["winbindd_lookupname_send"] in send_running))
1008 end = gettimeofday_us()
1009 start = send_running["winbindd_lookupname_send"]
1010 delete send_running["winbindd_lookupname_send"]
1012 start_time["winbindd_lookupname_send", $return] = start
1013 idle_time["winbindd_lookupname_send", $return] = end
1016 probe process("winbindd").function("winbindd_lookupname_recv") {
1017 if (!(["winbindd_lookupname_send", $req] in start_time))
1020 recv_running["winbindd_lookupname_recv"] = gettimeofday_us()
1023 probe process("winbindd").function("winbindd_lookupname_recv").return {
1024 if (!(["winbindd_lookupname_recv"] in recv_running))
1027 recv_end = gettimeofday_us()
1028 recv_start = recv_running["winbindd_lookupname_recv"]
1029 delete recv_running["winbindd_lookupname_recv"]
1030 recv_runtime = recv_end - recv_start
1034 send_begin = start_time["winbindd_lookupname_send", req]
1035 delete start_time["winbindd_lookupname_send", req]
1036 svctime = recv_end - send_begin
1038 idle = idle_time["winbindd_lookupname_send", req]
1039 delete idle_time["winbindd_lookupname_send", req]
1040 runtime = (idle - send_begin) + recv_runtime
1042 async_svctime["winbindd_lookupname_send"] <<< svctime
1043 async_runtime["winbindd_lookupname_send"] <<< runtime
1047 # winbind async function winbindd_sids_to_xids
1050 probe process("winbindd").function("winbindd_sids_to_xids_send") {
1051 send_running["winbindd_sids_to_xids_send"] = gettimeofday_us()
1054 probe process("winbindd").function("winbindd_sids_to_xids_send").return {
1055 if (!(["winbindd_sids_to_xids_send"] in send_running))
1058 end = gettimeofday_us()
1059 start = send_running["winbindd_sids_to_xids_send"]
1060 delete send_running["winbindd_sids_to_xids_send"]
1062 start_time["winbindd_sids_to_xids_send", $return] = start
1063 idle_time["winbindd_sids_to_xids_send", $return] = end
1066 probe process("winbindd").function("winbindd_sids_to_xids_recv") {
1067 if (!(["winbindd_sids_to_xids_send", $req] in start_time))
1070 recv_running["winbindd_sids_to_xids_recv"] = gettimeofday_us()
1073 probe process("winbindd").function("winbindd_sids_to_xids_recv").return {
1074 if (!(["winbindd_sids_to_xids_recv"] in recv_running))
1077 recv_end = gettimeofday_us()
1078 recv_start = recv_running["winbindd_sids_to_xids_recv"]
1079 delete recv_running["winbindd_sids_to_xids_recv"]
1080 recv_runtime = recv_end - recv_start
1084 send_begin = start_time["winbindd_sids_to_xids_send", req]
1085 delete start_time["winbindd_sids_to_xids_send", req]
1086 svctime = recv_end - send_begin
1088 idle = idle_time["winbindd_sids_to_xids_send", req]
1089 delete idle_time["winbindd_sids_to_xids_send", req]
1090 runtime = (idle - send_begin) + recv_runtime
1092 async_svctime["winbindd_sids_to_xids_send"] <<< svctime
1093 async_runtime["winbindd_sids_to_xids_send"] <<< runtime
1097 # winbind async function winbindd_xids_to_sids
1100 probe process("winbindd").function("winbindd_xids_to_sids_send") {
1101 send_running["winbindd_xids_to_sids_send"] = gettimeofday_us()
1104 probe process("winbindd").function("winbindd_xids_to_sids_send").return {
1105 if (!(["winbindd_xids_to_sids_send"] in send_running))
1108 end = gettimeofday_us()
1109 start = send_running["winbindd_xids_to_sids_send"]
1110 delete send_running["winbindd_xids_to_sids_send"]
1112 start_time["winbindd_xids_to_sids_send", $return] = start
1113 idle_time["winbindd_xids_to_sids_send", $return] = end
1116 probe process("winbindd").function("winbindd_xids_to_sids_recv") {
1117 if (!(["winbindd_xids_to_sids_send", $req] in start_time))
1120 recv_running["winbindd_xids_to_sids_recv"] = gettimeofday_us()
1123 probe process("winbindd").function("winbindd_xids_to_sids_recv").return {
1124 if (!(["winbindd_xids_to_sids_recv"] in recv_running))
1127 recv_end = gettimeofday_us()
1128 recv_start = recv_running["winbindd_xids_to_sids_recv"]
1129 delete recv_running["winbindd_xids_to_sids_recv"]
1130 recv_runtime = recv_end - recv_start
1134 send_begin = start_time["winbindd_xids_to_sids_send", req]
1135 delete start_time["winbindd_xids_to_sids_send", req]
1136 svctime = recv_end - send_begin
1138 idle = idle_time["winbindd_xids_to_sids_send", req]
1139 delete idle_time["winbindd_xids_to_sids_send", req]
1140 runtime = (idle - send_begin) + recv_runtime
1142 async_svctime["winbindd_xids_to_sids_send"] <<< svctime
1143 async_runtime["winbindd_xids_to_sids_send"] <<< runtime
1147 # winbind async function winbindd_getpwsid
1150 probe process("winbindd").function("winbindd_getpwsid_send") {
1151 send_running["winbindd_getpwsid_send"] = gettimeofday_us()
1154 probe process("winbindd").function("winbindd_getpwsid_send").return {
1155 if (!(["winbindd_getpwsid_send"] in send_running))
1158 end = gettimeofday_us()
1159 start = send_running["winbindd_getpwsid_send"]
1160 delete send_running["winbindd_getpwsid_send"]
1162 start_time["winbindd_getpwsid_send", $return] = start
1163 idle_time["winbindd_getpwsid_send", $return] = end
1166 probe process("winbindd").function("winbindd_getpwsid_recv") {
1167 if (!(["winbindd_getpwsid_send", $req] in start_time))
1170 recv_running["winbindd_getpwsid_recv"] = gettimeofday_us()
1173 probe process("winbindd").function("winbindd_getpwsid_recv").return {
1174 if (!(["winbindd_getpwsid_recv"] in recv_running))
1177 recv_end = gettimeofday_us()
1178 recv_start = recv_running["winbindd_getpwsid_recv"]
1179 delete recv_running["winbindd_getpwsid_recv"]
1180 recv_runtime = recv_end - recv_start
1184 send_begin = start_time["winbindd_getpwsid_send", req]
1185 delete start_time["winbindd_getpwsid_send", req]
1186 svctime = recv_end - send_begin
1188 idle = idle_time["winbindd_getpwsid_send", req]
1189 delete idle_time["winbindd_getpwsid_send", req]
1190 runtime = (idle - send_begin) + recv_runtime
1192 async_svctime["winbindd_getpwsid_send"] <<< svctime
1193 async_runtime["winbindd_getpwsid_send"] <<< runtime
1197 # winbind async function winbindd_getpwnam
1200 probe process("winbindd").function("winbindd_getpwnam_send") {
1201 send_running["winbindd_getpwnam_send"] = gettimeofday_us()
1204 probe process("winbindd").function("winbindd_getpwnam_send").return {
1205 if (!(["winbindd_getpwnam_send"] in send_running))
1208 end = gettimeofday_us()
1209 start = send_running["winbindd_getpwnam_send"]
1210 delete send_running["winbindd_getpwnam_send"]
1212 start_time["winbindd_getpwnam_send", $return] = start
1213 idle_time["winbindd_getpwnam_send", $return] = end
1216 probe process("winbindd").function("winbindd_getpwnam_recv") {
1217 if (!(["winbindd_getpwnam_send", $req] in start_time))
1220 recv_running["winbindd_getpwnam_recv"] = gettimeofday_us()
1223 probe process("winbindd").function("winbindd_getpwnam_recv").return {
1224 if (!(["winbindd_getpwnam_recv"] in recv_running))
1227 recv_end = gettimeofday_us()
1228 recv_start = recv_running["winbindd_getpwnam_recv"]
1229 delete recv_running["winbindd_getpwnam_recv"]
1230 recv_runtime = recv_end - recv_start
1234 send_begin = start_time["winbindd_getpwnam_send", req]
1235 delete start_time["winbindd_getpwnam_send", req]
1236 svctime = recv_end - send_begin
1238 idle = idle_time["winbindd_getpwnam_send", req]
1239 delete idle_time["winbindd_getpwnam_send", req]
1240 runtime = (idle - send_begin) + recv_runtime
1242 async_svctime["winbindd_getpwnam_send"] <<< svctime
1243 async_runtime["winbindd_getpwnam_send"] <<< runtime
1247 # winbind async function winbindd_getpwuid
1250 probe process("winbindd").function("winbindd_getpwuid_send") {
1251 send_running["winbindd_getpwuid_send"] = gettimeofday_us()
1254 probe process("winbindd").function("winbindd_getpwuid_send").return {
1255 if (!(["winbindd_getpwuid_send"] in send_running))
1258 end = gettimeofday_us()
1259 start = send_running["winbindd_getpwuid_send"]
1260 delete send_running["winbindd_getpwuid_send"]
1262 start_time["winbindd_getpwuid_send", $return] = start
1263 idle_time["winbindd_getpwuid_send", $return] = end
1266 probe process("winbindd").function("winbindd_getpwuid_recv") {
1267 if (!(["winbindd_getpwuid_send", $req] in start_time))
1270 recv_running["winbindd_getpwuid_recv"] = gettimeofday_us()
1273 probe process("winbindd").function("winbindd_getpwuid_recv").return {
1274 if (!(["winbindd_getpwuid_recv"] in recv_running))
1277 recv_end = gettimeofday_us()
1278 recv_start = recv_running["winbindd_getpwuid_recv"]
1279 delete recv_running["winbindd_getpwuid_recv"]
1280 recv_runtime = recv_end - recv_start
1284 send_begin = start_time["winbindd_getpwuid_send", req]
1285 delete start_time["winbindd_getpwuid_send", req]
1286 svctime = recv_end - send_begin
1288 idle = idle_time["winbindd_getpwuid_send", req]
1289 delete idle_time["winbindd_getpwuid_send", req]
1290 runtime = (idle - send_begin) + recv_runtime
1292 async_svctime["winbindd_getpwuid_send"] <<< svctime
1293 async_runtime["winbindd_getpwuid_send"] <<< runtime
1297 # winbind async function winbindd_getsidaliases
1300 probe process("winbindd").function("winbindd_getsidaliases_send") {
1301 send_running["winbindd_getsidaliases_send"] = gettimeofday_us()
1304 probe process("winbindd").function("winbindd_getsidaliases_send").return {
1305 if (!(["winbindd_getsidaliases_send"] in send_running))
1308 end = gettimeofday_us()
1309 start = send_running["winbindd_getsidaliases_send"]
1310 delete send_running["winbindd_getsidaliases_send"]
1312 start_time["winbindd_getsidaliases_send", $return] = start
1313 idle_time["winbindd_getsidaliases_send", $return] = end
1316 probe process("winbindd").function("winbindd_getsidaliases_recv") {
1317 if (!(["winbindd_getsidaliases_send", $req] in start_time))
1320 recv_running["winbindd_getsidaliases_recv"] = gettimeofday_us()
1323 probe process("winbindd").function("winbindd_getsidaliases_recv").return {
1324 if (!(["winbindd_getsidaliases_recv"] in recv_running))
1327 recv_end = gettimeofday_us()
1328 recv_start = recv_running["winbindd_getsidaliases_recv"]
1329 delete recv_running["winbindd_getsidaliases_recv"]
1330 recv_runtime = recv_end - recv_start
1334 send_begin = start_time["winbindd_getsidaliases_send", req]
1335 delete start_time["winbindd_getsidaliases_send", req]
1336 svctime = recv_end - send_begin
1338 idle = idle_time["winbindd_getsidaliases_send", req]
1339 delete idle_time["winbindd_getsidaliases_send", req]
1340 runtime = (idle - send_begin) + recv_runtime
1342 async_svctime["winbindd_getsidaliases_send"] <<< svctime
1343 async_runtime["winbindd_getsidaliases_send"] <<< runtime
1347 # winbind async function winbindd_getuserdomgroups
1350 probe process("winbindd").function("winbindd_getuserdomgroups_send") {
1351 send_running["winbindd_getuserdomgroups_send"] = gettimeofday_us()
1354 probe process("winbindd").function("winbindd_getuserdomgroups_send").return {
1355 if (!(["winbindd_getuserdomgroups_send"] in send_running))
1358 end = gettimeofday_us()
1359 start = send_running["winbindd_getuserdomgroups_send"]
1360 delete send_running["winbindd_getuserdomgroups_send"]
1362 start_time["winbindd_getuserdomgroups_send", $return] = start
1363 idle_time["winbindd_getuserdomgroups_send", $return] = end
1366 probe process("winbindd").function("winbindd_getuserdomgroups_recv") {
1367 if (!(["winbindd_getuserdomgroups_send", $req] in start_time))
1370 recv_running["winbindd_getuserdomgroups_recv"] = gettimeofday_us()
1373 probe process("winbindd").function("winbindd_getuserdomgroups_recv").return {
1374 if (!(["winbindd_getuserdomgroups_recv"] in recv_running))
1377 recv_end = gettimeofday_us()
1378 recv_start = recv_running["winbindd_getuserdomgroups_recv"]
1379 delete recv_running["winbindd_getuserdomgroups_recv"]
1380 recv_runtime = recv_end - recv_start
1384 send_begin = start_time["winbindd_getuserdomgroups_send", req]
1385 delete start_time["winbindd_getuserdomgroups_send", req]
1386 svctime = recv_end - send_begin
1388 idle = idle_time["winbindd_getuserdomgroups_send", req]
1389 delete idle_time["winbindd_getuserdomgroups_send", req]
1390 runtime = (idle - send_begin) + recv_runtime
1392 async_svctime["winbindd_getuserdomgroups_send"] <<< svctime
1393 async_runtime["winbindd_getuserdomgroups_send"] <<< runtime
1397 # winbind async function winbindd_getgroups
1400 probe process("winbindd").function("winbindd_getgroups_send") {
1401 send_running["winbindd_getgroups_send"] = gettimeofday_us()
1404 probe process("winbindd").function("winbindd_getgroups_send").return {
1405 if (!(["winbindd_getgroups_send"] in send_running))
1408 end = gettimeofday_us()
1409 start = send_running["winbindd_getgroups_send"]
1410 delete send_running["winbindd_getgroups_send"]
1412 start_time["winbindd_getgroups_send", $return] = start
1413 idle_time["winbindd_getgroups_send", $return] = end
1416 probe process("winbindd").function("winbindd_getgroups_recv") {
1417 if (!(["winbindd_getgroups_send", $req] in start_time))
1420 recv_running["winbindd_getgroups_recv"] = gettimeofday_us()
1423 probe process("winbindd").function("winbindd_getgroups_recv").return {
1424 if (!(["winbindd_getgroups_recv"] in recv_running))
1427 recv_end = gettimeofday_us()
1428 recv_start = recv_running["winbindd_getgroups_recv"]
1429 delete recv_running["winbindd_getgroups_recv"]
1430 recv_runtime = recv_end - recv_start
1434 send_begin = start_time["winbindd_getgroups_send", req]
1435 delete start_time["winbindd_getgroups_send", req]
1436 svctime = recv_end - send_begin
1438 idle = idle_time["winbindd_getgroups_send", req]
1439 delete idle_time["winbindd_getgroups_send", req]
1440 runtime = (idle - send_begin) + recv_runtime
1442 async_svctime["winbindd_getgroups_send"] <<< svctime
1443 async_runtime["winbindd_getgroups_send"] <<< runtime
1447 # winbind async function winbindd_show_sequence
1450 probe process("winbindd").function("winbindd_show_sequence_send") {
1451 send_running["winbindd_show_sequence_send"] = gettimeofday_us()
1454 probe process("winbindd").function("winbindd_show_sequence_send").return {
1455 if (!(["winbindd_show_sequence_send"] in send_running))
1458 end = gettimeofday_us()
1459 start = send_running["winbindd_show_sequence_send"]
1460 delete send_running["winbindd_show_sequence_send"]
1462 start_time["winbindd_show_sequence_send", $return] = start
1463 idle_time["winbindd_show_sequence_send", $return] = end
1466 probe process("winbindd").function("winbindd_show_sequence_recv") {
1467 if (!(["winbindd_show_sequence_send", $req] in start_time))
1470 recv_running["winbindd_show_sequence_recv"] = gettimeofday_us()
1473 probe process("winbindd").function("winbindd_show_sequence_recv").return {
1474 if (!(["winbindd_show_sequence_recv"] in recv_running))
1477 recv_end = gettimeofday_us()
1478 recv_start = recv_running["winbindd_show_sequence_recv"]
1479 delete recv_running["winbindd_show_sequence_recv"]
1480 recv_runtime = recv_end - recv_start
1484 send_begin = start_time["winbindd_show_sequence_send", req]
1485 delete start_time["winbindd_show_sequence_send", req]
1486 svctime = recv_end - send_begin
1488 idle = idle_time["winbindd_show_sequence_send", req]
1489 delete idle_time["winbindd_show_sequence_send", req]
1490 runtime = (idle - send_begin) + recv_runtime
1492 async_svctime["winbindd_show_sequence_send"] <<< svctime
1493 async_runtime["winbindd_show_sequence_send"] <<< runtime
1497 # winbind async function winbindd_getgrgid
1500 probe process("winbindd").function("winbindd_getgrgid_send") {
1501 send_running["winbindd_getgrgid_send"] = gettimeofday_us()
1504 probe process("winbindd").function("winbindd_getgrgid_send").return {
1505 if (!(["winbindd_getgrgid_send"] in send_running))
1508 end = gettimeofday_us()
1509 start = send_running["winbindd_getgrgid_send"]
1510 delete send_running["winbindd_getgrgid_send"]
1512 start_time["winbindd_getgrgid_send", $return] = start
1513 idle_time["winbindd_getgrgid_send", $return] = end
1516 probe process("winbindd").function("winbindd_getgrgid_recv") {
1517 if (!(["winbindd_getgrgid_send", $req] in start_time))
1520 recv_running["winbindd_getgrgid_recv"] = gettimeofday_us()
1523 probe process("winbindd").function("winbindd_getgrgid_recv").return {
1524 if (!(["winbindd_getgrgid_recv"] in recv_running))
1527 recv_end = gettimeofday_us()
1528 recv_start = recv_running["winbindd_getgrgid_recv"]
1529 delete recv_running["winbindd_getgrgid_recv"]
1530 recv_runtime = recv_end - recv_start
1534 send_begin = start_time["winbindd_getgrgid_send", req]
1535 delete start_time["winbindd_getgrgid_send", req]
1536 svctime = recv_end - send_begin
1538 idle = idle_time["winbindd_getgrgid_send", req]
1539 delete idle_time["winbindd_getgrgid_send", req]
1540 runtime = (idle - send_begin) + recv_runtime
1542 async_svctime["winbindd_getgrgid_send"] <<< svctime
1543 async_runtime["winbindd_getgrgid_send"] <<< runtime
1547 # winbind async function winbindd_getgrnam
1550 probe process("winbindd").function("winbindd_getgrnam_send") {
1551 send_running["winbindd_getgrnam_send"] = gettimeofday_us()
1554 probe process("winbindd").function("winbindd_getgrnam_send").return {
1555 if (!(["winbindd_getgrnam_send"] in send_running))
1558 end = gettimeofday_us()
1559 start = send_running["winbindd_getgrnam_send"]
1560 delete send_running["winbindd_getgrnam_send"]
1562 start_time["winbindd_getgrnam_send", $return] = start
1563 idle_time["winbindd_getgrnam_send", $return] = end
1566 probe process("winbindd").function("winbindd_getgrnam_recv") {
1567 if (!(["winbindd_getgrnam_send", $req] in start_time))
1570 recv_running["winbindd_getgrnam_recv"] = gettimeofday_us()
1573 probe process("winbindd").function("winbindd_getgrnam_recv").return {
1574 if (!(["winbindd_getgrnam_recv"] in recv_running))
1577 recv_end = gettimeofday_us()
1578 recv_start = recv_running["winbindd_getgrnam_recv"]
1579 delete recv_running["winbindd_getgrnam_recv"]
1580 recv_runtime = recv_end - recv_start
1584 send_begin = start_time["winbindd_getgrnam_send", req]
1585 delete start_time["winbindd_getgrnam_send", req]
1586 svctime = recv_end - send_begin
1588 idle = idle_time["winbindd_getgrnam_send", req]
1589 delete idle_time["winbindd_getgrnam_send", req]
1590 runtime = (idle - send_begin) + recv_runtime
1592 async_svctime["winbindd_getgrnam_send"] <<< svctime
1593 async_runtime["winbindd_getgrnam_send"] <<< runtime
1597 # winbind async function winbindd_getusersids
1600 probe process("winbindd").function("winbindd_getusersids_send") {
1601 send_running["winbindd_getusersids_send"] = gettimeofday_us()
1604 probe process("winbindd").function("winbindd_getusersids_send").return {
1605 if (!(["winbindd_getusersids_send"] in send_running))
1608 end = gettimeofday_us()
1609 start = send_running["winbindd_getusersids_send"]
1610 delete send_running["winbindd_getusersids_send"]
1612 start_time["winbindd_getusersids_send", $return] = start
1613 idle_time["winbindd_getusersids_send", $return] = end
1616 probe process("winbindd").function("winbindd_getusersids_recv") {
1617 if (!(["winbindd_getusersids_send", $req] in start_time))
1620 recv_running["winbindd_getusersids_recv"] = gettimeofday_us()
1623 probe process("winbindd").function("winbindd_getusersids_recv").return {
1624 if (!(["winbindd_getusersids_recv"] in recv_running))
1627 recv_end = gettimeofday_us()
1628 recv_start = recv_running["winbindd_getusersids_recv"]
1629 delete recv_running["winbindd_getusersids_recv"]
1630 recv_runtime = recv_end - recv_start
1634 send_begin = start_time["winbindd_getusersids_send", req]
1635 delete start_time["winbindd_getusersids_send", req]
1636 svctime = recv_end - send_begin
1638 idle = idle_time["winbindd_getusersids_send", req]
1639 delete idle_time["winbindd_getusersids_send", req]
1640 runtime = (idle - send_begin) + recv_runtime
1642 async_svctime["winbindd_getusersids_send"] <<< svctime
1643 async_runtime["winbindd_getusersids_send"] <<< runtime
1647 # winbind async function winbindd_lookuprids
1650 probe process("winbindd").function("winbindd_lookuprids_send") {
1651 send_running["winbindd_lookuprids_send"] = gettimeofday_us()
1654 probe process("winbindd").function("winbindd_lookuprids_send").return {
1655 if (!(["winbindd_lookuprids_send"] in send_running))
1658 end = gettimeofday_us()
1659 start = send_running["winbindd_lookuprids_send"]
1660 delete send_running["winbindd_lookuprids_send"]
1662 start_time["winbindd_lookuprids_send", $return] = start
1663 idle_time["winbindd_lookuprids_send", $return] = end
1666 probe process("winbindd").function("winbindd_lookuprids_recv") {
1667 if (!(["winbindd_lookuprids_send", $req] in start_time))
1670 recv_running["winbindd_lookuprids_recv"] = gettimeofday_us()
1673 probe process("winbindd").function("winbindd_lookuprids_recv").return {
1674 if (!(["winbindd_lookuprids_recv"] in recv_running))
1677 recv_end = gettimeofday_us()
1678 recv_start = recv_running["winbindd_lookuprids_recv"]
1679 delete recv_running["winbindd_lookuprids_recv"]
1680 recv_runtime = recv_end - recv_start
1684 send_begin = start_time["winbindd_lookuprids_send", req]
1685 delete start_time["winbindd_lookuprids_send", req]
1686 svctime = recv_end - send_begin
1688 idle = idle_time["winbindd_lookuprids_send", req]
1689 delete idle_time["winbindd_lookuprids_send", req]
1690 runtime = (idle - send_begin) + recv_runtime
1692 async_svctime["winbindd_lookuprids_send"] <<< svctime
1693 async_runtime["winbindd_lookuprids_send"] <<< runtime
1697 # winbind async function winbindd_setpwent
1700 probe process("winbindd").function("winbindd_setpwent_send") {
1701 send_running["winbindd_setpwent_send"] = gettimeofday_us()
1704 probe process("winbindd").function("winbindd_setpwent_send").return {
1705 if (!(["winbindd_setpwent_send"] in send_running))
1708 end = gettimeofday_us()
1709 start = send_running["winbindd_setpwent_send"]
1710 delete send_running["winbindd_setpwent_send"]
1712 start_time["winbindd_setpwent_send", $return] = start
1713 idle_time["winbindd_setpwent_send", $return] = end
1716 probe process("winbindd").function("winbindd_setpwent_recv") {
1717 if (!(["winbindd_setpwent_send", $req] in start_time))
1720 recv_running["winbindd_setpwent_recv"] = gettimeofday_us()
1723 probe process("winbindd").function("winbindd_setpwent_recv").return {
1724 if (!(["winbindd_setpwent_recv"] in recv_running))
1727 recv_end = gettimeofday_us()
1728 recv_start = recv_running["winbindd_setpwent_recv"]
1729 delete recv_running["winbindd_setpwent_recv"]
1730 recv_runtime = recv_end - recv_start
1734 send_begin = start_time["winbindd_setpwent_send", req]
1735 delete start_time["winbindd_setpwent_send", req]
1736 svctime = recv_end - send_begin
1738 idle = idle_time["winbindd_setpwent_send", req]
1739 delete idle_time["winbindd_setpwent_send", req]
1740 runtime = (idle - send_begin) + recv_runtime
1742 async_svctime["winbindd_setpwent_send"] <<< svctime
1743 async_runtime["winbindd_setpwent_send"] <<< runtime
1747 # winbind async function winbindd_getpwent
1750 probe process("winbindd").function("winbindd_getpwent_send") {
1751 send_running["winbindd_getpwent_send"] = gettimeofday_us()
1754 probe process("winbindd").function("winbindd_getpwent_send").return {
1755 if (!(["winbindd_getpwent_send"] in send_running))
1758 end = gettimeofday_us()
1759 start = send_running["winbindd_getpwent_send"]
1760 delete send_running["winbindd_getpwent_send"]
1762 start_time["winbindd_getpwent_send", $return] = start
1763 idle_time["winbindd_getpwent_send", $return] = end
1766 probe process("winbindd").function("winbindd_getpwent_recv") {
1767 if (!(["winbindd_getpwent_send", $req] in start_time))
1770 recv_running["winbindd_getpwent_recv"] = gettimeofday_us()
1773 probe process("winbindd").function("winbindd_getpwent_recv").return {
1774 if (!(["winbindd_getpwent_recv"] in recv_running))
1777 recv_end = gettimeofday_us()
1778 recv_start = recv_running["winbindd_getpwent_recv"]
1779 delete recv_running["winbindd_getpwent_recv"]
1780 recv_runtime = recv_end - recv_start
1784 send_begin = start_time["winbindd_getpwent_send", req]
1785 delete start_time["winbindd_getpwent_send", req]
1786 svctime = recv_end - send_begin
1788 idle = idle_time["winbindd_getpwent_send", req]
1789 delete idle_time["winbindd_getpwent_send", req]
1790 runtime = (idle - send_begin) + recv_runtime
1792 async_svctime["winbindd_getpwent_send"] <<< svctime
1793 async_runtime["winbindd_getpwent_send"] <<< runtime
1797 # winbind async function winbindd_endpwent
1800 probe process("winbindd").function("winbindd_endpwent_send") {
1801 send_running["winbindd_endpwent_send"] = gettimeofday_us()
1804 probe process("winbindd").function("winbindd_endpwent_send").return {
1805 if (!(["winbindd_endpwent_send"] in send_running))
1808 end = gettimeofday_us()
1809 start = send_running["winbindd_endpwent_send"]
1810 delete send_running["winbindd_endpwent_send"]
1812 start_time["winbindd_endpwent_send", $return] = start
1813 idle_time["winbindd_endpwent_send", $return] = end
1816 probe process("winbindd").function("winbindd_endpwent_recv") {
1817 if (!(["winbindd_endpwent_send", $req] in start_time))
1820 recv_running["winbindd_endpwent_recv"] = gettimeofday_us()
1823 probe process("winbindd").function("winbindd_endpwent_recv").return {
1824 if (!(["winbindd_endpwent_recv"] in recv_running))
1827 recv_end = gettimeofday_us()
1828 recv_start = recv_running["winbindd_endpwent_recv"]
1829 delete recv_running["winbindd_endpwent_recv"]
1830 recv_runtime = recv_end - recv_start
1834 send_begin = start_time["winbindd_endpwent_send", req]
1835 delete start_time["winbindd_endpwent_send", req]
1836 svctime = recv_end - send_begin
1838 idle = idle_time["winbindd_endpwent_send", req]
1839 delete idle_time["winbindd_endpwent_send", req]
1840 runtime = (idle - send_begin) + recv_runtime
1842 async_svctime["winbindd_endpwent_send"] <<< svctime
1843 async_runtime["winbindd_endpwent_send"] <<< runtime
1847 # winbind async function winbindd_dsgetdcname
1850 probe process("winbindd").function("winbindd_dsgetdcname_send") {
1851 send_running["winbindd_dsgetdcname_send"] = gettimeofday_us()
1854 probe process("winbindd").function("winbindd_dsgetdcname_send").return {
1855 if (!(["winbindd_dsgetdcname_send"] in send_running))
1858 end = gettimeofday_us()
1859 start = send_running["winbindd_dsgetdcname_send"]
1860 delete send_running["winbindd_dsgetdcname_send"]
1862 start_time["winbindd_dsgetdcname_send", $return] = start
1863 idle_time["winbindd_dsgetdcname_send", $return] = end
1866 probe process("winbindd").function("winbindd_dsgetdcname_recv") {
1867 if (!(["winbindd_dsgetdcname_send", $req] in start_time))
1870 recv_running["winbindd_dsgetdcname_recv"] = gettimeofday_us()
1873 probe process("winbindd").function("winbindd_dsgetdcname_recv").return {
1874 if (!(["winbindd_dsgetdcname_recv"] in recv_running))
1877 recv_end = gettimeofday_us()
1878 recv_start = recv_running["winbindd_dsgetdcname_recv"]
1879 delete recv_running["winbindd_dsgetdcname_recv"]
1880 recv_runtime = recv_end - recv_start
1884 send_begin = start_time["winbindd_dsgetdcname_send", req]
1885 delete start_time["winbindd_dsgetdcname_send", req]
1886 svctime = recv_end - send_begin
1888 idle = idle_time["winbindd_dsgetdcname_send", req]
1889 delete idle_time["winbindd_dsgetdcname_send", req]
1890 runtime = (idle - send_begin) + recv_runtime
1892 async_svctime["winbindd_dsgetdcname_send"] <<< svctime
1893 async_runtime["winbindd_dsgetdcname_send"] <<< runtime
1897 # winbind async function winbindd_getdcname
1900 probe process("winbindd").function("winbindd_getdcname_send") {
1901 send_running["winbindd_getdcname_send"] = gettimeofday_us()
1904 probe process("winbindd").function("winbindd_getdcname_send").return {
1905 if (!(["winbindd_getdcname_send"] in send_running))
1908 end = gettimeofday_us()
1909 start = send_running["winbindd_getdcname_send"]
1910 delete send_running["winbindd_getdcname_send"]
1912 start_time["winbindd_getdcname_send", $return] = start
1913 idle_time["winbindd_getdcname_send", $return] = end
1916 probe process("winbindd").function("winbindd_getdcname_recv") {
1917 if (!(["winbindd_getdcname_send", $req] in start_time))
1920 recv_running["winbindd_getdcname_recv"] = gettimeofday_us()
1923 probe process("winbindd").function("winbindd_getdcname_recv").return {
1924 if (!(["winbindd_getdcname_recv"] in recv_running))
1927 recv_end = gettimeofday_us()
1928 recv_start = recv_running["winbindd_getdcname_recv"]
1929 delete recv_running["winbindd_getdcname_recv"]
1930 recv_runtime = recv_end - recv_start
1934 send_begin = start_time["winbindd_getdcname_send", req]
1935 delete start_time["winbindd_getdcname_send", req]
1936 svctime = recv_end - send_begin
1938 idle = idle_time["winbindd_getdcname_send", req]
1939 delete idle_time["winbindd_getdcname_send", req]
1940 runtime = (idle - send_begin) + recv_runtime
1942 async_svctime["winbindd_getdcname_send"] <<< svctime
1943 async_runtime["winbindd_getdcname_send"] <<< runtime
1947 # winbind async function winbindd_setgrent
1950 probe process("winbindd").function("winbindd_setgrent_send") {
1951 send_running["winbindd_setgrent_send"] = gettimeofday_us()
1954 probe process("winbindd").function("winbindd_setgrent_send").return {
1955 if (!(["winbindd_setgrent_send"] in send_running))
1958 end = gettimeofday_us()
1959 start = send_running["winbindd_setgrent_send"]
1960 delete send_running["winbindd_setgrent_send"]
1962 start_time["winbindd_setgrent_send", $return] = start
1963 idle_time["winbindd_setgrent_send", $return] = end
1966 probe process("winbindd").function("winbindd_setgrent_recv") {
1967 if (!(["winbindd_setgrent_send", $req] in start_time))
1970 recv_running["winbindd_setgrent_recv"] = gettimeofday_us()
1973 probe process("winbindd").function("winbindd_setgrent_recv").return {
1974 if (!(["winbindd_setgrent_recv"] in recv_running))
1977 recv_end = gettimeofday_us()
1978 recv_start = recv_running["winbindd_setgrent_recv"]
1979 delete recv_running["winbindd_setgrent_recv"]
1980 recv_runtime = recv_end - recv_start
1984 send_begin = start_time["winbindd_setgrent_send", req]
1985 delete start_time["winbindd_setgrent_send", req]
1986 svctime = recv_end - send_begin
1988 idle = idle_time["winbindd_setgrent_send", req]
1989 delete idle_time["winbindd_setgrent_send", req]
1990 runtime = (idle - send_begin) + recv_runtime
1992 async_svctime["winbindd_setgrent_send"] <<< svctime
1993 async_runtime["winbindd_setgrent_send"] <<< runtime
1997 # winbind async function winbindd_getgrent
2000 probe process("winbindd").function("winbindd_getgrent_send") {
2001 send_running["winbindd_getgrent_send"] = gettimeofday_us()
2004 probe process("winbindd").function("winbindd_getgrent_send").return {
2005 if (!(["winbindd_getgrent_send"] in send_running))
2008 end = gettimeofday_us()
2009 start = send_running["winbindd_getgrent_send"]
2010 delete send_running["winbindd_getgrent_send"]
2012 start_time["winbindd_getgrent_send", $return] = start
2013 idle_time["winbindd_getgrent_send", $return] = end
2016 probe process("winbindd").function("winbindd_getgrent_recv") {
2017 if (!(["winbindd_getgrent_send", $req] in start_time))
2020 recv_running["winbindd_getgrent_recv"] = gettimeofday_us()
2023 probe process("winbindd").function("winbindd_getgrent_recv").return {
2024 if (!(["winbindd_getgrent_recv"] in recv_running))
2027 recv_end = gettimeofday_us()
2028 recv_start = recv_running["winbindd_getgrent_recv"]
2029 delete recv_running["winbindd_getgrent_recv"]
2030 recv_runtime = recv_end - recv_start
2034 send_begin = start_time["winbindd_getgrent_send", req]
2035 delete start_time["winbindd_getgrent_send", req]
2036 svctime = recv_end - send_begin
2038 idle = idle_time["winbindd_getgrent_send", req]
2039 delete idle_time["winbindd_getgrent_send", req]
2040 runtime = (idle - send_begin) + recv_runtime
2042 async_svctime["winbindd_getgrent_send"] <<< svctime
2043 async_runtime["winbindd_getgrent_send"] <<< runtime
2047 # winbind async function winbindd_endgrent
2050 probe process("winbindd").function("winbindd_endgrent_send") {
2051 send_running["winbindd_endgrent_send"] = gettimeofday_us()
2054 probe process("winbindd").function("winbindd_endgrent_send").return {
2055 if (!(["winbindd_endgrent_send"] in send_running))
2058 end = gettimeofday_us()
2059 start = send_running["winbindd_endgrent_send"]
2060 delete send_running["winbindd_endgrent_send"]
2062 start_time["winbindd_endgrent_send", $return] = start
2063 idle_time["winbindd_endgrent_send", $return] = end
2066 probe process("winbindd").function("winbindd_endgrent_recv") {
2067 if (!(["winbindd_endgrent_send", $req] in start_time))
2070 recv_running["winbindd_endgrent_recv"] = gettimeofday_us()
2073 probe process("winbindd").function("winbindd_endgrent_recv").return {
2074 if (!(["winbindd_endgrent_recv"] in recv_running))
2077 recv_end = gettimeofday_us()
2078 recv_start = recv_running["winbindd_endgrent_recv"]
2079 delete recv_running["winbindd_endgrent_recv"]
2080 recv_runtime = recv_end - recv_start
2084 send_begin = start_time["winbindd_endgrent_send", req]
2085 delete start_time["winbindd_endgrent_send", req]
2086 svctime = recv_end - send_begin
2088 idle = idle_time["winbindd_endgrent_send", req]
2089 delete idle_time["winbindd_endgrent_send", req]
2090 runtime = (idle - send_begin) + recv_runtime
2092 async_svctime["winbindd_endgrent_send"] <<< svctime
2093 async_runtime["winbindd_endgrent_send"] <<< runtime
2097 # winbind async function winbindd_list_users
2100 probe process("winbindd").function("winbindd_list_users_send") {
2101 send_running["winbindd_list_users_send"] = gettimeofday_us()
2104 probe process("winbindd").function("winbindd_list_users_send").return {
2105 if (!(["winbindd_list_users_send"] in send_running))
2108 end = gettimeofday_us()
2109 start = send_running["winbindd_list_users_send"]
2110 delete send_running["winbindd_list_users_send"]
2112 start_time["winbindd_list_users_send", $return] = start
2113 idle_time["winbindd_list_users_send", $return] = end
2116 probe process("winbindd").function("winbindd_list_users_recv") {
2117 if (!(["winbindd_list_users_send", $req] in start_time))
2120 recv_running["winbindd_list_users_recv"] = gettimeofday_us()
2123 probe process("winbindd").function("winbindd_list_users_recv").return {
2124 if (!(["winbindd_list_users_recv"] in recv_running))
2127 recv_end = gettimeofday_us()
2128 recv_start = recv_running["winbindd_list_users_recv"]
2129 delete recv_running["winbindd_list_users_recv"]
2130 recv_runtime = recv_end - recv_start
2134 send_begin = start_time["winbindd_list_users_send", req]
2135 delete start_time["winbindd_list_users_send", req]
2136 svctime = recv_end - send_begin
2138 idle = idle_time["winbindd_list_users_send", req]
2139 delete idle_time["winbindd_list_users_send", req]
2140 runtime = (idle - send_begin) + recv_runtime
2142 async_svctime["winbindd_list_users_send"] <<< svctime
2143 async_runtime["winbindd_list_users_send"] <<< runtime
2147 # winbind async function winbindd_list_groups
2150 probe process("winbindd").function("winbindd_list_groups_send") {
2151 send_running["winbindd_list_groups_send"] = gettimeofday_us()
2154 probe process("winbindd").function("winbindd_list_groups_send").return {
2155 if (!(["winbindd_list_groups_send"] in send_running))
2158 end = gettimeofday_us()
2159 start = send_running["winbindd_list_groups_send"]
2160 delete send_running["winbindd_list_groups_send"]
2162 start_time["winbindd_list_groups_send", $return] = start
2163 idle_time["winbindd_list_groups_send", $return] = end
2166 probe process("winbindd").function("winbindd_list_groups_recv") {
2167 if (!(["winbindd_list_groups_send", $req] in start_time))
2170 recv_running["winbindd_list_groups_recv"] = gettimeofday_us()
2173 probe process("winbindd").function("winbindd_list_groups_recv").return {
2174 if (!(["winbindd_list_groups_recv"] in recv_running))
2177 recv_end = gettimeofday_us()
2178 recv_start = recv_running["winbindd_list_groups_recv"]
2179 delete recv_running["winbindd_list_groups_recv"]
2180 recv_runtime = recv_end - recv_start
2184 send_begin = start_time["winbindd_list_groups_send", req]
2185 delete start_time["winbindd_list_groups_send", req]
2186 svctime = recv_end - send_begin
2188 idle = idle_time["winbindd_list_groups_send", req]
2189 delete idle_time["winbindd_list_groups_send", req]
2190 runtime = (idle - send_begin) + recv_runtime
2192 async_svctime["winbindd_list_groups_send"] <<< svctime
2193 async_runtime["winbindd_list_groups_send"] <<< runtime
2197 # winbind async function winbindd_check_machine_acct
2200 probe process("winbindd").function("winbindd_check_machine_acct_send") {
2201 send_running["winbindd_check_machine_acct_send"] = gettimeofday_us()
2204 probe process("winbindd").function("winbindd_check_machine_acct_send").return {
2205 if (!(["winbindd_check_machine_acct_send"] in send_running))
2208 end = gettimeofday_us()
2209 start = send_running["winbindd_check_machine_acct_send"]
2210 delete send_running["winbindd_check_machine_acct_send"]
2212 start_time["winbindd_check_machine_acct_send", $return] = start
2213 idle_time["winbindd_check_machine_acct_send", $return] = end
2216 probe process("winbindd").function("winbindd_check_machine_acct_recv") {
2217 if (!(["winbindd_check_machine_acct_send", $req] in start_time))
2220 recv_running["winbindd_check_machine_acct_recv"] = gettimeofday_us()
2223 probe process("winbindd").function("winbindd_check_machine_acct_recv").return {
2224 if (!(["winbindd_check_machine_acct_recv"] in recv_running))
2227 recv_end = gettimeofday_us()
2228 recv_start = recv_running["winbindd_check_machine_acct_recv"]
2229 delete recv_running["winbindd_check_machine_acct_recv"]
2230 recv_runtime = recv_end - recv_start
2234 send_begin = start_time["winbindd_check_machine_acct_send", req]
2235 delete start_time["winbindd_check_machine_acct_send", req]
2236 svctime = recv_end - send_begin
2238 idle = idle_time["winbindd_check_machine_acct_send", req]
2239 delete idle_time["winbindd_check_machine_acct_send", req]
2240 runtime = (idle - send_begin) + recv_runtime
2242 async_svctime["winbindd_check_machine_acct_send"] <<< svctime
2243 async_runtime["winbindd_check_machine_acct_send"] <<< runtime
2247 # winbind async function winbindd_ping_dc
2250 probe process("winbindd").function("winbindd_ping_dc_send") {
2251 send_running["winbindd_ping_dc_send"] = gettimeofday_us()
2254 probe process("winbindd").function("winbindd_ping_dc_send").return {
2255 if (!(["winbindd_ping_dc_send"] in send_running))
2258 end = gettimeofday_us()
2259 start = send_running["winbindd_ping_dc_send"]
2260 delete send_running["winbindd_ping_dc_send"]
2262 start_time["winbindd_ping_dc_send", $return] = start
2263 idle_time["winbindd_ping_dc_send", $return] = end
2266 probe process("winbindd").function("winbindd_ping_dc_recv") {
2267 if (!(["winbindd_ping_dc_send", $req] in start_time))
2270 recv_running["winbindd_ping_dc_recv"] = gettimeofday_us()
2273 probe process("winbindd").function("winbindd_ping_dc_recv").return {
2274 if (!(["winbindd_ping_dc_recv"] in recv_running))
2277 recv_end = gettimeofday_us()
2278 recv_start = recv_running["winbindd_ping_dc_recv"]
2279 delete recv_running["winbindd_ping_dc_recv"]
2280 recv_runtime = recv_end - recv_start
2284 send_begin = start_time["winbindd_ping_dc_send", req]
2285 delete start_time["winbindd_ping_dc_send", req]
2286 svctime = recv_end - send_begin
2288 idle = idle_time["winbindd_ping_dc_send", req]
2289 delete idle_time["winbindd_ping_dc_send", req]
2290 runtime = (idle - send_begin) + recv_runtime
2292 async_svctime["winbindd_ping_dc_send"] <<< svctime
2293 async_runtime["winbindd_ping_dc_send"] <<< runtime
2297 # winbind async function winbindd_pam_auth
2300 probe process("winbindd").function("winbindd_pam_auth_send") {
2301 send_running["winbindd_pam_auth_send"] = gettimeofday_us()
2304 probe process("winbindd").function("winbindd_pam_auth_send").return {
2305 if (!(["winbindd_pam_auth_send"] in send_running))
2308 end = gettimeofday_us()
2309 start = send_running["winbindd_pam_auth_send"]
2310 delete send_running["winbindd_pam_auth_send"]
2312 start_time["winbindd_pam_auth_send", $return] = start
2313 idle_time["winbindd_pam_auth_send", $return] = end
2316 probe process("winbindd").function("winbindd_pam_auth_recv") {
2317 if (!(["winbindd_pam_auth_send", $req] in start_time))
2320 recv_running["winbindd_pam_auth_recv"] = gettimeofday_us()
2323 probe process("winbindd").function("winbindd_pam_auth_recv").return {
2324 if (!(["winbindd_pam_auth_recv"] in recv_running))
2327 recv_end = gettimeofday_us()
2328 recv_start = recv_running["winbindd_pam_auth_recv"]
2329 delete recv_running["winbindd_pam_auth_recv"]
2330 recv_runtime = recv_end - recv_start
2334 send_begin = start_time["winbindd_pam_auth_send", req]
2335 delete start_time["winbindd_pam_auth_send", req]
2336 svctime = recv_end - send_begin
2338 idle = idle_time["winbindd_pam_auth_send", req]
2339 delete idle_time["winbindd_pam_auth_send", req]
2340 runtime = (idle - send_begin) + recv_runtime
2342 async_svctime["winbindd_pam_auth_send"] <<< svctime
2343 async_runtime["winbindd_pam_auth_send"] <<< runtime
2347 # winbind async function winbindd_pam_logoff
2350 probe process("winbindd").function("winbindd_pam_logoff_send") {
2351 send_running["winbindd_pam_logoff_send"] = gettimeofday_us()
2354 probe process("winbindd").function("winbindd_pam_logoff_send").return {
2355 if (!(["winbindd_pam_logoff_send"] in send_running))
2358 end = gettimeofday_us()
2359 start = send_running["winbindd_pam_logoff_send"]
2360 delete send_running["winbindd_pam_logoff_send"]
2362 start_time["winbindd_pam_logoff_send", $return] = start
2363 idle_time["winbindd_pam_logoff_send", $return] = end
2366 probe process("winbindd").function("winbindd_pam_logoff_recv") {
2367 if (!(["winbindd_pam_logoff_send", $req] in start_time))
2370 recv_running["winbindd_pam_logoff_recv"] = gettimeofday_us()
2373 probe process("winbindd").function("winbindd_pam_logoff_recv").return {
2374 if (!(["winbindd_pam_logoff_recv"] in recv_running))
2377 recv_end = gettimeofday_us()
2378 recv_start = recv_running["winbindd_pam_logoff_recv"]
2379 delete recv_running["winbindd_pam_logoff_recv"]
2380 recv_runtime = recv_end - recv_start
2384 send_begin = start_time["winbindd_pam_logoff_send", req]
2385 delete start_time["winbindd_pam_logoff_send", req]
2386 svctime = recv_end - send_begin
2388 idle = idle_time["winbindd_pam_logoff_send", req]
2389 delete idle_time["winbindd_pam_logoff_send", req]
2390 runtime = (idle - send_begin) + recv_runtime
2392 async_svctime["winbindd_pam_logoff_send"] <<< svctime
2393 async_runtime["winbindd_pam_logoff_send"] <<< runtime
2397 # winbind async function winbindd_pam_chauthtok
2400 probe process("winbindd").function("winbindd_pam_chauthtok_send") {
2401 send_running["winbindd_pam_chauthtok_send"] = gettimeofday_us()
2404 probe process("winbindd").function("winbindd_pam_chauthtok_send").return {
2405 if (!(["winbindd_pam_chauthtok_send"] in send_running))
2408 end = gettimeofday_us()
2409 start = send_running["winbindd_pam_chauthtok_send"]
2410 delete send_running["winbindd_pam_chauthtok_send"]
2412 start_time["winbindd_pam_chauthtok_send", $return] = start
2413 idle_time["winbindd_pam_chauthtok_send", $return] = end
2416 probe process("winbindd").function("winbindd_pam_chauthtok_recv") {
2417 if (!(["winbindd_pam_chauthtok_send", $req] in start_time))
2420 recv_running["winbindd_pam_chauthtok_recv"] = gettimeofday_us()
2423 probe process("winbindd").function("winbindd_pam_chauthtok_recv").return {
2424 if (!(["winbindd_pam_chauthtok_recv"] in recv_running))
2427 recv_end = gettimeofday_us()
2428 recv_start = recv_running["winbindd_pam_chauthtok_recv"]
2429 delete recv_running["winbindd_pam_chauthtok_recv"]
2430 recv_runtime = recv_end - recv_start
2434 send_begin = start_time["winbindd_pam_chauthtok_send", req]
2435 delete start_time["winbindd_pam_chauthtok_send", req]
2436 svctime = recv_end - send_begin
2438 idle = idle_time["winbindd_pam_chauthtok_send", req]
2439 delete idle_time["winbindd_pam_chauthtok_send", req]
2440 runtime = (idle - send_begin) + recv_runtime
2442 async_svctime["winbindd_pam_chauthtok_send"] <<< svctime
2443 async_runtime["winbindd_pam_chauthtok_send"] <<< runtime
2447 # winbind async function winbindd_pam_chng_pswd_auth_crap
2450 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_send") {
2451 send_running["winbindd_pam_chng_pswd_auth_crap_send"] = gettimeofday_us()
2454 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_send").return {
2455 if (!(["winbindd_pam_chng_pswd_auth_crap_send"] in send_running))
2458 end = gettimeofday_us()
2459 start = send_running["winbindd_pam_chng_pswd_auth_crap_send"]
2460 delete send_running["winbindd_pam_chng_pswd_auth_crap_send"]
2462 start_time["winbindd_pam_chng_pswd_auth_crap_send", $return] = start
2463 idle_time["winbindd_pam_chng_pswd_auth_crap_send", $return] = end
2466 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_recv") {
2467 if (!(["winbindd_pam_chng_pswd_auth_crap_send", $req] in start_time))
2470 recv_running["winbindd_pam_chng_pswd_auth_crap_recv"] = gettimeofday_us()
2473 probe process("winbindd").function("winbindd_pam_chng_pswd_auth_crap_recv").return {
2474 if (!(["winbindd_pam_chng_pswd_auth_crap_recv"] in recv_running))
2477 recv_end = gettimeofday_us()
2478 recv_start = recv_running["winbindd_pam_chng_pswd_auth_crap_recv"]
2479 delete recv_running["winbindd_pam_chng_pswd_auth_crap_recv"]
2480 recv_runtime = recv_end - recv_start
2484 send_begin = start_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2485 delete start_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2486 svctime = recv_end - send_begin
2488 idle = idle_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2489 delete idle_time["winbindd_pam_chng_pswd_auth_crap_send", req]
2490 runtime = (idle - send_begin) + recv_runtime
2492 async_svctime["winbindd_pam_chng_pswd_auth_crap_send"] <<< svctime
2493 async_runtime["winbindd_pam_chng_pswd_auth_crap_send"] <<< runtime
2497 # winbind async function winbindd_wins_byip
2500 probe process("winbindd").function("winbindd_wins_byip_send") {
2501 send_running["winbindd_wins_byip_send"] = gettimeofday_us()
2504 probe process("winbindd").function("winbindd_wins_byip_send").return {
2505 if (!(["winbindd_wins_byip_send"] in send_running))
2508 end = gettimeofday_us()
2509 start = send_running["winbindd_wins_byip_send"]
2510 delete send_running["winbindd_wins_byip_send"]
2512 start_time["winbindd_wins_byip_send", $return] = start
2513 idle_time["winbindd_wins_byip_send", $return] = end
2516 probe process("winbindd").function("winbindd_wins_byip_recv") {
2517 if (!(["winbindd_wins_byip_send", $req] in start_time))
2520 recv_running["winbindd_wins_byip_recv"] = gettimeofday_us()
2523 probe process("winbindd").function("winbindd_wins_byip_recv").return {
2524 if (!(["winbindd_wins_byip_recv"] in recv_running))
2527 recv_end = gettimeofday_us()
2528 recv_start = recv_running["winbindd_wins_byip_recv"]
2529 delete recv_running["winbindd_wins_byip_recv"]
2530 recv_runtime = recv_end - recv_start
2534 send_begin = start_time["winbindd_wins_byip_send", req]
2535 delete start_time["winbindd_wins_byip_send", req]
2536 svctime = recv_end - send_begin
2538 idle = idle_time["winbindd_wins_byip_send", req]
2539 delete idle_time["winbindd_wins_byip_send", req]
2540 runtime = (idle - send_begin) + recv_runtime
2542 async_svctime["winbindd_wins_byip_send"] <<< svctime
2543 async_runtime["winbindd_wins_byip_send"] <<< runtime
2547 # winbind async function winbindd_wins_byname
2550 probe process("winbindd").function("winbindd_wins_byname_send") {
2551 send_running["winbindd_wins_byname_send"] = gettimeofday_us()
2554 probe process("winbindd").function("winbindd_wins_byname_send").return {
2555 if (!(["winbindd_wins_byname_send"] in send_running))
2558 end = gettimeofday_us()
2559 start = send_running["winbindd_wins_byname_send"]
2560 delete send_running["winbindd_wins_byname_send"]
2562 start_time["winbindd_wins_byname_send", $return] = start
2563 idle_time["winbindd_wins_byname_send", $return] = end
2566 probe process("winbindd").function("winbindd_wins_byname_recv") {
2567 if (!(["winbindd_wins_byname_send", $req] in start_time))
2570 recv_running["winbindd_wins_byname_recv"] = gettimeofday_us()
2573 probe process("winbindd").function("winbindd_wins_byname_recv").return {
2574 if (!(["winbindd_wins_byname_recv"] in recv_running))
2577 recv_end = gettimeofday_us()
2578 recv_start = recv_running["winbindd_wins_byname_recv"]
2579 delete recv_running["winbindd_wins_byname_recv"]
2580 recv_runtime = recv_end - recv_start
2584 send_begin = start_time["winbindd_wins_byname_send", req]
2585 delete start_time["winbindd_wins_byname_send", req]
2586 svctime = recv_end - send_begin
2588 idle = idle_time["winbindd_wins_byname_send", req]
2589 delete idle_time["winbindd_wins_byname_send", req]
2590 runtime = (idle - send_begin) + recv_runtime
2592 async_svctime["winbindd_wins_byname_send"] <<< svctime
2593 async_runtime["winbindd_wins_byname_send"] <<< runtime
2597 # winbind async function winbindd_allocate_uid
2600 probe process("winbindd").function("winbindd_allocate_uid_send") {
2601 send_running["winbindd_allocate_uid_send"] = gettimeofday_us()
2604 probe process("winbindd").function("winbindd_allocate_uid_send").return {
2605 if (!(["winbindd_allocate_uid_send"] in send_running))
2608 end = gettimeofday_us()
2609 start = send_running["winbindd_allocate_uid_send"]
2610 delete send_running["winbindd_allocate_uid_send"]
2612 start_time["winbindd_allocate_uid_send", $return] = start
2613 idle_time["winbindd_allocate_uid_send", $return] = end
2616 probe process("winbindd").function("winbindd_allocate_uid_recv") {
2617 if (!(["winbindd_allocate_uid_send", $req] in start_time))
2620 recv_running["winbindd_allocate_uid_recv"] = gettimeofday_us()
2623 probe process("winbindd").function("winbindd_allocate_uid_recv").return {
2624 if (!(["winbindd_allocate_uid_recv"] in recv_running))
2627 recv_end = gettimeofday_us()
2628 recv_start = recv_running["winbindd_allocate_uid_recv"]
2629 delete recv_running["winbindd_allocate_uid_recv"]
2630 recv_runtime = recv_end - recv_start
2634 send_begin = start_time["winbindd_allocate_uid_send", req]
2635 delete start_time["winbindd_allocate_uid_send", req]
2636 svctime = recv_end - send_begin
2638 idle = idle_time["winbindd_allocate_uid_send", req]
2639 delete idle_time["winbindd_allocate_uid_send", req]
2640 runtime = (idle - send_begin) + recv_runtime
2642 async_svctime["winbindd_allocate_uid_send"] <<< svctime
2643 async_runtime["winbindd_allocate_uid_send"] <<< runtime
2647 # winbind async function winbindd_allocate_gid
2650 probe process("winbindd").function("winbindd_allocate_gid_send") {
2651 send_running["winbindd_allocate_gid_send"] = gettimeofday_us()
2654 probe process("winbindd").function("winbindd_allocate_gid_send").return {
2655 if (!(["winbindd_allocate_gid_send"] in send_running))
2658 end = gettimeofday_us()
2659 start = send_running["winbindd_allocate_gid_send"]
2660 delete send_running["winbindd_allocate_gid_send"]
2662 start_time["winbindd_allocate_gid_send", $return] = start
2663 idle_time["winbindd_allocate_gid_send", $return] = end
2666 probe process("winbindd").function("winbindd_allocate_gid_recv") {
2667 if (!(["winbindd_allocate_gid_send", $req] in start_time))
2670 recv_running["winbindd_allocate_gid_recv"] = gettimeofday_us()
2673 probe process("winbindd").function("winbindd_allocate_gid_recv").return {
2674 if (!(["winbindd_allocate_gid_recv"] in recv_running))
2677 recv_end = gettimeofday_us()
2678 recv_start = recv_running["winbindd_allocate_gid_recv"]
2679 delete recv_running["winbindd_allocate_gid_recv"]
2680 recv_runtime = recv_end - recv_start
2684 send_begin = start_time["winbindd_allocate_gid_send", req]
2685 delete start_time["winbindd_allocate_gid_send", req]
2686 svctime = recv_end - send_begin
2688 idle = idle_time["winbindd_allocate_gid_send", req]
2689 delete idle_time["winbindd_allocate_gid_send", req]
2690 runtime = (idle - send_begin) + recv_runtime
2692 async_svctime["winbindd_allocate_gid_send"] <<< svctime
2693 async_runtime["winbindd_allocate_gid_send"] <<< runtime
2697 # winbind async function winbindd_change_machine_acct
2700 probe process("winbindd").function("winbindd_change_machine_acct_send") {
2701 send_running["winbindd_change_machine_acct_send"] = gettimeofday_us()
2704 probe process("winbindd").function("winbindd_change_machine_acct_send").return {
2705 if (!(["winbindd_change_machine_acct_send"] in send_running))
2708 end = gettimeofday_us()
2709 start = send_running["winbindd_change_machine_acct_send"]
2710 delete send_running["winbindd_change_machine_acct_send"]
2712 start_time["winbindd_change_machine_acct_send", $return] = start
2713 idle_time["winbindd_change_machine_acct_send", $return] = end
2716 probe process("winbindd").function("winbindd_change_machine_acct_recv") {
2717 if (!(["winbindd_change_machine_acct_send", $req] in start_time))
2720 recv_running["winbindd_change_machine_acct_recv"] = gettimeofday_us()
2723 probe process("winbindd").function("winbindd_change_machine_acct_recv").return {
2724 if (!(["winbindd_change_machine_acct_recv"] in recv_running))
2727 recv_end = gettimeofday_us()
2728 recv_start = recv_running["winbindd_change_machine_acct_recv"]
2729 delete recv_running["winbindd_change_machine_acct_recv"]
2730 recv_runtime = recv_end - recv_start
2734 send_begin = start_time["winbindd_change_machine_acct_send", req]
2735 delete start_time["winbindd_change_machine_acct_send", req]
2736 svctime = recv_end - send_begin
2738 idle = idle_time["winbindd_change_machine_acct_send", req]
2739 delete idle_time["winbindd_change_machine_acct_send", req]
2740 runtime = (idle - send_begin) + recv_runtime
2742 async_svctime["winbindd_change_machine_acct_send"] <<< svctime
2743 async_runtime["winbindd_change_machine_acct_send"] <<< runtime
2747 # winbind async function winbindd_pam_auth_crap
2750 probe process("winbindd").function("winbindd_pam_auth_crap_send") {
2751 send_running["winbindd_pam_auth_crap_send"] = gettimeofday_us()
2754 probe process("winbindd").function("winbindd_pam_auth_crap_send").return {
2755 if (!(["winbindd_pam_auth_crap_send"] in send_running))
2758 end = gettimeofday_us()
2759 start = send_running["winbindd_pam_auth_crap_send"]
2760 delete send_running["winbindd_pam_auth_crap_send"]
2762 start_time["winbindd_pam_auth_crap_send", $return] = start
2763 idle_time["winbindd_pam_auth_crap_send", $return] = end
2766 probe process("winbindd").function("winbindd_pam_auth_crap_recv") {
2767 if (!(["winbindd_pam_auth_crap_send", $req] in start_time))
2770 recv_running["winbindd_pam_auth_crap_recv"] = gettimeofday_us()
2773 probe process("winbindd").function("winbindd_pam_auth_crap_recv").return {
2774 if (!(["winbindd_pam_auth_crap_recv"] in recv_running))
2777 recv_end = gettimeofday_us()
2778 recv_start = recv_running["winbindd_pam_auth_crap_recv"]
2779 delete recv_running["winbindd_pam_auth_crap_recv"]
2780 recv_runtime = recv_end - recv_start
2784 send_begin = start_time["winbindd_pam_auth_crap_send", req]
2785 delete start_time["winbindd_pam_auth_crap_send", req]
2786 svctime = recv_end - send_begin
2788 idle = idle_time["winbindd_pam_auth_crap_send", req]
2789 delete idle_time["winbindd_pam_auth_crap_send", req]
2790 runtime = (idle - send_begin) + recv_runtime
2792 async_svctime["winbindd_pam_auth_crap_send"] <<< svctime
2793 async_runtime["winbindd_pam_auth_crap_send"] <<< runtime
2799 printf("Winbind request service time\n")
2800 printf("============================\n")
2801 foreach ([name] in async_svctime) {
2802 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2804 @count(async_svctime[name]),
2805 @sum(async_svctime[name]) / 1000,
2806 @min(async_svctime[name]),
2807 @avg(async_svctime[name]),
2808 @max(async_svctime[name]))
2812 printf("Winbind request runtime\n")
2813 printf("=======================\n")
2814 foreach ([name] in async_runtime) {
2815 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2817 @count(async_runtime[name]),
2818 @sum(async_runtime[name]) / 1000,
2819 @min(async_runtime[name]),
2820 @avg(async_runtime[name]),
2821 @max(async_runtime[name]))
2825 printf("Winbind domain-child request service time\n")
2826 printf("=========================================\n")
2827 foreach ([name] in dc_svctime) {
2828 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2830 @count(dc_svctime[name]),
2831 @sum(dc_svctime[name]) / 1000,
2832 @min(dc_svctime[name]),
2833 @avg(dc_svctime[name]),
2834 @max(dc_svctime[name]))
2838 printf("Winbind domain-child AD-backend service time\n")
2839 printf("============================================\n")
2840 foreach ([name] in backend_svctime) {
2841 printf("%-40s count: %5d, sum: %6d ms (min: %6d us, avg: %6d us, max: %6d us)\n",
2843 @count(backend_svctime[name]),
2844 @sum(backend_svctime[name]) / 1000,
2845 @min(backend_svctime[name]),
2846 @avg(backend_svctime[name]),
2847 @max(backend_svctime[name]))
2851 printf("Winbind request service time distributions (us)\n")
2852 printf("===============================================\n")
2853 foreach ([name] in async_svctime) {
2854 printf("%s:\n", name);
2855 println(@hist_log(async_svctime[name]))
2859 printf("Winbind request runtime distributions (us)\n")
2860 printf("==========================================\n")
2861 foreach ([name] in async_runtime) {
2862 printf("%s:\n", name);
2863 println(@hist_log(async_runtime[name]))
2866 printf("Winbind domain-child request service time distributions (us)\n")
2867 printf("============================================================\n")
2868 foreach ([name] in dc_svctime) {
2869 printf("%s:\n", name);
2870 println(@hist_log(dc_svctime[name]))
2873 printf("Winbind domain-child AD-backend service time distributions (us)\n")
2874 printf("===============================================================\n")
2875 foreach ([name] in backend_svctime) {
2876 printf("%s:\n", name);
2877 println(@hist_log(backend_svctime[name]))