systemtap执行过程中报probe timer.profile registration error

probe timer.profile registration error

今天在执行火焰图的过程中,代码报错,probe timer.profile registration error
经过查询、分析可能是在该平台该函数是不安全、不共享的。

probe timer.profile {
用该代码替换即可
probe perf.sw.cpu_clock !, timer.profile {

原文地址:https://www.cnblogs.com/luomgf/p/10878408.html