You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder do you have any plans to support valgrind's callgrind and cachegrind?
I know that there's a cargo-profiler crate doing this, but the output from their tool doesn't contains enough information for me, I might write a better parser for callgrind and cachegrind output, but I'm more interested in contributing the parser to your tool.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello and thanks for you interest in this project!
A different tool could be supported, yes. There are two main issues:
the user has to be able to select the tools via an additional command line flag/env var. This could be done via add VALGRINDFLAGS env var #58.
I'm not sure about this, but the XML tool output would likely be different, hence another parser is needed.
Both points are not that difficult, but do simply need work. At the moment I don't have much spare time, so I cannot add those changes in the near future. Feel free to propose a PR if you have the time 👍🏻
Thanks for your work! I tried using --tool=callgrind flag but unfortunately it seems that callgrind doesn't support XML output:
error: invalid valgrind usage: valgrind: Bad option: --xml=yes
valgrind: Callgrind does not support XML output.
valgrind: Use --help for more information or consult the user manual.
I wonder do you have any plans to support valgrind's callgrind and cachegrind?
I know that there's a
cargo-profiler
crate doing this, but the output from their tool doesn't contains enough information for me, I might write a better parser for callgrind and cachegrind output, but I'm more interested in contributing the parser to your tool.Thanks!
The text was updated successfully, but these errors were encountered: