Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行stp脚本出错 #1

Open
shyhc opened this issue Mar 23, 2023 · 1 comment
Open

执行stp脚本出错 #1

shyhc opened this issue Mar 23, 2023 · 1 comment

Comments

@shyhc
Copy link

shyhc commented Mar 23, 2023

环境是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
@yuanfengyun
Copy link
Owner

参数1要改成你自己的skynet路径

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants