Skip to content

Instantly share code, notes, and snippets.

@methodmissing
Created June 14, 2009 17:31
Show Gist options
  • Select an option

  • Save methodmissing/129756 to your computer and use it in GitHub Desktop.

Select an option

Save methodmissing/129756 to your computer and use it in GitHub Desktop.
Sampling process 3522 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling ruby (pid 3522) every 1 millisecond
Call graph:
2185 Thread_2507
2185 start
2185 main
2185 ruby_run_node
2185 ruby_exec_node
2185 rb_iseq_eval_main
2185 vm_exec
2185 vm_exec_core
2185 vm_call_method
2185 t_run_machine_without_threads(unsigned long)
2185 evma_run_machine
2185 EventMachine_t::Run()
2185 EventMachine_t::_RunTimers()
2185 event_callback_wrapper(char const*, int, char const*, int)
2185 event_callback(em_event*)
2185 rb_funcall
2185 vm_call0
2185 call_cfunc
2185 proc_call
2185 rb_vm_invoke_proc
2185 vm_exec
2185 vm_exec_core
2185 vm_call_method
2185 t_invoke_popen(unsigned long, unsigned long)
2185 evma_popen
2185 EventMachine_t::Socketpair(char* const*)
2185 __cxa_throw
2185 std::terminate()
2185 __gxx_personality_v0
2185 0x970c4005
2185 abort
2185 raise
2185 __kill
2185 __kill
2185 Thread_2603
2185 thread_start
2185 _pthread_start
2185 thread_timer
2185 pthread_cond_timedwait$UNIX2003
2185 __semwait_signal
2185 __semwait_signal
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
__kill 2185
__semwait_signal 2185
Sample analysis of process 3522 written to file /dev/stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment