会话1:
mysql> select now();
会话2:
[root@localhost ~]# stap -v -e 'probe process("/usr/local/mysql56/bin/mysqld").function("*Item_*").call{ if( tid()==7625) printf("%s:%s %d \n",execname(),probefunc(),tid())}' | c++filt
构造函数 mysqld:Item_func_now_local::Item_func_now_local(unsigned char)
mysqld:Item_func_now::Item_func_now(unsigned char)
mysqld:Item_datetime_func::Item_datetime_func()
mysqld:Item_temporal_func::Item_temporal_func()
mysqld:Item_func::Item_func()
mysqld:Item_result_field::Item_result_field()
mysqld:Item_name_string::Item_name_string()
mysqld:Item_name_string::Item_name_string()
mysqld:Item_int::Item_int(unsigned long long, unsigned int)
mysqld:Item_num::Item_num()
mysqld:Item_basic_constant::Item_basic_constant()
mysqld:Item_name_string::Item_name_string()
mysqld:Item_name_string::Item_name_string() 7625
类成员函数: mysqld:Item_int::val_int()
mysqld:Bounds_checked_array<Item_null_result*>::Bounds_checked_array()
mysqld:Mem_root_array<Item_exists_subselect*, true>::Mem_root_array(st_mem_root*)
mysqld:List_iterator<Item_func_set_user_var>::List_iterator(List<Item_func_set_user_var>&)
mysqld:List_iterator<Item_func_set_user_var>::operator++(int)
mysqld:Item_func::fix_fields(THD*, Item**)
mysqld:Item_func::get_initial_pseudo_tables() const
mysqld:Item_func_now::fix_length_and_dec()
mysqld:Item_temporal_func::check_precision()
mysqld:Item_func_now_local::time_zone()
mysqld:Item_func::used_tables() const
mysqld:Item_func::used_tables() const
mysqld:List_iterator<Item_func_match>::List_iterator(List<Item_func_match>&)
mysqld:List_iterator<Item_func_match>::List_iterator(List<Item_func_match>&)
mysqld:List_iterator<Item_func_match>::operator++(int)
mysqld:Item_func::type() const
mysqld:Mem_root_array<Item_exists_subselect*, true>::empty() const
mysqld:Mem_root_array<Item_exists_subselect*, true>::size() const
mysqld:Item_datetime_func::field_type() const
mysqld:Item_temporal_func::charset_for_protocol() const
mysqld:Item_temporal_func::charset_for_protocol() const
mysqld:Item_temporal_func::charset_for_protocol() const
mysqld:Item_datetime_func::field_type() const
mysqld:Item_func_now::get_date(st_mysql_time*, unsigned int)
mysqld:Item_basic_constant::cleanup()
析构函数 mysqld:Item_int::~Item_int()
mysqld:Item_num::~Item_num()
mysqld:Item_basic_constant::~Item_basic_constant()
mysqld:Item_result_field::cleanup()
mysqld:Item_func_now_local::~Item_func_now_local()
mysqld:Item_func_now::~Item_func_now()
mysqld:Item_datetime_func::~Item_datetime_func()
mysqld:Item_temporal_func::~Item_temporal_func()
mysqld:Item_func::~Item_func()
mysqld:Item_result_field::~Item_result_field()
mysqld:base_ilist<Item_change_record>::is_empty() const
^CPass : run completed in 20usr/160sys/7210real ms.