stap -v -e 'probe process("/usr/local/mysql56/bin/mysqld").function("@/usr/src/mysql-5.6.28/sql").call
{ if( tid()==15267) printf("%s:%s %d \n",execname(),probefunc(),tid())}' |c++filt
...mysqld:Item::send(Protocol*, String*) 13514
mysqld:Item::field_type() const 13514
mysqld:Item_real_func::result_type() const 13514
mysqld:Item_func_sqrt::val_real() 13514
mysqld:Item_int::val_real() 13514
mysqld:Protocol_text::store(double, unsigned int, String*) 13514
mysqld:THD::charset() 13514 ...
source insight查
double Item_func_sqrt::val_real()
{
DBUG_ASSERT(fixed == 1);
double value= args[0]->val_real();
if ((null_value=(args[0]->null_value || value < 0)))
return 0.0; /* purecov: inspected */
return sqrt(value); //系统库中的函数
}
原文链接: https://www.cnblogs.com/zengkefu/p/5641954.html
欢迎关注
微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍
原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/236349
非原创文章文中已经注明原地址,如有侵权,联系删除
关注公众号【高性能架构探索】,第一时间获取最新文章
转载文章受原作者版权保护。转载请注明原作者出处!