Skip to content

Instantly share code, notes, and snippets.

@mdcallag
Created November 20, 2017 15:26
Show Gist options
  • Save mdcallag/dfcc0ac601860f278fb213b2fe153e1f to your computer and use it in GitHub Desktop.
Save mdcallag/dfcc0ac601860f278fb213b2fe153e1f to your computer and use it in GitHub Desktop.
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 1M of event 'cycles:ppp'
# Event count (approx.): 611495001801
#
# Overhead Command Shared Object Symbol
# ........ ............... ..................... ..................................................................................................................................................................................................................................................................................................
#
5.60% my-oneconnectio [kernel.vmlinux] [k] queued_spin_lock_slowpath
|
---queued_spin_lock_slowpath
|
|--4.87%--rwsem_down_read_failed
| call_rwsem_down_read_failed
| down_read
| do_page_fault
| page_fault
| |
| --4.56%--__memcpy_avx_unaligned
| |
| |--2.29%--Field_string::make_sort_key
| | make_sortkey
| | filesort
| | st_join_table::sort_table
| | join_init_read_record
| | sub_select
| | JOIN::exec
| | mysql_select
| | handle_select
| | execute_sqlcom_select
| | mysql_execute_command
| | Prepared_statement::execute
| | Prepared_statement::execute_loop
| | mysqld_stmt_execute
| | dispatch_command
| | do_command
| | do_handle_one_connection
| | handle_one_connection
| | start_thread
| | __clone
| |
| --2.27%--make_sortkey
| filesort
| st_join_table::sort_table
| join_init_read_record
| sub_select
| JOIN::exec
| mysql_select
| handle_select
| execute_sqlcom_select
| mysql_execute_command
| Prepared_statement::execute
| Prepared_statement::execute_loop
| mysqld_stmt_execute
| dispatch_command
| do_command
| do_handle_one_connection
| handle_one_connection
| start_thread
| __clone
|
--0.57%--rwsem_down_write_failed
call_rwsem_down_write_failed
down_write
5.36% my-oneconnectio libc-2.23.so [.] __memcpy_avx_unaligned
|
---__memcpy_avx_unaligned
|
|--1.82%--myrocks::ha_rocksdb::rnd_next_with_direction
| myrocks::ha_rocksdb::index_next_with_direction
| myrocks::ha_rocksdb::index_next
| handler::read_range_next
| handler::multi_range_read_next
| QUICK_RANGE_SELECT::get_next
| filesort
| st_join_table::sort_table
| join_init_read_record
| sub_select
| JOIN::exec
| mysql_select
| handle_select
| execute_sqlcom_select
| mysql_execute_command
| Prepared_statement::execute
| Prepared_statement::execute_loop
| mysqld_stmt_execute
| dispatch_command
| do_command
| do_handle_one_connection
| handle_one_connection
| start_thread
| __clone
|
--1.43%--st_join_table::sort_table
join_init_read_record
sub_select
JOIN::exec
mysql_select
handle_select
execute_sqlcom_select
mysql_execute_command
Prepared_statement::execute
Prepared_statement::execute_loop
mysqld_stmt_execute
dispatch_command
do_command
do_handle_one_connection
handle_one_connection
start_thread
__clone
3.86% my-oneconnectio mysqld.gcc5.glibc.nbm [.] std::__merge_sort_with_buffer<unsigned char**, unsigned char**, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::Mem_compare> >
|
---std::__merge_sort_with_buffer<unsigned char**, unsigned char**, __gnu_cxx::__ops::_Iter_comp_iter<(anonymous namespace)::Mem_compare> >
|
--3.86%--Filesort_buffer::sort_buffer
filesort
st_join_table::sort_table
join_init_read_record
sub_select
JOIN::exec
mysql_select
handle_select
execute_sqlcom_select
mysql_execute_command
Prepared_statement::execute
Prepared_statement::execute_loop
mysqld_stmt_execute
dispatch_command
do_command
do_handle_one_connection
handle_one_connection
start_thread
__clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment