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

result is null #50

Open
dingjingzhen opened this issue Nov 12, 2018 · 2 comments
Open

result is null #50

dingjingzhen opened this issue Nov 12, 2018 · 2 comments

Comments

@dingjingzhen
Copy link

@agentzh hi,I admire you for a long time,but now i have a question that when i use your tools generated file is empty, the project is a multithreaded program, can you give me some advice?
[root@Thor offcpu]# ./sample-bt -p 44833 -t 5 -u>a.bt
WARNING: Tracing 44833 (/home/second/test/bin/linux/x86_64/Test) in user-space only...
WARNING: Missing unwind data for a module, rerun with 'stap -d (unknown; retry with -DDEBUG_UNWIND)'
WARNING: _stp_read_address failed to access memory location
ERROR: probe overhead exceeded threshold
WARNING: Number of errors: 1, skipped probes: 57
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed. [man error::pass5]

@agentzh
Copy link
Member

agentzh commented Nov 12, 2018

@dingjingzhen Try reducing the sampling time period and/or adding the command-line option -DSTP_NO_OVERLOAD to the stap command line inside the tool's source file.

@dingjingzhen
Copy link
Author

@agentzh Ok, I have already solved the problem, but if I shorten the sampling time, whether due to the sampling time is too short, lead to the result not accurate enough? I try to increase the value of DMAXSKIPPED, but will let the program became stuck

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