Ticket #123: ColloquySample.txt

File ColloquySample.txt, 14.1 KB (added by nightstalker, 7 years ago)

Sample

Line 
1Analysis of sampling pid 5202 every 10.000000 milliseconds
2Call graph:
3    89 Thread_110b
4      89 _dyld_start
5        89 _start
6          89 main
7            89 NSApplicationMain
8              89 -[NSApplication run]
9                89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
10                  89 _DPSNextEvent
11                    89 BlockUntilNextEventMatchingListInMode
12                      89 ReceiveNextEventCommon
13                        89 RunCurrentEventLoopInMode
14                          89 CFRunLoopRunSpecific
15                            89 __CFRunLoopRun
16                              89 __CFRunLoopDoSources0
17                                89 __CFRunLoopPerformPerform
18                                  89 __NSFireMainThreadPerform
19                                    89 -[MVIRCChatConnection(MVIRCChatConnectionPrivate) _didConnect]
20                                      89 -[MVChatConnection(MVChatConnectionPrivate) _didConnect]
21                                        89 -[NSNotificationCenter postNotificationName:object:userInfo:]
22                                          89 _CFXNotificationPostNotification
23                                            89 __CFXNotificationPost
24                                              89 _nsnote_callback
25                                                89 -[MVConnectionsController(MVConnectionsControllerPrivate) _didConnect:]
26                                                  89 -[MVChatPluginManager makePluginsOfClass:performInvocation:stoppingOnFirstSuccessfulReturn:]
27                                                    89 -[NSInvocation invokeWithTarget:]
28                                                      89 -[NSInvocation invoke]
29                                                        89 objc_msgSendv
30                                                          89 -[JVAppleScriptChatPlugin processUserCommand:withArguments:toConnection:inView:]
31                                                            89 -[JVAppleScriptChatPlugin callScriptHandler:withArguments:forSelector:]
32                                                              89 NSRunCriticalAlertPanel
33                                                                89 _NXDoLocalRunAlertPanel
34                                                                  89 -[NSApplication runModalForWindow:]
35                                                                    89 -[NSApplication _realDoModalLoop:peek:]
36                                                                      89 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
37                                                                        89 _DPSNextEvent
38                                                                          89 BlockUntilNextEventMatchingListInMode
39                                                                            89 ReceiveNextEventCommon
40                                                                              89 RunCurrentEventLoopInMode
41                                                                                89 CFRunLoopRunSpecific
42                                                                                  89 __CFRunLoopRun
43                                                                                    89 __CFRunLoopDoSources0
44                                                                                      89 __CFRunLoopPerformPerform
45                                                                                        89 __NSFireMainThreadPerform
46                                                                                          89 -[MVIRCChatConnection(MVIRCChatConnectionPrivate) _didConnect]
47                                                                                            89 -[MVChatConnection(MVChatConnectionPrivate) _didConnect]
48                                                                                              89 -[NSNotificationCenter postNotificationName:object:userInfo:]
49                                                                                                89 _CFXNotificationPostNotification
50                                                                                                  89 __CFXNotificationPost
51                                                                                                    89 _nsnote_callback
52                                                                                                      89 -[JVChatRoomPanel(JVChatRoomPrivate) _didConnect:]
53                                                                                                        89 -[MVChatConnection sendRawMessageWithFormat:]
54                                                                                                          89 _objc_msgForward
55                                                                                                            89 -[NSObject(NSForwardInvocation) forward::]
56                                                                                                              89 -[NSConnection sendInvocation:]
57                                                                                                                89 -[NSConcretePortCoder sendBeforeTime:sendReplyPort:]
58                                                                                                                  89 -[NSMachPort sendBeforeTime:streamData:components:from:msgid:]
59                                                                                                                    89 +[NSMachPort sendBeforeTime:streamData:components:to:from:msgid:reserved:]
60                                                                                                                      89 mach_msg
61                                                                                                                        89 mach_msg_trap
62                                                                                                                          89 mach_msg_trap
63    89 Thread_1203
64      89 _pthread_body
65        89 forkThreadForFunction
66          89 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
67            89 -[NSRunLoop run]
68              89 -[NSRunLoop runMode:beforeDate:]
69                89 CFRunLoopRunSpecific
70                  89 __CFRunLoopRun
71                    89 mach_msg
72                      89 mach_msg_trap
73                        89 mach_msg_trap
74    89 Thread_1303
75      89 _pthread_body
76        89 _loadRunLoop
77          89 select
78            89 select
79    89 Thread_1403
80      89 _pthread_body
81        89 forkThreadForFunction
82          89 +[NSURLCache _diskCacheSyncLoop:]
83            89 -[NSRunLoop run]
84              89 -[NSRunLoop runMode:beforeDate:]
85                89 CFRunLoopRunSpecific
86                  89 __CFRunLoopRun
87                    89 mach_msg
88                      89 mach_msg_trap
89                        89 mach_msg_trap
90    89 Thread_1503
91      89 _pthread_body
92        89 forkThreadForFunction
93          89 +[MVIRCChatConnection(MVIRCChatConnectionPrivate) _irssiRunLoop]
94            89 -[NSRunLoop runMode:beforeDate:]
95              89 CFRunLoopRunSpecific
96                89 __CFRunLoopRun
97                  89 __CFRunLoopDoTimer
98                    89 irssiRunCallback
99                      89 g_main_iterate
100                        89 g_main_dispatch
101                          89 irssi_io_invoke
102                            89 irc_parse_incoming
103                              89 signal_emit_id
104                                89 signal_emit_real
105                                  89 irc_parse_incoming_line
106                                    89 signal_emit_id
107                                      89 signal_emit_real
108                                        89 irc_server_event
109                                          89 signal_emit
110                                            89 signal_emit_real
111                                              89 event_privmsg
112                                                89 signal_emit
113                                                  89 signal_emit_real
114                                                    89 MVChatSubcodeRequest
115                                                      89 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:]
116                                                        89 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:]
117                                                          89 -[NSConditionLock lock]
118                                                            89 _pthread_cond_wait
119                                                              89 semaphore_wait_signal_trap
120                                                                89 semaphore_wait_signal_trap
121    89 Thread_1603
122      89 _pthread_body
123        89 forkThreadForFunction
124          89 -[NSUIHeartBeat _heartBeatThread:]
125            77 +[NSThread sleepUntilDate:]
126              77 syscall_thread_switch
127                77 syscall_thread_switch
128            6 -[NSWindow(NSWindow_Theme) heartBeat:]
129              5 -[NSButtonCell(NSDefaultButtonIndicatorPrivate) heartBeat:]
130                4 -[NSView _lightWeightRecursiveDisplayInRect:]
131                  3 CFArrayApplyFunction
132                    3 _lightWeightRecursiveDisplayInRect2
133                      3 -[NSView _lightWeightRecursiveDisplayInRect:]
134                        3 CFArrayApplyFunction
135                          2 _lightWeightRecursiveDisplayInRect2
136                            2 -[NSView _lightWeightRecursiveDisplayInRect:]
137                              2 -[NSView _drawRect:clip:]
138                                1 -[NSControl drawRect:]
139                                  1 -[NSButtonCell drawWithFrame:inView:]
140                                    1 _NSDrawMacintoshStyleBezel
141                                      1 DrawMacintoshPushButtonBezel
142                                        1 BlendedHeartBeatButtonImage
143                                          1 -[NSImage compositeToPoint:operation:fraction:]
144                                            1 -[NSImage compositeToPoint:fromRect:operation:fraction:]
145                                              1 -[NSImage _composite:delta:fromRect:toPoint:]
146                                                1 -[NSCGImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:]
147                                                  1 CGContextDrawImage
148                                                    1 ripc_DrawImage
149                                                      1 CGSImageCreateWithReferenceAndZone
150                                                        1 CGSImageCreateWithReferenceAndZone
151                                1 CGSReleaseRegion
152                                  1 rgn_release
153                                    1 rgn_release
154                          1 __CF_FAULT_CALLBACK
155                            1 _dyld_image_containing_address
156                              1 _dyld_image_containing_address
157                                1 _dyld_get_image_header_containing_address
158                                  1 _dyld_get_image_header_containing_address
159                  1 -[NSView _drawRect:clip:]
160                    1 -[NSThemeFrame drawRect:]
161                      1 -[NSFrameView drawRect:]
162                        1 -[NSFrameView drawThemeContentFill:inView:]
163                          1 -[NSFrameView drawWindowBackgroundRect:]
164                            1 NSDrawWindowBackground
165                              1 NSRectFillUsingOperation
166                                1 NSRectFillUsingOperation
167                1 -[NSUIHeartBeat lockFocusForView:inRect:needsTranslation:]
168                  1 -[NSView lockFocus]
169                    1 -[NSView lockFocusIfCanDraw]
170                      1 -[NSView _focusFromView:withContext:]
171                        1 -[NSFocusState flush]
172                          1 -[NSWindow _windowDeviceRound]
173                            1 CGGStateResetClip
174                              1 maybeCopyClipState
175                                1 clipStateCopy
176                                  1 calloc
177                                    1 malloc_zone_calloc
178                                      1 malloc_zone_calloc
179              1 -[NSControl heartBeat:]
180                1 -[NSControl heartBeat:]
181            5 -[NSArray makeObjectsPerformSelector:withObject:]
182              5 -[NSWindow flushWindow]
183                4 ripc_Context
184                  4 CGSDeviceSynchronize
185                    4 _CGSFlushWindowRegion
186                      4 _CGSFlushRegionInline
187                        4 mach_msg
188                          4 mach_msg_trap
189                            4 mach_msg_trap
190                1 -[NSWindow isFlushWindowDisabled]
191                  1 -[NSWindow _threadContext]
192                    1 _runningOnAppKitThread
193                      1 CFRunLoopGetMain
194                        1 CFRunLoopGetMain
195            1 objc_msgSend
196              1 objc_msgSend
197    89 Thread_1703
198      89 _pthread_body
199        89 forkThreadForFunction
200          89 +[WebFileDatabase _syncLoop:]
201            89 -[NSRunLoop run]
202              89 -[NSRunLoop runMode:beforeDate:]
203                89 CFRunLoopRunSpecific
204                  89 __CFRunLoopRun
205                    89 mach_msg
206                      89 mach_msg_trap
207                        89 mach_msg_trap
208    89 Thread_1803
209      89 _pthread_body
210        89 CAPThread::Entry(CAPThread*)
211          89 HALRunLoop::OwnThread(void*)
212            89 CFRunLoopRunSpecific
213              89 __CFRunLoopRun
214                89 mach_msg
215                  89 mach_msg_trap
216                    89 mach_msg_trap
217
218Total number in stack (recursive counted multiple, when >=5):
219        7       CFRunLoopRunSpecific
220        7       __CFRunLoopRun
221        7       _pthread_body
222        6       mach_msg
223        6       mach_msg_trap
224        5       forkThreadForFunction
225
226Sort by top of stack, same collapsed (when >= 5):
227        mach_msg_trap        449
228        select        89
229        semaphore_wait_signal_trap        89
230        syscall_thread_switch        77
231Sample analysis of process 5202 written to file /dev/stdout
232Sampling process 5202 each 10 msecs 100 times