Closed JonathanWoollett-Light closed 1 year ago
Was missing -g
from perf record
options, sudo perf record -F 100000 -g /home/jonathan/Projects/test-binary/target/debug/test-binary
fixed it.
Thanks for your share. Though the reason for the exception of mine (permission is not satisfied) is not the same as you, your command gives me the insight (add "sudo" to enhance the permission) to solve my problem. Thanks a lot~
When attempting to generate a flame graph for the Rust
Hello, world!
binary an error is output (ERROR No stack counts found
).Test
Environment