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

Support trace-children #6

Open
Tracked by #5
osiewicz opened this issue Mar 19, 2023 · 0 comments
Open
Tracked by #5

Support trace-children #6

osiewicz opened this issue Mar 19, 2023 · 0 comments
Labels
command-line Issues for new command-line options support

Comments

@osiewicz
Copy link
Owner

https://valgrind.org/docs/manual/manual-core.html
--trace-children allows one to profile processes spawned by the profiled process. This should come in handy for profiling things like miri, which are spawned by other processes.

Note that this will require some changes:

  • It will no longer be guaranteed that a single benchmark has only a single output profile (that'll be a breaking API change).
    • How do we sort the output list of profiles?
  • Currently, we parse only a single file based on a PID of a spawned process or an output file flag. Given that we might have multiple output files, the benchmarks should be executed within a tmp directory and then - if user wants to preserve the results - moved into cwd/output file path on demand. This way, we'll know for sure that the contents of a given temp dir contain only results of single benchmark run.
@osiewicz osiewicz added the command-line Issues for new command-line options support label Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line Issues for new command-line options support
Projects
None yet
Development

No branches or pull requests

1 participant