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

Rename JitdumpOrMarkerPath to ProcessSpecificPath, add aux_child to ExistingProcessRunner #355

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

vvuk
Copy link
Collaborator

@vvuk vvuk commented Sep 10, 2024

Some preparatory stuff. coreclr can generate a "nettrace" file (essentially cross-platform ETW) from a run in two ways:

  1. environment variables at process launch
  2. using the dotnet trace tool which attaches to a diagnostic port on an existing process and enables tracing

A future PR that adds support for dotnet trace is going to use both of these; if it's launching a process, it'll use the environment variables, and if it's attaching to an existing process, it'll spin up a dotnet trace child. ExistingProcessLauncher learns about these aux children and knows how to kill them when tracing stops.

this also renames JitdumpOrMarkerPath to ProcessSpecificPath, because it now also includes nettrace files via the same mechanism.

@vvuk vvuk requested a review from mstange September 10, 2024 15:36
@mstange mstange merged commit d8517af into main Oct 7, 2024
15 checks passed
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