Skip to content

Instantly share code, notes, and snippets.

@sbahra
Created October 24, 2017 14:37
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 sbahra/4b7331233185c8fd5ba8fbd07d0524f0 to your computer and use it in GitHub Desktop.
Save sbahra/4b7331233185c8fd5ba8fbd07d0524f0 to your computer and use it in GitHub Desktop.
sbahra@skylake:~/projects/quickstack$ /usr/bin/time /opt/backtrace/bin/bt `pgrep gedit` --no-variables 2>&1|tail
[ 0] libc-2.23.so __GI_poll (../sysdeps/unix/syscall-template.S:84)
[ 1] libglib-2.0.so.0.4800.2 0x7f2216d0f38c
[ 2] libglib-2.0.so.0.4800.2 g_main_context_iteration
[ 3] libgio-2.0.so.0.4800.2 g_application_run
[ 4] gedit main
[ 5] libc-2.23.so __libc_start_main
0.01user 0.02system 0:00.03elapsed 92%CPU (0avgtext+0avgdata 36100maxresident)k
0inputs+0outputs (0major+4084minor)pagefaults 0swaps
sbahra@skylake:~/projects/quickstack$ /usr/bin/time quickstack -p `pgrep gedit` 2>&1|tail
Thread 2 (LWP 23439):
#01 0x00007f221963970d in __poll_nocancel () from /build/glibc-bfm8X4/glibc-2.23/io/../sysdeps/unix/syscall-template.S:84
#02 0x00007f221990f6ba in start_thread () from /lib/x86_64-linux-gnu/libpthread-2.23.so
Thread 1 (LWP 23432):
#01 0x00007f221963970d in __poll_nocancel () from /build/glibc-bfm8X4/glibc-2.23/io/../sysdeps/unix/syscall-template.S:84
#02 0x0000000000400cfa in main () from /usr/bin/gedit
0.02user 0.01system 0:01.00elapsed 3%CPU (0avgtext+0avgdata 15492maxresident)k
0inputs+0outputs (0major+2338minor)pagefaults 0swaps
sbahra@skylake:~/projects/quickstack$ /usr/bin/time /opt/backtrace/bin/bt `pgrep chrome|head -1` --no-variables 2>&1|tail
Thread 1902
[ 0] libc-2.23.so __GI_poll (../sysdeps/unix/syscall-template.S:84)
[ 1] libglib-2.0.so.0.4800.2 0x7f6a9dcb438c
[ 2] libglib-2.0.so.0.4800.2 g_main_context_iteration
[ 3] chrome 0x555f6f22c706
0.01user 0.02system 0:00.06elapsed 59%CPU (0avgtext+0avgdata 38856maxresident)k
0inputs+0outputs (0major+4132minor)pagefaults 0swaps
sbahra@skylake:~/projects/quickstack$ /usr/bin/time quickstack -p `pgrep chrome` 2>&1|tail
2017-10-24 10:36:52 571882: Reading process symbols..
2017-10-24 10:36:52 572274: No debug symbols found on /opt/google/chrome/chrome
2017-10-24 10:36:53 571929: Killed by signal 11
0.00user 0.00system 0:06.00elapsed 0%CPU (0avgtext+0avgdata 4348maxresident)k
0inputs+0outputs (0major+400minor)pagefaults 0swaps
sbahra@skylake:~/projects/quickstack$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment