openresty/openresty-systemtap-toolkit

semantic error: while resolving probe point: identifier 'scheduler' at <input>:29:7

achilsh opened this issue · 5 comments

semantic error: while resolving probe point: identifier 'scheduler' at :29:7
source: probe scheduler.cpu_on {
^

semantic error: no match

Pass 2: analysis failed. [man error::pass2]
ERROR: No stack counts found

use sample-bt-off-cpu file to get off-cpu

@achilsh Seems like you forgot to install the kernel debuginfo package?

I had the same problem.

[root@vm-10-112-156-88 ~]# rpm -qa | grep ^kernel
kernel-devel-2.6.32-696.20.1.el6.x86_64
kernel-debuginfo-2.6.32-504.30.3.el6.x86_64
kernel-headers-2.6.32-926.504.30.3.letv.el6.x86_64
kernel-firmware-2.6.32-926.504.30.3.letv.el6.x86_64
kernel-devel-2.6.32-926.504.30.3.letv.el6.x86_64
kernel-debuginfo-common-x86_64-2.6.32-504.30.3.el6.x86_64
kernel-2.6.32-926.504.30.3.letv.el6.x86_64

i had the same problem with systemtap v2.9 on ubuntu 16.04; problem seems to be the with the version of systemtap: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1537125

i had to build a higher version of systemtap myself (as package is not updated anymore in xenial)
errors appear to be gone for now !

@danialgood Yeah, it's recommended to always use the latest upstream version of systemtap.