Linux Device Driver >> SystemTap

解決"while resolving probe point"問題


問題如下:

$ stap main.stp -p3
    semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/linux/syscall_any.stp:18:21
            source: probe syscall_any = kernel.trace("sys_enter")
                                        ^

    semantic error: no match (similar tracepoints: user_enter, cpuhp_enter, ipi_entry, kfree, map)

    semantic error: while resolving probe point: identifier 'syscall_any' at main.stp:1:7
            source: probe syscall_any
                          ^

    semantic error: no match

    Pass 2: analysis failed.  [man error::pass2]
    Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

P.S. 解法:使用root權限執行


返回上一頁