system tap fails

Solution Unverified - Updated -

Issue

  • After installing systemtap, seeing errors when attempting to run stap scripts
[root@test tmp]# ./disktop.stp
semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/vfs.stp:766:25
        source: probe vfs.read.return = kernel.function("vfs_read").return
                                        ^

semantic error: missing x86_64 kernel/module debuginfo under '/lib/modules/2.6.32-431.3.1.el6.x86_64/build'
semantic error: while resolving probe point: identifier 'vfs' at ./disktop.stp:18:7
        source: probe vfs.read.return {
                      ^

semantic error: no match
semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/vfs.stp:834:26
        source: probe vfs.write.return = kernel.function("vfs_write").return
                                         ^

semantic error: while resolving probe point: identifier 'vfs' at ./disktop.stp:28:7
        source: probe vfs.write.return {
                      ^

Pass 2: analysis failed.  Try again with another '--vp 01' option.
Missing separate debuginfos, use: debuginfo-install kernel-2.6.32-431.3.1.el6.x86_64

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content