flamegraph-rs / flamegraph

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
Apache License 2.0
4.61k stars 141 forks source link

Could you add `--config` as option for cargo flamegraph? #320

Open Crispy13 opened 4 months ago

Crispy13 commented 4 months ago
cargo build --release --config=profile.release.debug=true

It would be good to use cargo-flamegraph like the above.

djc commented 4 months ago

What are you trying to do, and why do you need new interface for it?

Crispy13 commented 4 months ago

I just thought it would be nice to be able to give flamegraph a temporary setting instead of modifying the Cargo.toml file and restoring it.

djc commented 4 months ago

Well, if you want to submit a PR for it I can take a look.