Another one (much higher sys):
Events: 632K cycles 58.11% [kernel] [k] _spin_lock 4.58% mysqld [.] my_regcomp 3.22% mysqld [.] 0x54b935 1.15% libc-2.12.so [.] _int_malloc 0.93% libc-2.12.so [.] memcpy 0.91% mysqld [.] yaSSL::buildFinished(yaSSL::SSL&, yaSSL::Finished&, unsigned char const*) 0.78% mysqld [.] ha_partition::change_partitions(st_ha_create_information*, char const*, unsigned l 0.76% mysqld [.] create_fromuni 0.52% [kernel] [k] intel_idle 0.50% mysqld [.] MYSQLparse(void*) 0.50% mysqld [.] row_purge_remove_sec_if_poss_leaf 0.49% [kernel] [k] schedule 0.44% libc-2.12.so [.] _int_free 0.41% mysqld [.] row_purge_node_create 0.41% [kernel] [k] copy_user_generic_string 0.38% mysqld [.] ha_partition::truncate_partition(Alter_info*, bool*) 0.35% libc-2.12.so [.] malloc
Another one (much higher sys):
Events: 632K cycles buildFinished( yaSSL:: SSL&, yaSSL::Finished&, unsigned char const*) :change_ partitions( st_ha_create_ information* , char const*, unsigned l remove_ sec_if_ poss_leaf node_create generic_ string :truncate_ partition( Alter_info* , bool*)
58.11% [kernel] [k] _spin_lock
4.58% mysqld [.] my_regcomp
3.22% mysqld [.] 0x54b935
1.15% libc-2.12.so [.] _int_malloc
0.93% libc-2.12.so [.] memcpy
0.91% mysqld [.] yaSSL::
0.78% mysqld [.] ha_partition:
0.76% mysqld [.] create_fromuni
0.52% [kernel] [k] intel_idle
0.50% mysqld [.] MYSQLparse(void*)
0.50% mysqld [.] row_purge_
0.49% [kernel] [k] schedule
0.44% libc-2.12.so [.] _int_free
0.41% mysqld [.] row_purge_
0.41% [kernel] [k] copy_user_
0.38% mysqld [.] ha_partition:
0.35% libc-2.12.so [.] malloc