Skip to content

Instantly share code, notes, and snippets.

@uttampawar
Created October 17, 2019 23:48
Show Gist options
  • Save uttampawar/88643a0f532160e1de77d76b07d1ad4a to your computer and use it in GitHub Desktop.
Save uttampawar/88643a0f532160e1de77d76b07d1ad4a to your computer and use it in GitHub Desktop.
$ cat perf.propeller
@a.out.labels
Symbols
1 2b N_start
2 2 N_dl_relocate_static_pie
3 0 Nderegister_tm_clones
4 0 Nregister_tm_clones
5 0 N__do_global_dtors_aux
6 0 Nframe_dummy
7 3d Nmain
8 14 7.1
9 9 7.2
10 20 N_GLOBAL__sub_I_main.cc
11 2f N_Z6calleeb
12 11 11.1
13 f 11.2
14 9 11.3
15 20 N_GLOBAL__sub_I_callee.cc
16 65 N__libc_csu_init
17 2 N__libc_csu_fini
18 0 N_init
19 0 N_fini
Branches
8 8 76472
8 11 77342 C
11 13 77387
14 8 76521 R
Fallthroughs
8 8 150700
11 11 76155
13 14 76228
14 14 75172
!_Z6calleeb
!!2
!!3
!main
!!1
$ nm --numeric-sort a.out
0000000000000000 w _ITM_deregisterTMCloneTable
0000000000000000 w _ITM_registerTMCloneTable
U _ZNSt8ios_base4InitC1Ev
U _ZNSt8ios_base4InitD1Ev
U _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
U __cxa_atexit
0000000000000000 w __gmon_start__
U __libc_start_main
U strtol
0000000000200688 R _IO_stdin_used
0000000000200720 r __FRAME_END__
00000000002018f0 T _start
0000000000201920 t _dl_relocate_static_pie
0000000000201930 t deregister_tm_clones
0000000000201960 t register_tm_clones
00000000002019a0 t __do_global_dtors_aux
00000000002019d0 t frame_dummy
00000000002019e0 T main
00000000002019f8 t a.BB.main
0000000000201a0c t aa.BB.main
0000000000201a20 t _GLOBAL__sub_I_main.cc
0000000000201a40 T _Z6calleeb
0000000000201a46 t a.BB._Z6calleeb
0000000000201a57 t aa.BB._Z6calleeb
0000000000201a66 t aaa.BB._Z6calleeb
0000000000201a70 t _GLOBAL__sub_I_callee.cc
0000000000201a90 T __libc_csu_init
0000000000201b00 T __libc_csu_fini
0000000000201b04 T _init
0000000000201b1c T _fini
0000000000202b90 n __do_global_dtors_aux_fini_array_entry
0000000000202b98 n __frame_dummy_init_array_entry
0000000000202b98 n __init_array_start
0000000000202bb0 d _DYNAMIC
0000000000202bb0 n __init_array_end
0000000000203d70 D __data_start
0000000000203d70 W data_start
0000000000203d78 d __dso_handle
0000000000203d80 d _GLOBAL_OFFSET_TABLE_
0000000000203d80 d __TMC_END__
0000000000203d80 d __TMC_LIST__
0000000000203dc0 b completed.7697
0000000000203dc1 b _ZStL8__ioinit
0000000000203dc2 b _ZStL8__ioinit
0000000000203de0 B _ZSt4cout
$ nm --numeric-sort a.out.labels.original
U __cxa_atexit
w __gmon_start__
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
U __libc_start_main
U strtol
U _ZNSt8ios_base4InitC1Ev
U _ZNSt8ios_base4InitD1Ev
U _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
0000000000200688 R _IO_stdin_used
00000000002006f8 r __FRAME_END__
0000000000201830 T _start
0000000000201860 t _dl_relocate_static_pie
0000000000201870 t deregister_tm_clones
00000000002018a0 t register_tm_clones
00000000002018e0 t __do_global_dtors_aux
0000000000201910 t frame_dummy
0000000000201920 T main
0000000000201940 t a.BB.main
0000000000201954 t aa.BB.main
0000000000201960 t _GLOBAL__sub_I_main.cc
0000000000201980 T _Z6calleeb
0000000000201986 t a.BB._Z6calleeb
0000000000201997 t aa.BB._Z6calleeb
00000000002019a6 t aaa.BB._Z6calleeb
00000000002019b0 t _GLOBAL__sub_I_callee.cc
00000000002019d0 T __libc_csu_init
0000000000201a40 T __libc_csu_fini
0000000000201a44 T _init
0000000000201a5c T _fini
0000000000202ad0 t __do_global_dtors_aux_fini_array_entry
0000000000202ad8 t __frame_dummy_init_array_entry
0000000000202ad8 t __init_array_start
0000000000202af0 d _DYNAMIC
0000000000202af0 t __init_array_end
0000000000203cb0 D __data_start
0000000000203cb0 W data_start
0000000000203cb8 d __dso_handle
0000000000203cc0 d _GLOBAL_OFFSET_TABLE_
0000000000203cc0 d __TMC_END__
0000000000203cc0 d __TMC_LIST__
0000000000203d00 b completed.7697
0000000000203d01 b _ZStL8__ioinit
0000000000203d02 b _ZStL8__ioinit
0000000000203d20 B _ZSt4cout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment