Skip to content

Merge main into release branch - #6248

Closed
hoyosjs wants to merge 297 commits into
mainfrom
release/stable
Closed

hoyosjs wants to merge 297 commits into
mainfrom
release/stable

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Nov 15, 2026

Copy link
Copy Markdown
Member

No description provided.

Mike McLaughlin and others added 30 commits November 25, 2019 15:45
* Microsoft.Diagnostics.NETCore.Client Implementation (#617)

This is the initial implementation of Microsoft.Diagnostics.NETCore.Client library.

This will be released with version 1.0.0-preview, and when I feel that enough customers have validated it that we can match it with the rest of the diagnostics OOB packages and bump up the version to 3.1.

* add .NET Standard 2.0 for diagnostics client library (#700)

* Make MultiplePublishedProcessTest more stable (#701)

* Make MultiplePublishedProcessTest more stable

* Bump up DiagnosticsClient library version to 0.2.0 (#704)
* Update dependencies from https://github.com/aspnet/AspNetCore build 20191125.10 (#650)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19575.10

* Add documentation on EventCounters (#605)

* Adding some initial EventCounters documentation

* Add more stuff about incrementingeventcounter

* Add pictures

* Add more description about how to write your own counter

* Add out-of-proc consumption, more samples

* formatting

* more formatting

* Add section about concurrency

* cleanup, formatting

* format

* Address PR feedback

* Avoid exceptions when console is not available (#644)

* Do not manipulate cursor if Console not available

* Use console.GetTerminal() to test for console

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191127.15 (#655)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19577.15

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191128.4 (#656)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19578.4

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191201.2 (#657)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19601.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191202.2 (#660)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19602.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191203.5 (#665)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19603.5

* add missing README.md files for global tools (#662)

* add missing README.md files for global tools

* use relative link

* SpeedScope handles only CPU samples, events are not supported (#661)

* dotnet-counters JSON Exporter improvements (#666)

* make timestamp non culture-sensitive, change 'counter type' to 'counterType'

* Remove more spaces from the JSON

* Microsoft.Diagnostics.NETCore.Client Implementation (#617)

This is the initial implementation of Microsoft.Diagnostics.NETCore.Client library.

This will be released with version 1.0.0-preview, and when I feel that enough customers have validated it that we can match it with the rest of the diagnostics OOB packages and bump up the version to 3.1.

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191205.16 (#672)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19605.16

* Upgrade to latest System.CommandLine version (#668)

Upgrade to latest System.CommandLine version

Use collection initializers

* Prepare SOS for single file support and add desktop CLR support (#658)

Prepare SOS for single file support and add desktop CLR support

Add defines and functions for the runtime, dac and dbi modules/dlls names.

Also supports desktop CLR

Add minidump retry for ERROR_PARTIAL_COPY

* Add EventPipe events test (#659)

* Fix ContentionEvents test to make it more stable (#683)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191210.3 (#684)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19610.3

* Incorrect tool referenced (#687)

* Fix GCEvent test being flakey (#689)

* Fix GCEvent test being flakey

* Fix build

* [master] Update dependencies from aspnet/AspNetCore (#688)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191211.17

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19611.17

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191212.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19612.8

* Use darc runtime subscription versions for testing (#682)

Use darc runtime subscription versions for testing

Update arcade to version 5.0.0-beta.19608.1

Replace install scripts with InstallRuntimes.proj (thanks to Juan).

Add build.ps1 on Windows. Build-Native.cmd just builds the native bits now.

Combine build.sh and build-native.sh scripts.

Remove -publish from scripts

Add running sosstatus command on SOSRunner errors.

Always set the host runtime (SOSHostRuntime) in test configs

Fix RuntimeFrameworkVersion config property usage

Sign, package and publish only if build legs successful

Issues: https://github.com/dotnet/diagnostics/issues/423
           https://github.com/dotnet/diagnostics/issues/480

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191213.21 (#695)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha1.19613.21

* Update dependencies from https://github.com/dotnet/arcade build 20191213.1 (#694)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19613.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19613.1

* Fix various issues (#690)

Issue: https://github.com/dotnet/diagnostics/issues/673

SymbolReader doesn't support UNC symbol paths. Issue: https://github.com/dotnet/diagnostics/issues/674

Add -all gcroot option to docs. Issue: https://github.com/dotnet/diagnostics/issues/632

Better doc clrstack -all and other options. Issue: https://github.com/dotnet/diagnostics/issues/576

Doc RHEL lldb install. Issue: https://github.com/dotnet/diagnostics/issues/483

Add setclrpath command to dotnet-dump on linux. Mentioned in https://github.com/dotnet/diagnostics/issues/624

Issue: https://github.com/dotnet/diagnostics/issues/590

Add -timeout option to SetSymbolServer command. Issue: https://github.com/dotnet/diagnostics/issues/602

Use CommandPlatform on Windows specific commands

Don't use the desktop clr to host SOS managed code.

Don't allow dumplog on desktop clr target.

Cleanup SOSHost "is runtime" checks.

Removed unneeded install of the x86 SDK in InstallRuntimes.proj

Fix SOS on Windows where it needs to download the DAC but the symbol
server store was never initialized from the .sympath. This is even
more important when both coreclr and desktop clr are loaded in the
process/minidump.

Update to 3.0.1 runtime version

* Fix scheduled build (#696)

* Revert back to 3.0.100 SDK version (#697)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191214.22 (#698)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19614.22

* Update dependencies from https://github.com/dotnet/arcade build 20191215.1 (#699)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19615.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19615.1

* add .NET Standard 2.0 for diagnostics client library (#700)

* Update windows-instructions.md

* Make MultiplePublishedProcessTest more stable (#701)

* Make MultiplePublishedProcessTest more stable

* Make scheduled builds full official builds (#703)

Publish all the artifacts to the blob feeds for the scheduled builds so
the vendors don't have to do thier error prone builds.

Some minor cleanup to remove some pipeline warnings.

Change ClrStack casing in help docs to be consistent

Remove SDK entry in global.json so VS works

Update version prefix to 5.0.0

* Bump up DiagnosticsClient library version to 0.2.0 (#704)

* Revert _Pipeline_StreamDumpDir removal (#707)

* Reduce predeftlsslot.h to the set that SOS actually depends on (#709)

* Avoid NullReferenceException in case the code path is run under an incompatible runtime (#711)

* Add verbose info to clrmodules command. (#712)

Add version info to modules command.

* [master] Update dependencies from aspnet/AspNetCore (#706)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191216.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19616.1

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191218.3

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19618.3

* Update clrmd to version 1.1.61812 (module size and version info fixes) (#715)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191219.2 (#716)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19619.2

* Initial commit (#714)

* Fix EventPipe tests to use the new DiagnosticsClient library (#720)

* Change all the EventPipe tests to use DiagnosticsClient library

* Specify keyword for SentinelEventSource

* Fix MethodEvents

* Specify keywords for MyEventSource

* Display rundown information when stopping trace (#721)

* Remove legacy RuntimeClient library (#722)

* [master] Update dependencies from aspnet/AspNetCore (#718)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191220.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19620.1

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191223.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19623.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191226.3

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19626.3

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191227.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19627.1

* [master] Update dependencies from dotnet/arcade (#719)

* Update dependencies from https://github.com/dotnet/arcade build 20191222.1

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19622.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19622.1

* Update dependencies from https://github.com/dotnet/arcade build 20191229.1

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19629.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19629.1

* [master] Update dependencies from dotnet/runtime (#713)

* Update dependencies from https://github.com/dotnet/runtime build 20191218.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.19618.3

* Update dependencies from https://github.com/dotnet/runtime build 20191219.11

- Microsoft.NETCore.App - 5.0.0-alpha.1.19619.11

* Update dependencies from https://github.com/dotnet/runtime build 20191220.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.19620.3

* Update dependencies from https://github.com/dotnet/runtime build 20191221.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.19621.1

* Update dependencies from https://github.com/dotnet/runtime build 20191222.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.19622.1

* Update dependencies from https://github.com/dotnet/runtime build 20191223.2

- Microsoft.NETCore.App - 5.0.0-alpha.1.19623.2

* Update dependencies from https://github.com/dotnet/runtime build 20191226.2

- Microsoft.NETCore.App - 5.0.0-alpha.1.19626.2

* Update dependencies from https://github.com/dotnet/runtime build 20191227.5

- Microsoft.NETCore.App - 5.0.0-alpha.1.19627.5

Co-authored-by: Mike McLaughlin <mikem@microsoft.com>

* Fix sample code to actually print string name of the CLR events (#728)

* Some misc fixes to counters doc (#729)

* Misc cleanup and fixes found during runtime change testing.

Change ctrl-c message issue: https://github.com/dotnet/diagnostics/issues/532

Revert 5.0.x runtime version until issue https://github.com/dotnet/runtime/issues/1229 is fixed.

* Abstract all the runtime specific info and class.

Add IRuntime/Runtime classes.

The code to get the runtime module address/size info, DAC/DBI file path, create/get the
SOS DAC process instance and to create/get the ICorDebug process instance to the Runtime
class implementation. It was moved mostly intack with some type and function name changes.

Added -desktop and -netcore options to the !sosstatus command to switch between runtimes.

Eventually SOSHosting will provide the IRuntime instance when hosted under dotnet-dump.

Fix unloading/reloading SOS (under windbg) issue: https://github.com/dotnet/diagnostics/issues/386

Flush process specific global state when process terminates issue: https://github.com/dotnet/diagnostics/issues/479

* Add dual .NET Core/desktop CLR runtime test

Added an desktop host native DLL that the modified WebApp3 debuggee
optionally pinvokes to start the desktop CLR. An modified SymbolTestDll
is the managed assembly that this desktop host loads and runs.

Fixed bug in GetClrModuleImages.

* Update dependencies from https://github.com/dotnet/arcade build 20200105.1 (#730)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20055.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20055.1

* Update FAQ.md

* [master] Update dependencies from dotnet/runtime (#725)

* Update dependencies from https://github.com/dotnet/runtime build 20191230.4

- Microsoft.NETCore.App - 5.0.0-alpha.1.19630.4

* Update dependencies from https://github.com/dotnet/runtime build 20191231.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.19631.3

* Update dependencies from https://github.com/dotnet/runtime build 20200101.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.20051.1

* Update dependencies from https://github.com/dotnet/runtime build 20200102.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.20052.3

* Update dependencies from https://github.com/dotnet/runtime build 20200103.4

- Microsoft.NETCore.App - 5.0.0-alpha.1.20053.4

* Update dependencies from https://github.com/dotnet/runtime build 20200104.2

- Microsoft.NETCore.App - 5.0.0-alpha.1.20054.2

* Update dependencies from https://github.com/dotnet/runtime build 20200105.4

- Microsoft.NETCore.App - 5.0.0-alpha.1.20055.4

* Update dependencies from https://github.com/dotnet/runtime build 20200106.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.20056.3

* Update dependencies from https://github.com/dotnet/runtime build 20200107.6

- Microsoft.NETCore.App - 5.0.0-alpha.1.20057.6

Co-authored-by: Mike McLaughlin <mikem@microsoft.com>

* Handle glibc sys/sysctl.h deprecation (#27048) (#681)

glibc has deprecated sys/sysctl.h:

    In file included from /coreclr/src/pal/src/misc/sysinfo.cpp:32:
    /usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror,-W#warnings]
    #warning "The <sys/sysctl.h> header is deprecated and will be removed."
     ^
    1 error generated.

Fix that by preferring sysconf and only including sys/sysctl.h if
HAVE_SYSCONF is not true. This mirrors the order of the implementation
code in this file (sysinfo.cpp) which checks for HAVE_SYSCONF
before HAVE_SYSCTL.

Fixes #27008

Co-authored-by: Omair Majid <omajid@redhat.com>

* [master] Update dependencies from aspnet/AspNetCore (#726)

* Update dependencies from https://github.com/aspnet/AspNetCore build 20191230.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.19630.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200102.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20052.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200104.2

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20054.2

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200106.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20056.1

* Update dependencies from https://github.com/aspnet/AspNetCore build 20200106.6

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20056.6

Co-authored-by: Mike McLaughlin <mikem@microsoft.com>

* Update FAQ.md

* Update dependencies from https://github.com/dotnet/runtime build 20200108.9 (#735)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20058.9

* Fix newline formatting for dotnet-trace provider info (#737)

* Add --clrevents flag to dotnet-trace (#738)

* Add clrevents flag

* Ignore clrevents if providers is already specified

* Docs change

* Change the error message a little bit

* case insensitive comparison for keywords, add clreventlevel option

* Threw back in a line that was deleted accidentally

* Add test for CLR provider parsing

* use stringcomparer instead of tolower

* Update dependencies from https://github.com/dotnet/runtime build 20200109.11 (#739)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20059.11

* Update dependencies from https://github.com/dotnet/runtime build 20200110.7 (#741)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20060.7

* Update dependencies from https://github.com/dotnet/runtime build 20200111.3 (#743)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20061.3

* Update dependencies from https://github.com/dotnet/arcade build 20200112.1 (#744)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20062.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20062.1

* Update dependencies from https://github.com/dotnet/runtime build 20200112.3 (#745)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20062.3

* Fix line number issues in SOS (#734)

Fix line number issues in SOS

The change is to subtract 1 from the IP used to get the source/line info when the stack frame is a leaf node. For hardware exceptions, the IP has already been adjusted (+1) by the runtime so they cancel out.

Fixes in SOS the same issues reported in https://github.com/dotnet/coreclr/issues/27765 and https://github.com/dotnet/coreclr/issues/25740 for the runtime's unhandled exception message.

Add some more PrintException -lines testing for thrown and hardware exceptions.

Gracefully fail with runtime module size == 0.

Fix "clrmodules" failure our vendors found.

Add line number (LineNum) check testcase

* Update dependencies from https://github.com/dotnet/runtime build 20200113.7 (#747)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20063.7

* Update dependencies from https://github.com/dotnet/runtime build 20200114.4 (#750)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20064.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200114.4 (#751)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20064.4

Co-authored-by: Mike McLaughlin <mikem@microsoft.com>

* Change Versions.props so darc updates don't conflict (#752)

* Update dependencies from https://github.com/dotnet/runtime build 20200115.4 (#755)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20065.4

* Build Windows arm64 version of SOS. (#754)

Build Windows arm64 version of SOS.

Make sure that the "BuildArch" msbuild property is always passed to managed and native builds.

Add the arm64 SOS to the various packages and zip files.

The diasymreader package for Windows PDB support is currently disabled for arm64 waiting
for issue https://github.com/dotnet/diagnostics/issues/324 to be addressed.

* Update dependencies from https://github.com/dotnet/runtime build 20200116.11 (#757)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20066.11

* Update dependencies from https://github.com/dotnet/runtime build 20200117.9 (#759)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20067.9

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200117.2 (#760)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20067.2

* Update dependencies from https://github.com/dotnet/runtime build 20200118.4 (#762)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20068.4

* Update dependencies from https://github.com/dotnet/arcade build 20200118.1 (#763)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20068.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20068.1

* Update dependencies from https://github.com/dotnet/runtime build 20200119.2 (#764)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20069.2

* Update dependencies from https://github.com/dotnet/runtime build 20200120.4 (#765)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20070.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200120.2 (#766)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20070.2

* Misc SOS fixes (#758)

Misc SOS fixes

Change "dbgout" command not to require EE or DAC (use INIT_API_EXT).

Fix case where the DAC is already in the temp directory because of a
loadsymbols command when symlink'ing it on Linux.

Allow just setsymbolserver -log without any other options.

* Update dependencies from https://github.com/dotnet/runtime build 20200121.7 (#768)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20071.7

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200121.6 (#769)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20071.6

* Update dependencies from https://github.com/dotnet/runtime build 20200122.3 (#773)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20072.3

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200123.2 (#775)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20073.2

* Update dependencies from https://github.com/dotnet/runtime build 20200123.8 (#774)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20073.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200124.1 (#777)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20074.1

* Update dependencies from https://github.com/dotnet/runtime build 20200124.8 (#776)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20074.8

* Update dependencies from https://github.com/dotnet/runtime build 20200125.5 (#778)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20075.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200125.3 (#779)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20075.3

* Update dependencies from https://github.com/dotnet/arcade build 20200126.3 (#780)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20076.3
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20076.3

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200126.1 (#782)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20076.1

* Update dependencies from https://github.com/dotnet/runtime build 20200126.2 (#781)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20076.2

* Changing the output text to say 'dump' rather than 'minidump' to avoid confusion with the minidump file format over in windows land. (#772)

* Update dependencies from https://github.com/dotnet/runtime build 20200127.11 (#783)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20077.11

* Update dependencies from https://github.com/dotnet/runtime build 20200128.2 (#786)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20078.2

* Show optimization tiers for runtime major version >= 3 (including 5) (#785)

Show optimization tiers for runtime major version >= 3 (including 5)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200129.7 (#787)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20079.7

* Various misc changes and SOS fixes (#789)

Misc build changes

Fix source/line number support

Make sure the ip doesn't get adjusted before the start of the function.

Allow `!SuppressJitOptimization on` to be used before the runtime is loaded and on xplat

Add display il map option to !u

* Fix official build failures with latest runtime (#795)

* [master] Update dependencies from dotnet/runtime (#793)

* Update dependencies from https://github.com/dotnet/runtime build 20200130.10

- Microsoft.NETCore.App - 5.0.0-alpha.1.20080.10

* Update dependencies from https://github.com/dotnet/runtime build 20200201.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.20101.1

* Update dependencies from https://github.com/dotnet/runtime build 20200201.3

- Microsoft.NETCore.App - 5.0.0-alpha.1.20101.3

* Update dependencies from https://github.com/dotnet/arcade build 20200201.2 (#796)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20101.2
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20101.2

* Update dependencies from https://github.com/dotnet/runtime build 20200202.3 (#797)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20102.3

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200203.9 (#799)

- Microsoft.AspNetCore.App.Ref - 5.0.0-alpha.1.20103.9

* Update dependencies from https://github.com/dotnet/runtime build 20200203.10 (#798)

- Microsoft.NETCore.App - 5.0.0-alpha.1.20103.10

* Add weak WinRT handle kind (#800)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200205.1 (#802)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20105.1

* Remove dead codes (#806)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200207.8 (#813)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20107.8

* Fix the Windows private runtime build testing problems (#807)

Fix the Windows private runtime build testing problems

Enable the "setclrpath" for Windows.

Change the SOS test harness and scripts to set the runtime path for triage dumps.

Add -privatebuildpath option to build scripts that installs the test runtimes, copies
the private runtime build and on Windows regedit's the necessary keys to create dumps.

Add private build registry cleanup.

* Update dependencies from https://github.com/dotnet/arcade build 20200209.1 (#814)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20109.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20109.1

* Do not clear the screen if returning error at launch (#815)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200210.4 (#822)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20110.4

* Fix ps handler for elevated process (#749)

* Make diagnostics client library tests not sleep (#742)

* Make the diagnostics client library tests not sleep

* Remove thread.sleep

* task.delay instead of thread.sleep

* Fix failing test

* Properly encode semicolon in argument strings for EventPipeProvider (#824)

* Add quotation to semicolon in argument string for EventPipeProvider

* Add test

* remove dup

* Wrap the entire argument string in quotes instead

* Add more test

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200211.6 (#828)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20111.6

* Try to get UnixDomainSocketEndPoint from System.Core if not found in System.Net.Sockets (#826)

Fixes #821

* Escape EventPipeProvider argument key as well (#825)

* Escape EventPipeProvider argument key as well

* put the brace where it was

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200212.5 (#830)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20112.5

* Get UnixDomainSocketEndPoint using Type.GetType() to avoid FileNotFoundException (#829)

Fixes #821

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200213.23 (#831)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20113.23

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200214.15 (#833)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20114.15

* [master] Update dependencies from dotnet/runtime (#827)

* Update dependencies from https://github.com/dotnet/runtime build 20200212.1

- Microsoft.NETCore.App - 5.0.0-alpha.1.20112.1

* Update dependencies from https://github.com/dotnet/runtime build 20200212.12

- Microsoft.NETCore.App - 5.0.0-preview.1.20112.12

* Update dependencies from https://github.com/dotnet/runtime build 20200213.7

- Microsoft.NETCore.App - 5.0.0-preview.1.20113.7

* Update dependencies from https://github.com/dotnet/runtime build 20200214.8

- Microsoft.NETCore.App - 5.0.0-preview.1.20114.8

* Update dependencies from https://github.com/dotnet/runtime build 20200215.9

- Microsoft.NETCore.App - 5.0.0-preview.1.20115.9

* Update dependencies from https://github.com/dotnet/arcade build 20200216.1 (#834)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20116.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20116.1

* Update dependencies from https://github.com/dotnet/runtime build 20200217.2 (#835)

- Microsoft.NETCore.App - 5.0.0-preview.1.20117.2

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200216.1 (#836)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20116.1

* Update dependencies from https://github.com/dotnet/runtime build 20200217.8 (#838)

- Microsoft.NETCore.App - 5.0.0-preview.1.20117.8

* Update dependencies from https://github.com/dotnet/runtime build 20200218.7 (#840)

- Microsoft.NETCore.App - 5.0.0-preview.1.20118.7

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200218.8 (#841)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20118.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200219.7 (#843)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.1.20119.7

* dotnet-gcdump: Update docs to include print verb

* [master] Update dependencies from dotnet/runtime (#842)

* Update dependencies from https://github.com/dotnet/runtime build 20200219.9

- Microsoft.NETCore.App - 5.0.0-preview.2.20119.9

* Update dependencies from https://github.com/dotnet/runtime build 20200220.8

- Microsoft.NETCore.App - 5.0.0-preview.2.20120.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200221.13 (#850)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20121.13

* Microsoft.Diagnostics.NETCore.Client Documentation (#845)

* some docs

* More API descriptions

* fix broken links

* More link

* link

* cleanup

* pr feedback

* PR feedback

* Update dependencies from https://github.com/dotnet/arcade build 20200223.1 (#851)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20123.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20123.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200224.10 (#853)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20124.10

* Updates tryrun.cmake for cross build (#837)

Fix cross build:
```
...
-- Performing Test UNGETC_NOT_RETURN_EOF
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
   UNGETC_NOT_RETURN_EOF_EXITCODE (advanced)
   UNGETC_NOT_RETURN_EOF_EXITCODE__TRYRUN_OUTPUT (advanced)
For details see /home/viewizard/Desktop/diagnostics/artifacts/obj/Linux.armel.Release/TryRunResults.cmake
-- Performing Test UNGETC_NOT_RETURN_EOF - Success
...
```
Related to cmake changes (starts from 3.14.0-rc3, https://gitlab.kitware.com/cmake/cmake/commit/92d9ec9bfb61d2cd35a82d6906de86c71350b865)
More info: https://gitlab.kitware.com/cmake/cmake/issues/18973

* Update dependencies from https://github.com/dotnet/runtime build 20200225.1 (#854)

- Microsoft.NETCore.App - 5.0.0-preview.2.20125.1

* Add SECURITY.md

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200225.12 (#857)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20125.12

* Update dependencies from https://github.com/dotnet/runtime build 20200225.16 (#856)

- Microsoft.NETCore.App - 5.0.0-preview.2.20125.16

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200226.7 (#863)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20126.7

* Update dependencies from https://github.com/dotnet/runtime build 20200227.14 (#864)

- Microsoft.NETCore.App - 5.0.0-preview.2.20127.14

* Update dependencies from https://github.com/dotnet/runtime build 20200228.16 (#865)

- Microsoft.NETCore.App - 5.0.0-preview.2.20128.16

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200228.11 (#866)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20128.11

* dotnet-gcdump: Update docs to include new print verb

* Update dependencies from https://github.com/dotnet/runtime build 20200229.8 (#867)

- Microsoft.NETCore.App - 5.0.0-preview.2.20129.8

* Update dependencies from https://github.com/dotnet/arcade build 20200301.1 (#868)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20151.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20151.1

* Update dependencies from https://github.com/dotnet/runtime build 20200301.4 (#869)

- Microsoft.NETCore.App - 5.0.0-preview.2.20151.4

* Fix whitespace in SECURITY.md (#870)

* Update dependencies from https://github.com/dotnet/runtime build 20200302.11 (#872)

- Microsoft.NETCore.App - 5.0.0-preview.2.20152.11

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200302.3 (#873)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20152.3

* Pipeline consolidation, added SDL and signature verification. (#852)

* Consolidate CI and Build pipelines

* Add source checks to pipelines

- Disable CI.
- Enable exclusions for documentation and license.

* Encompass all prior jobs into a single job for SDL/Publishing v2 changes

* Add Alpine to PR testing

* Use Publishing v2 and run SDL on official builds

This modifies how we publish symbols, usual packages,
and runs policheck and crediscan against internal builds.

This also runs signature validation, nuget validity, and sourcelink.

* Delete UnicodeData.txt

This was brought with the coreclr's pal but was deleted in dotnet/coreclr#24581
This was used to generate sources, but not automatically as part of the build.
The generated file is checked in, and SOS's is already outdated.

* Fix Policheck issues

Fixes all the flagged terms except for API contracts, false positives, and files aquired from LLDB.

* Add alpine debug to testing

* Fix whitespace

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200305.1 (#877)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.2.20155.1

* Update build.yml to use OSX 10.14 (#874)

* Update build.yml

* try xcode version 9.4.1

* Try 10.3

* Fix print statements in lldbhelper.py

* PR feedback

* try to fix build

* Add symbol publishing property to disable the special indexing (#888)

Fixes the "DUP" errors in the symbol publishing stage.

* Update dependencies from https://github.com/dotnet/arcade build 20200308.2 (#890)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20158.2
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20158.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Create dotnet-monitor tool (#878)

* Create dotnet-monitor tool
* Listens for TraceEvent for logging and metrics.
* Currently supports a console sink, and a Log Analytics metric sink
* Designed to be used in an Aks sidecar to produce logging/metrics.

* bump trace event version to be able to use new file format

* handle the new file format

* [master] Update dependencies from dotnet/runtime (#876)

* Update dependencies from https://github.com/dotnet/runtime build 20200304.1

- Microsoft.NETCore.App - 5.0.0-preview.2.20154.1

* Update dependencies from https://github.com/dotnet/runtime build 20200305.1

- Microsoft.NETCore.App - 5.0.0-preview.2.20155.1

* Update dependencies from https://github.com/dotnet/runtime build 20200305.3

- Microsoft.NETCore.App - 5.0.0-preview.2.20155.3

* Update dependencies from https://github.com/dotnet/runtime build 20200309.13

- Microsoft.NETCore.App - 5.0.0-preview.3.20159.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [master] Update dependencies from dotnet/aspnetcore (#886)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200306.9

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20156.9

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200307.4

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20157.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200308.5

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20158.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200309.15

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20159.15

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix several issues in build and publishing (#889)

* Make packages explicitly Shipping/Non-Shipping

* Work around SDK bug that trips sourcelink validation

* Cleanup properies in publishing

 These properties used to be needed, but they have been removed in arcade.
 The new workflow is to use pipeline publishing which this repo uses.

* Make publishing explicit for test products that need it

This will save us from hardcoding paths by making it more explicit.
That way when we clean up and decouple builds we can have breaks when needed.
It also brings down artifact size from 318 MB to 206
for xcopy tests needed for helix.

* Correctly bubble up native build issues.

* Change dotnet-monitor tool to non-shipping temporarily (#891)

* Revert "[master] Update dependencies from dotnet/aspnetcore (#886)" (#897)

This reverts commit ee8ed8048c825db6af021dc794e3ecc0d649df03. This version of the AspNetCore runtime still works against a busted version of the runtime.

* Add darc dependency to symstore (#898)

* Update versions of older runtimes to test

* Add symstore dependency for automated dependency flow

* Update dependencies from https://github.com/dotnet/arcade build 20200310.4 (#899)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20160.4
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20160.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200309.4 (#900)

- Microsoft.SymbolStore - 1.0.115904

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* install latest version of System.Runtime.CompilerServices.Unsafe to avoid "Could not load file or assembly” error

* Update dependencies from https://github.com/dotnet/runtime build 20200310.8 (#901)

- Microsoft.NETCore.App - 5.0.0-preview.3.20160.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* update TraceEvent and revert the workaround

* Change the "dotnet-dump collect" default to "full" dumps. (#903)

The new "full" dump collection type includes all the module images
on both Windows and Linux. The old default type "Heap" is still
the same and can be used if the dump is too big.

Full dumps are roughly 1.5 times bigger on Windows and 30%
bigger on Linux for a simple webapp.

Issue: https://github.com/dotnet/diagnostics/issues/808

* Update dependencies from https://github.com/dotnet/runtime build 20200311.9 (#904)

- Microsoft.NETCore.App - 5.0.0-preview.3.20161.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Remove checking for python (#906)

* Update dependencies from https://github.com/dotnet/symstore build 20200313.2 (#916)

- Microsoft.SymbolStore - 1.0.116302

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update diagnostics-client-library-instructions.md (#917)

Missing semicolon.

Excited to see this documentation :)

* Add .NET Core hosting location file support (#915)

* Add .NET Core hosting location file support

Look for the /etc/dotnet/install_location file on Linux/MacOS
for the .NET Core runtime to host SOS's managed code.

Didn't add the check for Windows registry key at this time
because we may switch to the desktop CLR as the host.

Issue #https://github.com/dotnet/diagnostics/issues/882

Add 5.0 to the list of hosting runtime versions.

* Code review feedback

* Update to clrmd 1.1.116301 (#918)

* Update dependencies from https://github.com/dotnet/arcade build 20200312.3 (#919)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20162.3
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20162.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200316.1 (#922)

- Microsoft.SymbolStore - 1.0.116601

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix coreclr paths to match new runtime repo (#923)

* [dotnet-dump] Allow Linux core dumps to be loaded on WIndows (#927)

* [dotnet-dump] Allow Linux core dumps to be loaded on WIndows

* Respond to feedback

* Fix dotnet-dump analyze <dump-path> -c exit (#924)

* Fix dotnet-dump analyze <dump-path> -c exit

The exit command would fail to exit the analyze process when
executed from the command line.

* Move fix to ConsoleProvider per feedback, simplify

* Fix cross-dac Runtime::CreateInstance() (#928)

* Fix LoadNativeSymbols for cross-dac (#929)

* Update NuGet.configto include dotnet5, eng, and tools feeds (#932)

* [master] Update dependencies from dotnet/aspnetcore (#902)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200310.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20160.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200311.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20161.8

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200312.5

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20162.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200314.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20164.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200314.4

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20164.4

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200317.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20167.1

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200318.5

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20168.5

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200320.1

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20170.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Disable Microsoft.Diagnostics.NETCore.Client.WriteAllDumpTypesTest (#934)

Given dotnet/diagnostics#913 I'm disabling this test until it can get investigated.

This path is exerted in @d366deb src/Tools/dotnet-dump/Dumper.cs:77 and dotnet-dump has several tests for collecting dump types, so even if we disable the test, we will still get some coverage.

* [master] Update dependencies from dotnet/runtime (#925)

* Update dependencies from https://github.com/dotnet/runtime build 20200317.12

- Microsoft.NETCore.App - 5.0.0-preview.3.20167.12

* Update dependencies from https://github.com/dotnet/runtime build 20200318.9

- Microsoft.NETCore.App - 5.0.0-preview.3.20168.9

* Update dependencies from https://github.com/dotnet/runtime build 20200319.13

- Microsoft.NETCore.App - 5.0.0-preview.3.20169.13

* Update dependencies from https://github.com/dotnet/runtime build 20200320.8

- Microsoft.NETCore.App - 5.0.0-preview.3.20170.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200321.1 (#935)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20171.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200321.6 (#937)

- Microsoft.NETCore.App - 5.0.0-preview.3.20171.6

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200322.1 (#939)

- Microsoft.NETCore.App - 5.0.0-preview.3.20172.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/arcade build 20200321.1 (#938)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20171.1
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20171.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix Runtime::GetRuntime*Name() for cross-dac (#930)

* Fix Runtime::GetRuntime*Name() for cross-dac

* Refactor GetRuntime*Name()

Add IRuntime::RuntimeConfiguration
Add IRuntime::GetRuntimeConfiguration()
Remove IRuntime::IsDesktop()
Remove NETCORE_RUNTIME*
Remove DESKTOP_RUNTIME*

* Fix dotnet-dump analyze clrmd CreateRuntime (#940)

* Update dependencies from https://github.com/dotnet/runtime build 20200324.1 (#945)

- Microsoft.NETCore.App - 5.0.0-preview.3.20174.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200323.4 (#946)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20173.4

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* dotnet-dump analyze dso (#944)

Fix dso for cross dac case

* Update dependencies from https://github.com/dotnet/symstore build 20200323.1 (#947)

- Microsoft.SymbolStore - 1.0.117301

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* dotnet-dump analyze clrthreads -special (#943)

* dotnet-dump analyze clrthreads -special

Detect support at runtime

* Add ONLY_SUPPORTED_ON_WINDOWS_TARGET() (#948)

Some commands are not included in Linux support.
Add ONLY_SUPPORTED_ON_WINDOWS_TARGET() to disable these
commands when working with Linux dumps on Windows.

* Mark more APIs ONLY_SUPPORTED_ON_WINDOWS_TARGET (#949)

* Mark more APIs ONLY_SUPPORTED_ON_WINDOWS_TARGET

Mark all commands not reachable from Linux LLVM
or dotnet-dump analyze on Linux ONLY_SUPPORTED_ON_WINDOWS_TARGET

* Support testing internal service releases (#926)

Support testing internal service releases

Adds 3 pipeline variables that need to be set testing an internal service release:

InternalRuntimeSourceVersion - the service release version i.e. 2.1.17, 3.1.3, etc.
InternalRuntimeSourceFeed    - the service release internal feed
InternalRuntimeSourceFeedKey - the service release feed PAT

No longer runs the tests on desktop framework if private build or internal service release.

Remove dailytest option

* Add IsWindowsTarget() (#951)

* Add IsWindowsTarget()

Add runtime logic to disable Windows only code
when diagnosing Linux dumps on Windows

* Update dependencies from https://github.com/dotnet/runtime build 20200324.7 (#952)

- Microsoft.NETCore.App - 5.0.0-preview.3.20174.7

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200324.9 (#953)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20174.9

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* dotnet-dump analyze enable cross DAC lookup (#954)

* Fix SOSHost.IsCoreClrRuntimeModule()

* Fix cross DAC LoadNativeSymbols()

This allows the SOSHost to find the cross DAC in the symbol cache

* Feedback

When creating a SymbolStoreKey semi-clone copy all the fields

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200325.16 (#957)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20175.16

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200325.1 (#958)

- Microsoft.SymbolStore - 1.0.117501

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [master] Update dependencies from dotnet/runtime (#956)

* Update dependencies from https://github.com/dotnet/runtime build 20200325.10

- Microsoft.NETCore.App - 5.0.0-preview.3.20175.10

* Update dependencies from https://github.com/dotnet/runtime build 20200326.12

- Microsoft.NETCore.App - 5.0.0-preview.3.20176.12

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update core dump debugging workflow (#962)

* Update dependencies from https://github.com/dotnet/runtime build 20200328.1 (#963)

- Microsoft.NETCore.App - 5.0.0-preview.3.20178.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* [master] Update dependencies from dotnet/aspnetcore (#960)

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200326.15

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20176.15

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200327.8

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20177.8

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200329.1 (#964)

- Microsoft.NETCore.App - 5.0.0-preview.3.20179.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200328.11 (#965)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20178.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dotnet-tools.md

* Update dotnet-tools.md

* Update dependencies from https://github.com/dotnet/runtime build 20200330.1 (#967)

- Microsoft.NETCore.App - 5.0.0-preview.3.20180.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200329.3 (#968)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.3.20179.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Fix some misc SOS issues (#966)

* Display some more MT info

* Issue https://github.com/dotnet/diagnostics/issues/816

* Issue https://github.com/dotnet/diagnostics/issues/941

* Issue https://github.com/dotnet/diagnostics/issues/942

* Fix sosstatus runtime size display

* Update dependencies from https://github.com/dotnet/runtime build 20200330.15 (#969)

- Microsoft.NETCore.App - 5.0.0-preview.3.20180.15

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200330.11 (#970)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20180.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200331.16 (#972)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20181.16

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200401.1 (#971)

- Microsoft.NETCore.App - 5.0.0-preview.4.20201.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Report missing DAC error for cross DAC clrstack -i (#973)

* Report missing DAC error for cross DAC clrstack -i

* Feedback

* Report stack walk failures (#975)

* Fix description list command (#974)

* cleanup unused field, fix description of GC collection counts in list command

* Fix build

* Update dependencies from https://github.com/dotnet/runtime build 20200401.19 (#977)

- Microsoft.NETCore.App - 5.0.0-preview.4.20201.19

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200401.16 (#978)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20201.16

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Link Code of Conduct (#980)

* Update dependencies from https://github.com/dotnet/runtime build 20200402.18 (#981)

- Microsoft.NETCore.App - 5.0.0-preview.4.20202.18

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200402.13 (#982)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20202.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200404.1 (#984)

- Microsoft.NETCore.App - 5.0.0-preview.4.20204.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/symstore build 20200403.1 (#986)

- Microsoft.SymbolStore - 1.0.120301

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/aspnetcore build 20200403.11 (#985)

- Microsoft.AspNetCore.App.Ref - 5.0.0-preview.4.20203.11

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Filter the tools' own PID out of ps command result (#983)

* Update dependencies from https://github.com/dotnet/runtime build 20200404.15 (#988)

- Microsoft.NETCore.App - 5.0.0-preview.4.20204.15

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/arcade build 20200401.2 (#989)

- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20201.2
- Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20201.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Update dependencies from https://github.com/dotnet/runtime build 20200405.13 (#990)

- Microsoft.NETCore.App - 5.0.0-preview.4.20205.13

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* Remove dotnet-counters' unnecessary dependencies (#992)

Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sung Yoon Whang <suwhang@microsoft.com>
Co-authored-by: Paul Harrington <pharring@users.noreply.github.com>
Co-authored-by: Adam Sitnik <adam.sitnik@gmail.com>
Co-authored-by: jiangzeng01 <49379637+jiangzeng01@users.noreply.github.com>
Co-authored-by: Sean-Driscoll <42188295+Sean-Driscoll@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Andrew Au <andrewau@microsoft.com>
Co-authored-by: Dongkyun Son <tenblood@gmail.com>
Co-authored-by: Omair Majid <omajid@redhat.com>
Co-authored-by: Andy Sterland <andster@microsoft.com>
Co-authored-by: Koundinya Veluri <kouvel@users.noreply.github.com>
Co-authored-by: Next Turn <45985406+NextTurn@users.noreply.github.com>
Co-authored-by: Ilia <ki.stfu@gmail.com>
Co-authored-by: Mohammad Mustakim Ali <mustakimali@hotmail.com>
Co-authored-by: Mikhail Kurinnoi <viewizard@viewizard.com>
Co-authored-by: dotnet-bot <dotnet-bot@microsoft.com>
Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Wiktor Kopec <wiktork@microsoft.com>
Co-authored-by: John Salem <josalem@microsoft.com>
Co-authored-by: Mike Murkovic <mike.murko@gmail.com>
Co-authored-by: Steve MacLean <Steve.MacLean@microsoft.com>
Co-authored-by: Mohammad Mustakim Ali <mustakimali@users.noreply.github.com>
Co-authored-by: Immo Landwerth <immol@microsoft.com>
Merge latest master into release/stable
* Enable Alpine Arm64 SOS builds

* Revise clang version selection

Use clang-9 for linux-musl-arm64
Generalize -clang* options

Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
* Fix dotnet-dump analyze regression

* Fix CLRDebuggingImpl::GetCLRInfo()

* Fix CLRDebuggingImpl::GetPlatform()

* Fix FEATURE_PAL builds
* Enable Alpine Arm64 SOS builds

* Revise clang version selection

Use clang-9 for linux-musl-arm64
Generalize -clang* options

Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
* Fix dotnet-dump analyze regression

* Fix CLRDebuggingImpl::GetCLRInfo()

* Fix CLRDebuggingImpl::GetPlatform()

* Fix FEATURE_PAL builds
Port dotnet-dump modules perf fix to release/stable
* Handle 32-bit CLRDATA_ADDRESS semantics in ReadMemory

* Use clrMD 1.1.132302
…00706.1 (#1325) (#1333)

Microsoft.SymbolStore To Version 1.0.135601
Fix triage dumps tests.
Disable SDL verification
Merge branch 'master' into release/stable
hoyosjs and others added 26 commits August 19, 2026 02:46
- **Port 8a2daa6 to release branch**
- **Constrain GetExport RuntimeInfo dereference to module bounds in
dbgshim (#5919)**
- **Refactor build pipeline to separate test jobs (#5875)**
- **Fix infinite loop in Repl (#5882)**
- **Move test projects back to 8.0 while we port remaining fixes**
…crosoft-clrmd

 - Add internal feed setup to PRs in internal branches
…nceng/internal/microsoft-clrmd

This pull request updates the following dependencies

[marker]: <> (Begin:eb6d769e-f5ac-4126-8aa9-724753c581ee)
## From https://dev.azure.com/dnceng/internal/_git/Microsoft-clrmd
- **Subscription**: [eb6d769e-f5ac-4126-8aa9-724753c581ee](https://maestro.dot.net/subscriptions?search=eb6d769e-f5ac-4126-8aa9-724753c581ee)
- **Build**: [20260831.1](https://dev.azure.com/dnceng/internal/_build/results?buildId=3061998) ([329474](https://maestro.dot.net/channel/551/azdo:dnceng:internal:Microsoft-clrmd/build/329474))
- **Date Produced**: August 31, 2026 2:53:33 PM UTC
- **Commit**: [04c417f99d7724630eef6c3f737f7b7356b40a7a](https://dev.azure.com/dnceng/internal/_git/Microsoft-clrmd?_a=history&version=GC04c417f99d7724630eef6c3f737f7b7356b40a7a)
- **Branch**: [refs/heads/msrc-sos](https://dev.azure.com/dnceng/internal/_git/Microsoft-clrmd?version=GBrefs/heads/msrc-sos)

[DependencyUpdate]: <> (Begin)

- **Dependency Updates**:
  - From [4.0.741701 to 4.0.743101][1]
     - Microsoft.Diagnostics.Runtime
     - Microsoft.Diagnostics.Runtime.Utilities

[1]: https://dev.azure.com/dnceng/internal/_git/Microsoft-clrmd/branches?baseVersion=GCf427643b7085e311f1e0bc503b1692143e13cc46&targetVersion=GC04c417f99d7724630eef6c3f737f7b7356b40a7a&_a=files

[DependencyUpdate]: <> (End)


[marker]: <> (End:eb6d769e-f5ac-4126-8aa9-724753c581ee)
## Summary
- package DiagnosticsReleaseTool as Microsoft.Diagnostics.ReleaseTool
- support public and internal-only release assets through
IsAssetForPublicRelease
- move repository-specific release constants into tool-list.json
- gather non-shipping assets and skip MergedManifest.xml during release
preparation

## Validation
- built and packed DiagnosticsReleaseTool in Release configuration
- installed the generated .NET tool package and exercised its
command-line help
- completed independent correctness review
…sitories (#5988)

Share diagnostics release tool across repositories (#5988)

## Summary
- package DiagnosticsReleaseTool as Microsoft.Diagnostics.ReleaseTool
- support public and internal-only release assets through
IsAssetForPublicRelease
- move repository-specific release constants into tool-list.json
- gather non-shipping assets and skip MergedManifest.xml during release
preparation

## Validation
- built and packed DiagnosticsReleaseTool in Release configuration
- installed the generated .NET tool package and exercised its
command-line help
- completed independent correctness review

Cherry-picked from commit `a6caf342`.

----
#### AI description  (iteration 1)
#### PR Classification
This is a feature enhancement to make the diagnostics release tool shareable across repositories by packaging it as a .NET tool and adding support for internal-only assets.

#### PR Summary
The release tool is now packaged as a distributable .NET tool (`Microsoft.Diagnostics.ReleaseTool`) and enhanced to handle both public and internal-only release assets separately. The changes enable the tool to be shared across repositories while supporting different release tiers.

- `DiagnosticsReleaseTool.csproj`: Configured as a packable .NET tool with package metadata for distribution
- `Release.cs`: Refactored to process both public release and internal-only release paths separately, with tracking of `IsAssetForPublicRelease` flag for each file
- `AcquireBuild.ps1`: Added `--IncludeNonShipping` parameter support to optionally download non-shipping assets from builds
- `Config.cs`: Added `SkipFiles` configuration to filter out unwanted files during release processing
- `DiagnosticsManifestGenerator.cs`: Updated manifest generation to include `IsAssetForPublicRelease` metadata for NuGet and tool bundle assets
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Prevent SOS from probing or loading dump-controlled DAC, cDAC, DBI, module, and PDB paths unless they resolve to absolute paths on the local machine.

The dump can provide paths recorded on the machine where it was created. Those paths must not cause SOS to access UNC shares, device paths, or other non-local locations on the analysis machine

- Add shared managed and native helpers for validating host-local absolute paths and extracting filenames with either path separator.
- Validate DAC, cDAC, and DBI paths before probing, signature verification, or library loading.
- Use only the filename from non-local dump paths when searching symbol stores.
- Continue allowing remote symbol stores as sources, but stage downloaded files in a validated local temporary directory before use.
- Prevent native PDB loading from following original or reference paths unless the associated module path is local.  
- Reject non-local `setclrpath` values before path normalization.
- Add regression coverage for UNC, device, mixed-separator, relative, runtime-directory, symbol-store, and adjacent-PDB paths
- **[internal/release/stable] Update dependencies from
dnceng/internal/microsoft-clrmd**
- **Merged PR 64767: [internal/release/stable] Update dependencies from
dnceng/internal/microsoft-clrmd**
- **Merged PR 64786: Update SDK and enable private feeds everywhere**
- **Share diagnostics release tool across repositories (#5988)**
- **Change path verification for loaded assets**
Hand-port the SOS managed payload split and host runtime selection while preserving release/stable BuildX64Package packaging. Limit managed payload requirements to debugger packages and retain SOS.Hosting on netstandard2.0.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab53b7a8-e18a-4e5e-ab2f-a83cb4defe92
…6045)

Ports #6033 and #6043 to `release/stable`.

This hand-port preserves stable's `BuildX64Package` native layout, keeps
`SOS.Hosting` on `netstandard2.0`, and omits the deleted
`SOSPackageLayout.cs`. It splits `SOS.Extensions` into `net462` and
`net8.0` debugger payloads, updates native host probing and runtime
override coverage, and limits managed payload validation to `dotnet-sos`
and `Microsoft.NETCore.SOS` so `dotnet-dump` retains only its existing
native SOS assets.

Manual package inspection confirmed both debugger payload layouts,
native-only `dotnet-dump` packing with the managed publish directories
unavailable, native-only symbol package PDB paths, and the expected
failure when an opted-in package is missing a required payload.
…ocess discovery (#5904)

Fixes #5903

## Problem

`DiagnosticsClient.GetProcPublishedProcesses` enumerates `/proc` to
discover diagnostic-capable processes. Two best-effort per-process read
helpers only caught `DirectoryNotFoundException` /
`UnauthorizedAccessException`:

- `GetProcessTmpDir` reads `/proc/{pid}/environ`. Kernel threads (e.g.
`kthreadd` at PID 2) have no user address space, so the kernel returns
`-ESRCH` and the runtime surfaces a plain `IOException` (`"No such
process"`). This escaped the catch and aborted the entire enumeration,
crashing `GetPublishedProcesses` on **every** Linux host, since kernel
threads are always present.
- `TryGetNamespacePid` reads `/proc/{pid}/status` and had the same
too-narrow catch, so a process-exit race or a `hidepid`-restricted
process could throw.

This was introduced by #5735 (first shipped in `0.2.721401`) and is
still present in the latest package.

## Fix

- Broaden both catches to `IOException`, which subsumes the prior
`DirectoryNotFoundException` / `FileNotFoundException` exit-race cases.
- Add a `UnauthorizedAccessException` catch to `TryGetNamespacePid`
(parity with `GetProcessTmpDir`).

Both helpers are best-effort, so they now consistently skip an
unreadable entry rather than throwing and aborting discovery. The
enumeration loop is unchanged.

## Tests

Adds two Linux-gated (`[ConditionalFact]`) tests in
`PidIpcEndpointTests`:
- `GetProcessTmpDir_KernelThread_DoesNotThrow` — finds a process whose
`environ` throws `IOException` (a kernel thread) and asserts the
temp-dir fallback is returned. Skips if no such process is visible (e.g.
inside a container with its own PID namespace).
- `TryGetNamespacePid_NonExistentPid_DoesNotThrow` — a non-existent PID
returns `false` rather than throwing.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

(cherry picked from commit 3a91cb2)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1bf039ff-37e1-40b6-af8c-125192e61855
Diagnostics counterpart to dotnet/runtime#129457
for fixing #2404

This PR proposes a new CollectTracing command `CollectTracing6` that
exposes a new `sessionBufferMode` configuration option to specify how an
IPC Streaming EventPipe Session using buffers should handle events when
buffers are full.

0 - Drop (default, pre-existing behavior)
1 - Block (non-lossy, parks producer threads until buffer space is
available)

Additionally, this PR introduces serializing for CollectTracing5
(non-UserEvents) and CollectTracing6, and adds a new `--non-lossy`
option to `dotnet-gcdump collect` to leverage the new non-lossy mode.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

(cherry picked from commit 7e8e386)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1bf039ff-37e1-40b6-af8c-125192e61855
Fixes #6048

## Summary

- Keep EventPipe completion state local to each live collection and file
conversion.
- Report success only after heap graph conversion completes.
- Document that the live collection log writer must support concurrent
writes.
- Add regression coverage for a post-GCStop logging failure returning
false.

## Root cause

The failure in #6048 has two parts. Steeltoe calls
`EventPipeDotNetHeapDumper` directly and supplies a plain
`StreamWriter`, while the method logs concurrently from the EventPipe
reader and session stop tasks. That caller-provided writer is not
thread-safe, which explains the torn log line and `StreamWriter.Flush`
exception. The shipped CLI uses synchronized `Console.Out`, so
diagnostics continues to require callers of the direct API to provide a
writer that supports concurrent writes.

After the logging exception, graph conversion is skipped. The previous
implementation nevertheless returned the process-wide `dumpComplete`
flag set when `GCStop` was observed. The caller therefore received
`true` for an unconverted graph and failed with `RootIndex not set`. The
process-wide flags also allowed separate or concurrent operations to
affect each other.

This change gives each operation its own completion state and separates
GC completion from operation success. `true` is returned only after
`ConvertHeapDataToGraph()` completes.

Steeltoe must separately use a synchronized writer for direct in-process
gcdump calls.

## Reproduction

A real self-gcdump test injects a logging failure after `GCStop` and
verifies that the operation returns `false` because graph conversion did
not complete. The targeted test passes in Debug and Release.

---------

Copilot-Session: 432587bf-ff0a-4257-ad8a-fc58a1a8c6a9

(cherry picked from commit 2a16a62)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1bf039ff-37e1-40b6-af8c-125192e61855
(cherry picked from commit 1fb4a0b)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1bf039ff-37e1-40b6-af8c-125192e61855
…#6071)

Bump `record-trace` to get unwind improvements and other fixes.

Newer `record-trace` versions also have a [`max-memory`
option](microsoft/one-collect#291) so wire that
up too. It stops collection when the memory of the collecting process,
`dotnet-trace` in this case, exceeds the given limit.

I'm open to suggestions on the option description. For reference, the
description in record-trace is

```
Stop collecting once this process uses the specified amount of memory, in megabytes
```

Example output when the memory limit is reached:

```
root [ /src ]# ./dotnet-trace collect-linux --duration '00:00:20' --max-memory 100
No providers, profiles, ClrEvents, or PerfEvents were specified, defaulting to trace profiles 'dotnet-common' + 'cpu-sampling'.

Provider Name                           Keywords            Level               Enabled By
Microsoft-Windows-DotNETRuntime         0x000000100003801D  Informational(4)    --profile

Linux Perf Events                                                               Enabled By
cpu-sampling                                                                    --profile

Output File    : /src/trace_20260910_004355.nettrace

[00:00:00:01]   Recording trace.
Press <Enter> or <Ctrl+C> to exit...
Memory limit reached.
Recording stopped.
Resolving symbols.
Finished recording trace.
Trace written to /src/trace_20260910_004355.nettrace
```

(cherry picked from commit 2e2793f)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1bf039ff-37e1-40b6-af8c-125192e61855
#6078)

Backport the Linux `/proc` process-discovery fix for #6040 and the
gcdump and dotnet-trace changes needed on `release/stable`:

- #5886: non-lossy EventPipe buffering for gcdump and `dotnet-trace
collect --buffering-mode Block`.
- #6051: report gcdump success only after heap conversion completes.
- #5970: remove the `collect-linux` preview banner.
- #6071: update `record-trace` and add `collect-linux --max-memory`.

Non-lossy buffering requires a .NET 11+ target runtime; gcdump warns and
falls back to lossy collection for older runtimes. Linux-specific
behavior has not been exercised locally on Windows.
Preserve stable package versioning while taking the main snapshot.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Apply only merged PR #6217, including the shared Windows Desktop targeting-pack filter. Preserve the existing snap and stable package versioning; do not include #6214 or #6215.

Source-commit: 6f58276
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6155adde-0566-4a88-8914-7e11146c2997
Source-commit: 0698c35
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6155adde-0566-4a88-8914-7e11146c2997
Source-commit: 0ba9f85
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6155adde-0566-4a88-8914-7e11146c2997
Snap main through 6f58276 into release/stable for the 11.0.0 release.
Contents match that main snapshot except that PreReleaseVersionLabel
remains empty for stable packages.

Follow-up commits incorporate:
- #6217: updated test SDK/runtime dependencies and the Windows Desktop
restore fix.
- #6214: enable cDAC packaging on release branches.
- #6215: bump the diagnostics version to 11.0.0.
Merge main at 3ca10b49f into release/stable. Preserve the empty stable PreReleaseVersionLabel; all other source contents match main.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6155adde-0566-4a88-8914-7e11146c2997
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Snap main at 3ca10b4 into release/stable, following #6216.

Includes #6212, #6220, #6221, #6224, #6218, and #6205. Preserves stable
package versioning: the only content difference from that main snapshot
is the empty PreReleaseVersionLabel.

Dependency metadata conflicts were resolved using the exact main files.
cDAC packaging remains enabled.

---------

Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Max Charlamb <maxcharlamb@microsoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Wrighton <davidwr@microsoft.com>
Backports #6234 to `release/stable`.

## Validation
- Ran the Arcade CI pack traversal for `src\cdac\dirs.proj` on
`release/stable`; all six cDAC packages succeeded with stable versions.
- Signing and publishing were not run.

Co-authored-by: Max Charlamb <maxcharlamb@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 20509674-cc28-401c-a1fa-0f8dbe23d5f0
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.