Skip to content

help developer activate profiling - #475

Open
ArtemIsmagilov wants to merge 1 commit into
flamegraph-rs:mainfrom
ArtemIsmagilov:info-config
Open

ArtemIsmagilov wants to merge 1 commit into
flamegraph-rs:mainfrom
ArtemIsmagilov:info-config

Conversation

@ArtemIsmagilov

Copy link
Copy Markdown

Could you help the developer understand where to add your settings in order to enable the custom features? It’s not immediately clear—should they go in Cargo.toml, or somewhere else?

@ArtemIsmagilov

Copy link
Copy Markdown
Author

Now the developer knows why their custom functions aren't showing up, and exactly where to add the new flag.

Comment thread README.md
## Linux

**Note**: If you're using lld (which is the default since Rust 1.90.0) or mold on Linux, you must use the `--no-rosegment` flag. Otherwise perf will not be able to generate accurate stack traces ([explanation](https://crbug.com/919499#c16)).
**Note**: If you're using lld (which is the default since Rust 1.90.0) or mold on Linux, you must use the `--no-rosegment` flag. Otherwise perf will not be able to generate accurate stack traces ([explanation](https://crbug.com/919499#c16)). Create in project `.cargo/config.toml` and insert next.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree it would be helpful to make it more explicit where/how to add the flag. I don't think just tacking on a sentence as you've done here is the best way to go about it.

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

Successfully merging this pull request may close these issues.

2 participants