You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i install mysql from mysql yum repo ,it seems bcc tool can not find the probe in mysql ,should I rebuild the rpm package? and how ?
# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
# ./mysqld_query.py $(pgrep mysqld)
Traceback (most recent call last):
File "./mysqld_query.py", line 43, in <module>
u.enable_probe(probe="query__start", fn_name="do_trace")
File "/usr/lib/python2.7/site-packages/bcc/usdt.py", line 154, in enable_probe
probe
bcc.usdt.USDTException: failed to enable probe 'query__start'; a possible cause can be that the probe requires a pid to enable
[root@yunxiu_db1 tracing]# ps -ef|grep mysqld
mysql 6850 1 0 Feb25 ? 00:01:00 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
root 10181 7273 0 11:13 pts/3 00:00:00 grep --color=auto mysqld
mysqld script can not be used in centos7.6 ,because no dtrace tool found on this platform
i install mysql from mysql yum repo ,it seems bcc tool can not find the probe in mysql ,should I rebuild the rpm package? and how ?
mysqld script can not be used in centos7.6 ,because no dtrace tool found on this platform
The text was updated successfully, but these errors were encountered: