Skip to content

C#: Handle dotnet exec csc.dll and the likes in the Lua tracer#9989

Merged
hvitved merged 1 commit into
github:mainfrom
hvitved:csharp/lua-tracer-improvements2
Aug 11, 2022
Merged

C#: Handle dotnet exec csc.dll and the likes in the Lua tracer#9989
hvitved merged 1 commit into
github:mainfrom
hvitved:csharp/lua-tracer-improvements2

Conversation

@hvitved

@hvitved hvitved commented Aug 8, 2022

Copy link
Copy Markdown
Contributor

This PR moves logic for handling dotnet exec csc.dll and friends from the extractor into the new Lua tracer spec. The benefit of doing so is that we can avoid unnecessary process creations, and logically doing compiler matching belongs to the tracer spec, and not the extractor.

Note that the logic has not yet been removed from the extractor; we will do so once the legacy tracer is retired.

Thanks to @criemen for helping out.

@github-actions github-actions Bot added the C# label Aug 8, 2022
@hvitved hvitved force-pushed the csharp/lua-tracer-improvements2 branch 2 times, most recently from a64866a to 51c4930 Compare August 9, 2022 08:57
@hvitved hvitved marked this pull request as ready for review August 9, 2022 09:05
@hvitved hvitved requested a review from a team as a code owner August 9, 2022 09:05
@hvitved hvitved requested a review from criemen August 9, 2022 09:08
@hvitved hvitved force-pushed the csharp/lua-tracer-improvements2 branch from 51c4930 to c5d3b1f Compare August 9, 2022 10:07
michaelnebel
michaelnebel previously approved these changes Aug 10, 2022

@michaelnebel michaelnebel left a comment

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.

Looks plausible to me!

criemen
criemen previously approved these changes Aug 10, 2022

@criemen criemen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me as well, thanks!

@hvitved hvitved dismissed stale reviews from criemen and michaelnebel via 2bb9e48 August 10, 2022 10:52
@hvitved hvitved force-pushed the csharp/lua-tracer-improvements2 branch from c5d3b1f to 2bb9e48 Compare August 10, 2022 10:52
@hvitved

hvitved commented Aug 10, 2022

Copy link
Copy Markdown
Contributor Author

Rebased onto latest main to hopefully get a successful DCA run.

@michaelnebel michaelnebel left a comment

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.

Looks plausible to me!

@hvitved hvitved merged commit e106edc into github:main Aug 11, 2022
@hvitved hvitved deleted the csharp/lua-tracer-improvements2 branch August 11, 2022 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants