Skip to content

执行stp脚本出错 #1

Description

@shyhc

环境是debian,确认systemtap4.8安装成功了。
我执行stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'能正常打印出来
但是执行monitor.sh会出现下述报错:

WARNING: Kernel function symbol table missing [man warning::symbols]
Pass 1: parsed user script and 484 library scripts using 127680virt/101560res/11504shr/89948data kb, in 250usr/60sys/319real ms.
semantic error: resolution failed in DWARF builder

semantic error: while resolving probe point: identifier 'process' at mini_lua_bt.stp:7:7
        source: probe process(@1).function("luaL_*"),
                      ^

semantic error: no match

semantic error: resolution failed in DWARF builder

Pass 2: analyzed script: 3 probes, 2 functions, 0 embeds, 2 globals using 129400virt/104404res/12576shr/91668data kb, in 10usr/0sys/9real ms.
Pass 2: analysis failed.  [man error::pass2]
ERROR: No stack counts found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions