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

"Skipped too many probe", but I have set DMAXSKIPPED=409600 #49

Open
zhangcunli opened this issue Sep 25, 2019 · 1 comment
Open

"Skipped too many probe", but I have set DMAXSKIPPED=409600 #49

zhangcunli opened this issue Sep 25, 2019 · 1 comment

Comments

@zhangcunli
Copy link

zhangcunli commented Sep 25, 2019

$ sudo ./stapxx/samples/lj-lua-stacks.sxx --arg time=30 DMAXSKIPPED=409600 DMAXMAPENTRIES=4096000 DSTP_NO_OVERLOAD --skip-badvars -x 24248 > tmp1.bt
Found exact match for libluajit: /opt/luajit/lib/libluajit-5.1.so.2.1.0
WARNING: Start tracing 24248 (/opt/yz7/nginx/sbin/nginx)
WARNING: Please wait for 30 seconds...
WARNING: user string copy fault -14 at 0000000069726f13 [man error::fault]
ERROR: Skipped too many probes, check MAXSKIPPED or try again with stap -t for more details.
WARNING: Number of errors: 0, skipped probes: 101
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed. [man error::pass5]

@bryder
Copy link

bryder commented Jan 16, 2024

I believe you are missing the '-' before the D

I think you need:

sudo ./stapxx/samples/lj-lua-stacks.sxx --arg time=30 -DMAXSKIPPED=409600 -DMAXMAPENTRIES=4096000

Also those are very large values. I'm not sure if they will cause you trouble or not.

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