Skip to content

Instantly share code, notes, and snippets.

@liyanage
Created October 7, 2009 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liyanage/203638 to your computer and use it in GitHub Desktop.
Save liyanage/203638 to your computer and use it in GitHub Desktop.
Sampling process 16458 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling MondoMouseTool (pid 16458) every 1 millisecond
Call graph:
2564 Thread_455118 DispatchQueue_1: com.apple.main-thread (serial)
2564 0x2619
2564 0x26f2
2564 NSApplicationMain
2564 -[NSApplication run]
2564 0x163ab
2564 SendEventToEventTarget
2564 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
2564 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
2564 0xf9e2
2564 objc_msgSend
2564 Thread_455121 DispatchQueue_2: com.apple.libdispatch-manager (serial)
2564 start_wqthread
2564 _pthread_wqthread
2564 _dispatch_worker_thread2
2564 _dispatch_queue_invoke
2564 _dispatch_mgr_invoke
2564 kevent
2564 Thread_466663
2564 thread_start
2564 _pthread_start
2564 __NSThread__main__
2564 -[NSThread main]
2564 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
2564 CFRunLoopRunInMode
2564 CFRunLoopRunSpecific
2564 __CFRunLoopRun
2564 mach_msg
2564 mach_msg_trap
2564 Thread_466669
2564 thread_start
2564 _pthread_start
2564 __CFSocketManager
2564 select$DARWIN_EXTSN
2564 Thread_469951
2564 start_wqthread
2564 _pthread_wqthread
2564 __workq_kernreturn
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
__workq_kernreturn 2564
kevent 2564
mach_msg_trap 2564
objc_msgSend 2564
select$DARWIN_EXTSN 2564
Sample analysis of process 16458 written to file /dev/stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment