Skip to content

Remove some unnecessary indirection to DiagnosticServerAdapter/EventPipeAdapter in nativeaot - #90132

Merged
elinor-fung merged 1 commit into
dotnet:mainfrom
elinor-fung:removeAdapterLayer
Aug 9, 2023
Merged

Remove some unnecessary indirection to DiagnosticServerAdapter/EventPipeAdapter in nativeaot#90132
elinor-fung merged 1 commit into
dotnet:mainfrom
elinor-fung:removeAdapterLayer

Conversation

@elinor-fung

Copy link
Copy Markdown
Member

This removes DiagnosticServerAdapter and a bunch of functions in EventPipeAdapter in nativeaot. The functions left in EventPipeAdapter are currently used in the would-be-generated code in dotnetruntime.cpp. I just left them for now - they can go away when we switch to the script generation. The changes to the header includes were fallout from removing unnecessary includes from eventpipeadapter.h and others.

@ghost

ghost commented Aug 8, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

This removes DiagnosticServerAdapter and a bunch of functions in EventPipeAdapter in nativeaot. The functions left in EventPipeAdapter are currently used in the would-be-generated code in dotnetruntime.cpp. I just left them for now - they can go away when we switch to the script generation. The changes to the header includes were fallout from removing unnecessary includes from eventpipeadapter.h and others.

Author: elinor-fung
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -
@elinor-fung
elinor-fung force-pushed the removeAdapterLayer branch 2 times, most recently from 8b36c17 to 3c76de2 Compare August 8, 2023 16:34
@elinor-fung elinor-fung closed this Aug 8, 2023
@elinor-fung elinor-fung reopened this Aug 8, 2023

@LakshanF LakshanF 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.

Thanks!

@elinor-fung
elinor-fung merged commit 7b26bfb into dotnet:main Aug 9, 2023
@elinor-fung
elinor-fung deleted the removeAdapterLayer branch August 9, 2023 01:42
@ghost ghost locked as resolved and limited conversation to collaborators Sep 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

2 participants