jan@jan-GE70-0NC-0ND ~/mysql-5.6.16 $ sudo opreport --demangle=smart --symbols --long-filenames --merge \ > tgid /home/jan/mysql-5.6.16/sql/mysqld | head -n 20 Using /var/lib/oprofile/samples/ for samples directory. warning: /no-vmlinux could not be found. warning: [vdso] (tgid:29314 range:0x7fffe8931000-0x7fffe8933000) could not be found. CPU: Intel Ivy Bridge microarchitecture, speed 2.401e+06 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000 samples % image name symbol name 20581 64.5233 /no-vmlinux /no-vmlinux 2584 8.1011 /home/jan/mysql-5.6.16/sql/mysqld buf_calc_page_new_checksum(unsigned char const*) 672 2.1068 /lib/x86_64-linux-gnu/libc-2.17.so __memset_sse2 321 1.0064 /home/jan/mysql-5.6.16/sql/mysqld yylex() 284 0.8904 /lib/x86_64-linux-gnu/libc-2.17.so times 283 0.8872 /home/jan/mysql-5.6.16/sql/mysqld os_aio_linux_handle(unsigned long, fil_node_t**, void**, unsigned long*) 274 0.8590 /lib/x86_64-linux-gnu/libc-2.17.so __memcpy_ssse3_back 174 0.5455 /home/jan/mysql-5.6.16/sql/mysqld yyparse() 167 0.5236 /home/jan/mysql-5.6.16/sql/mysqld ut_delay(unsigned long) 160 0.5016 /home/jan/mysql-5.6.16/sql/mysqld buf_page_get_gen(unsigned long, unsigned long, unsigned long, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*) 159 0.4985 /lib/x86_64-linux-gnu/libc-2.17.so _int_malloc 152 0.4765 /home/jan/mysql-5.6.16/sql/mysqld rec_get_offsets_func(unsigned char const*, dict_index_t const*, unsigned long*, unsigned long, mem_block_info_t**) 140 0.4389 [vdso] (tgid:29314 range:0x7fffe8931000-0x7fffe8933000) [vdso] (tgid:29314 range:0x7fffe8931000-0x7fffe8933000) 133 0.4170 /home/jan/mysql-5.6.16/sql/mysqld log_group_write_buf(log_group_t*, unsigned char*, unsigned long, unsigned long, unsigned long) 119 0.3731 /lib/x86_64-linux-gnu/libpthread-2.17.so pthread_mutex_lock 117 0.3668 /lib/x86_64-linux-gnu/libc-2.17.so _int_free 108 0.3386 /home/jan/mysql-5.6.16/sql/mysqld mtr_commit(mtr_t*) jan@jan-GE70-0NC-0ND ~/mysql-5.6.16 $ sudo opreport --demangle=smart --symbols --long-filenames --merge tgid /home/jan/mysql-5.6.16/sql/mysqld | head -n 30 Using /var/lib/oprofile/samples/ for samples directory. warning: /no-vmlinux could not be found. warning: [vdso] (tgid:29314 range:0x7fffe8931000-0x7fffe8933000) could not be found. CPU: Intel Ivy Bridge microarchitecture, speed 2.401e+06 MHz (estimated) Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000 samples % image name symbol name 21128 64.7860 /no-vmlinux /no-vmlinux 2584 7.9235 /home/jan/mysql-5.6.16/sql/mysqld buf_calc_page_new_checksum(unsigned char const*) 723 2.2170 /lib/x86_64-linux-gnu/libc-2.17.so __memset_sse2 321 0.9843 /home/jan/mysql-5.6.16/sql/mysqld yylex() 319 0.9782 /home/jan/mysql-5.6.16/sql/mysqld os_aio_linux_handle(unsigned long, fil_node_t**, void**, unsigned long*) 284 0.8708 /lib/x86_64-linux-gnu/libc-2.17.so times 274 0.8402 /lib/x86_64-linux-gnu/libc-2.17.so __memcpy_ssse3_back 174 0.5335 /home/jan/mysql-5.6.16/sql/mysqld yyparse() 167 0.5121 /home/jan/mysql-5.6.16/sql/mysqld ut_delay(unsigned long) 160 0.4906 /home/jan/mysql-5.6.16/sql/mysqld buf_page_get_gen(unsigned long, unsigned long, unsigned long, unsigned long, buf_block_t*, unsigned long, char const*, unsigned long, mtr_t*) 159 0.4876 /lib/x86_64-linux-gnu/libc-2.17.so _int_malloc 152 0.4661 /home/jan/mysql-5.6.16/sql/mysqld rec_get_offsets_func(unsigned char const*, dict_index_t const*, unsigned long*, unsigned long, mem_block_info_t**) 146 0.4477 [vdso] (tgid:29314 range:0x7fffe8931000-0x7fffe8933000) [vdso] (tgid:29314 range:0x7fffe8931000-0x7fffe8933000) 133 0.4078 /home/jan/mysql-5.6.16/sql/mysqld log_group_write_buf(log_group_t*, unsigned char*, unsigned long, unsigned long, unsigned long) 121 0.3710 /lib/x86_64-linux-gnu/libpthread-2.17.so pthread_mutex_lock 117 0.3588 /lib/x86_64-linux-gnu/libc-2.17.so _int_free 108 0.3312 /home/jan/mysql-5.6.16/sql/mysqld mtr_commit(mtr_t*) 99 0.3036 /lib/x86_64-linux-gnu/libc-2.17.so __strlen_sse2_pminub 93 0.2852 /home/jan/mysql-5.6.16/sql/mysqld sync_array_print_long_waits(unsigned long*, void const**) 90 0.2760 /home/jan/mysql-5.6.16/sql/mysqld cmp_dtuple_rec_with_match_low(dtuple_t const*, unsigned char const*, unsigned long const*, unsigned long, unsigned long*, unsigned long*) 86 0.2637 /lib/x86_64-linux-gnu/libc-2.17.so __strcmp_sse42 86 0.2637 /lib/x86_64-linux-gnu/libc-2.17.so malloc 67 0.2054 /lib/x86_64-linux-gnu/libc-2.17.so vfprintf 66 0.2024 /home/jan/mysql-5.6.16/sql/mysqld btr_cur_search_to_nth_level(dict_index_t*, unsigned long, dtuple_t const*, unsigned long, unsigned long, btr_cur_t*, unsigned long, char const*, unsigned long, mtr_t*) 64 0.1962 /home/jan/mysql-5.6.16/sql/mysqld log_write_up_to(unsigned long, unsigned long, unsigned long) [clone .part.19] 64 0.1962 /home/jan/mysql-5.6.16/sql/mysqld page_cur_search_with_match(buf_block_t const*, dict_index_t const*, dtuple_t const*, unsigned long, unsigned long*, unsigned long*, unsigned long*, unsigned long*, page_cur_t*) 64 0.1962 /lib/x86_64-linux-gnu/libaio.so.1.0.1 /lib/x86_64-linux-gnu/libaio.so.1.0.1