platform/core/dotnet/diagnostics.git
5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200123.8 (#774)
dotnet-maestro[bot] [Fri, 24 Jan 2020 14:04:14 +0000 (14:04 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200123.8 (#774)

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

5 years agoUpdate dependencies from https://github.com/dotnet/aspnetcore build 20200123.2 (...
dotnet-maestro[bot] [Fri, 24 Jan 2020 14:01:13 +0000 (14:01 +0000)]
Update dependencies from https://github.com/dotnet/aspnetcore build 20200123.2 (#775)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200122.3 (#773)
dotnet-maestro[bot] [Thu, 23 Jan 2020 14:07:51 +0000 (14:07 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200122.3 (#773)

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

5 years agoUpdate dependencies from https://github.com/dotnet/aspnetcore build 20200121.6 (...
dotnet-maestro[bot] [Wed, 22 Jan 2020 13:54:42 +0000 (13:54 +0000)]
Update dependencies from https://github.com/dotnet/aspnetcore build 20200121.6 (#769)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200121.7 (#768)
dotnet-maestro[bot] [Wed, 22 Jan 2020 13:53:17 +0000 (13:53 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200121.7 (#768)

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

5 years agoMisc SOS fixes (#758)
Mike McLaughlin [Tue, 21 Jan 2020 22:40:27 +0000 (14:40 -0800)]
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.

5 years agoUpdate dependencies from https://github.com/dotnet/aspnetcore build 20200120.2 (...
dotnet-maestro[bot] [Tue, 21 Jan 2020 13:55:53 +0000 (13:55 +0000)]
Update dependencies from https://github.com/dotnet/aspnetcore build 20200120.2 (#766)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200120.4 (#765)
dotnet-maestro[bot] [Tue, 21 Jan 2020 13:54:13 +0000 (13:54 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200120.4 (#765)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200119.2 (#764)
dotnet-maestro[bot] [Mon, 20 Jan 2020 13:34:13 +0000 (13:34 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200119.2 (#764)

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

5 years agoUpdate dependencies from https://github.com/dotnet/arcade build 20200118.1 (#763)
dotnet-maestro[bot] [Mon, 20 Jan 2020 13:31:25 +0000 (13:31 +0000)]
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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200118.4 (#762)
dotnet-maestro[bot] [Sun, 19 Jan 2020 13:47:25 +0000 (13:47 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200118.4 (#762)

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

5 years agoUpdate dependencies from https://github.com/dotnet/aspnetcore build 20200117.2 (...
dotnet-maestro[bot] [Sat, 18 Jan 2020 13:51:30 +0000 (13:51 +0000)]
Update dependencies from https://github.com/dotnet/aspnetcore build 20200117.2 (#760)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200117.9 (#759)
dotnet-maestro[bot] [Sat, 18 Jan 2020 13:50:14 +0000 (13:50 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200117.9 (#759)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200116.11 (#757)
dotnet-maestro[bot] [Fri, 17 Jan 2020 13:44:00 +0000 (13:44 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200116.11 (#757)

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

5 years agoBuild Windows arm64 version of SOS. (#754)
Mike McLaughlin [Fri, 17 Jan 2020 00:02:10 +0000 (16:02 -0800)]
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.

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200115.4 (#755)
dotnet-maestro[bot] [Thu, 16 Jan 2020 13:44:43 +0000 (13:44 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200115.4 (#755)

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

5 years agoChange Versions.props so darc updates don't conflict (#752)
Mike McLaughlin [Wed, 15 Jan 2020 22:52:49 +0000 (14:52 -0800)]
Change Versions.props so darc updates don't conflict (#752)

5 years agoUpdate dependencies from https://github.com/dotnet/aspnetcore build 20200114.4 (...
dotnet-maestro[bot] [Wed, 15 Jan 2020 17:21:10 +0000 (09:21 -0800)]
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>
5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200114.4 (#750)
dotnet-maestro[bot] [Wed, 15 Jan 2020 14:00:50 +0000 (14:00 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200114.4 (#750)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200113.7 (#747)
dotnet-maestro[bot] [Tue, 14 Jan 2020 13:40:22 +0000 (13:40 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200113.7 (#747)

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

5 years agoFix line number issues in SOS (#734)
Mike McLaughlin [Tue, 14 Jan 2020 08:22:12 +0000 (00:22 -0800)]
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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200112.3 (#745)
dotnet-maestro[bot] [Mon, 13 Jan 2020 14:57:26 +0000 (14:57 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200112.3 (#745)

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

5 years agoUpdate dependencies from https://github.com/dotnet/arcade build 20200112.1 (#744)
dotnet-maestro[bot] [Mon, 13 Jan 2020 14:43:03 +0000 (14:43 +0000)]
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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200111.3 (#743)
dotnet-maestro[bot] [Sun, 12 Jan 2020 18:44:01 +0000 (18:44 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200111.3 (#743)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200110.7 (#741)
dotnet-maestro[bot] [Sat, 11 Jan 2020 13:48:50 +0000 (13:48 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200110.7 (#741)

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

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200109.11 (#739)
dotnet-maestro[bot] [Fri, 10 Jan 2020 13:41:59 +0000 (13:41 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200109.11 (#739)

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

5 years agoAdd --clrevents flag to dotnet-trace (#738)
Sung Yoon Whang [Fri, 10 Jan 2020 01:23:47 +0000 (17:23 -0800)]
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

5 years agoFix newline formatting for dotnet-trace provider info (#737)
Sung Yoon Whang [Fri, 10 Jan 2020 00:07:28 +0000 (16:07 -0800)]
Fix newline formatting for dotnet-trace provider info (#737)

5 years agoUpdate dependencies from https://github.com/dotnet/runtime build 20200108.9 (#735)
dotnet-maestro[bot] [Thu, 9 Jan 2020 13:56:29 +0000 (13:56 +0000)]
Update dependencies from https://github.com/dotnet/runtime build 20200108.9 (#735)

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

5 years agoUpdate FAQ.md
Mike McLaughlin [Wed, 8 Jan 2020 20:57:02 +0000 (12:57 -0800)]
Update FAQ.md

5 years ago[master] Update dependencies from aspnet/AspNetCore (#726)
dotnet-maestro[bot] [Wed, 8 Jan 2020 19:45:29 +0000 (11:45 -0800)]
[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>
5 years agoHandle glibc sys/sysctl.h deprecation (#27048) (#681)
Dongkyun Son [Wed, 8 Jan 2020 19:43:14 +0000 (04:43 +0900)]
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>
5 years ago[master] Update dependencies from dotnet/runtime (#725)
dotnet-maestro[bot] [Wed, 8 Jan 2020 16:41:11 +0000 (16:41 +0000)]
[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>
5 years agoUpdate FAQ.md
Mike McLaughlin [Tue, 7 Jan 2020 00:32:38 +0000 (16:32 -0800)]
Update FAQ.md

5 years agoUpdate dependencies from https://github.com/dotnet/arcade build 20200105.1 (#730)
dotnet-maestro[bot] [Mon, 6 Jan 2020 13:43:00 +0000 (13:43 +0000)]
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

5 years agoAdd dual .NET Core/desktop CLR runtime test
Mike McLaughlin [Sat, 4 Jan 2020 03:32:34 +0000 (19:32 -0800)]
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.

5 years agoAbstract all the runtime specific info and class.
Mike McLaughlin [Tue, 31 Dec 2019 02:18:23 +0000 (18:18 -0800)]
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

5 years agoMisc cleanup and fixes found during runtime change testing.
Mike McLaughlin [Tue, 31 Dec 2019 02:14:52 +0000 (18:14 -0800)]
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.

5 years agoSome misc fixes to counters doc (#729)
Sung Yoon Whang [Sat, 4 Jan 2020 01:46:46 +0000 (17:46 -0800)]
Some misc fixes to counters doc (#729)

5 years agoFix sample code to actually print string name of the CLR events (#728)
Sung Yoon Whang [Fri, 3 Jan 2020 20:15:19 +0000 (12:15 -0800)]
Fix sample code to actually print string name of the CLR events (#728)

5 years ago[master] Update dependencies from dotnet/runtime (#713)
dotnet-maestro[bot] [Mon, 30 Dec 2019 21:12:26 +0000 (13:12 -0800)]
[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>
5 years ago[master] Update dependencies from dotnet/arcade (#719)
dotnet-maestro[bot] [Mon, 30 Dec 2019 20:00:58 +0000 (20:00 +0000)]
[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

5 years ago[master] Update dependencies from aspnet/AspNetCore (#718)
dotnet-maestro[bot] [Sat, 28 Dec 2019 13:50:02 +0000 (13:50 +0000)]
[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

5 years agoRemove legacy RuntimeClient library (#722)
Sung Yoon Whang [Thu, 26 Dec 2019 20:15:43 +0000 (12:15 -0800)]
Remove legacy RuntimeClient library (#722)

5 years agoDisplay rundown information when stopping trace (#721)
Sung Yoon Whang [Tue, 24 Dec 2019 03:46:28 +0000 (19:46 -0800)]
Display rundown information when stopping trace (#721)

5 years agoFix EventPipe tests to use the new DiagnosticsClient library (#720)
Sung Yoon Whang [Tue, 24 Dec 2019 01:33:59 +0000 (17:33 -0800)]
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

5 years agoInitial commit (#714)
Sung Yoon Whang [Sun, 22 Dec 2019 19:56:14 +0000 (11:56 -0800)]
Initial commit (#714)

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191219.2 (...
dotnet-maestro[bot] [Fri, 20 Dec 2019 14:01:32 +0000 (14:01 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191219.2 (#716)

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

5 years agoUpdate clrmd to version 1.1.61812 (module size and version info fixes) (#715)
Mike McLaughlin [Fri, 20 Dec 2019 01:02:02 +0000 (17:02 -0800)]
Update clrmd to version 1.1.61812 (module size and version info fixes) (#715)

5 years ago[master] Update dependencies from aspnet/AspNetCore (#706)
dotnet-maestro[bot] [Thu, 19 Dec 2019 13:41:15 +0000 (13:41 +0000)]
[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

5 years agoAdd verbose info to clrmodules command. (#712)
Mike McLaughlin [Thu, 19 Dec 2019 00:53:10 +0000 (16:53 -0800)]
Add verbose info to clrmodules command. (#712)

Add version info to modules command.

5 years agoAvoid NullReferenceException in case the code path is run under an incompatible runti...
Andrew Au [Wed, 18 Dec 2019 21:58:31 +0000 (13:58 -0800)]
Avoid NullReferenceException in case the code path is run under an incompatible runtime (#711)

5 years agoReduce predeftlsslot.h to the set that SOS actually depends on (#709)
Jan Kotas [Wed, 18 Dec 2019 18:46:43 +0000 (10:46 -0800)]
Reduce predeftlsslot.h to the set that SOS actually depends on (#709)

5 years agoRevert _Pipeline_StreamDumpDir removal (#707)
Mike McLaughlin [Tue, 17 Dec 2019 18:08:37 +0000 (10:08 -0800)]
Revert _Pipeline_StreamDumpDir removal (#707)

5 years agoBump up DiagnosticsClient library version to 0.2.0 (#704)
Sung Yoon Whang [Tue, 17 Dec 2019 07:54:48 +0000 (23:54 -0800)]
Bump up DiagnosticsClient library version to 0.2.0 (#704)

5 years agoMake scheduled builds full official builds (#703)
Mike McLaughlin [Tue, 17 Dec 2019 06:41:59 +0000 (22:41 -0800)]
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

5 years agoMake MultiplePublishedProcessTest more stable (#701)
Sung Yoon Whang [Tue, 17 Dec 2019 06:32:32 +0000 (22:32 -0800)]
Make MultiplePublishedProcessTest more stable (#701)

* Make MultiplePublishedProcessTest more stable

5 years agoUpdate windows-instructions.md
Mike McLaughlin [Tue, 17 Dec 2019 01:20:05 +0000 (17:20 -0800)]
Update windows-instructions.md

5 years agoadd .NET Standard 2.0 for diagnostics client library (#700)
Adam Sitnik [Mon, 16 Dec 2019 23:59:19 +0000 (00:59 +0100)]
add .NET Standard 2.0 for diagnostics client library (#700)

5 years agoUpdate dependencies from https://github.com/dotnet/arcade build 20191215.1 (#699)
dotnet-maestro[bot] [Mon, 16 Dec 2019 13:47:32 +0000 (13:47 +0000)]
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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191214.22 ...
dotnet-maestro[bot] [Sun, 15 Dec 2019 13:40:31 +0000 (13:40 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191214.22 (#698)

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

5 years agoRevert back to 3.0.100 SDK version (#697)
Mike McLaughlin [Sun, 15 Dec 2019 00:50:53 +0000 (16:50 -0800)]
Revert back to 3.0.100 SDK version (#697)

5 years agoFix scheduled build (#696)
Mike McLaughlin [Sat, 14 Dec 2019 23:33:57 +0000 (15:33 -0800)]
Fix scheduled build (#696)

5 years agoFix various issues (#690)
Mike McLaughlin [Sat, 14 Dec 2019 23:29:42 +0000 (15:29 -0800)]
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

5 years agoUpdate dependencies from https://github.com/dotnet/arcade build 20191213.1 (#694)
dotnet-maestro[bot] [Sat, 14 Dec 2019 18:40:26 +0000 (18:40 +0000)]
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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191213.21 ...
dotnet-maestro[bot] [Sat, 14 Dec 2019 13:39:36 +0000 (13:39 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191213.21 (#695)

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

5 years agoUse darc runtime subscription versions for testing (#682)
Mike McLaughlin [Fri, 13 Dec 2019 22:47:52 +0000 (14:47 -0800)]
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

5 years ago[master] Update dependencies from aspnet/AspNetCore (#688)
dotnet-maestro[bot] [Fri, 13 Dec 2019 14:03:42 +0000 (14:03 +0000)]
[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

5 years agoFix GCEvent test being flakey (#689)
Sung Yoon Whang [Thu, 12 Dec 2019 23:16:18 +0000 (15:16 -0800)]
Fix GCEvent test being flakey (#689)

* Fix GCEvent test being flakey

* Fix build

5 years agoIncorrect tool referenced (#687)
Sean-Driscoll [Thu, 12 Dec 2019 14:28:49 +0000 (09:28 -0500)]
Incorrect tool referenced (#687)

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191210.3 (...
dotnet-maestro[bot] [Wed, 11 Dec 2019 14:36:56 +0000 (14:36 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191210.3 (#684)

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

5 years agoFix ContentionEvents test to make it more stable (#683)
jiangzeng01 [Wed, 11 Dec 2019 10:39:26 +0000 (18:39 +0800)]
Fix ContentionEvents test to make it more stable (#683)

5 years agoAdd EventPipe events test (#659)
jiangzeng01 [Wed, 11 Dec 2019 01:37:20 +0000 (09:37 +0800)]
Add EventPipe events test (#659)

5 years agoPrepare SOS for single file support and add desktop CLR support (#658)
Mike McLaughlin [Tue, 10 Dec 2019 05:46:15 +0000 (21:46 -0800)]
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

5 years agoUpgrade to latest System.CommandLine version (#668)
Mike McLaughlin [Fri, 6 Dec 2019 23:13:16 +0000 (15:13 -0800)]
Upgrade to latest System.CommandLine version (#668)

Upgrade to latest System.CommandLine version

Use collection initializers

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191205.16 ...
dotnet-maestro[bot] [Fri, 6 Dec 2019 13:49:39 +0000 (13:49 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191205.16 (#672)

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

5 years agoMicrosoft.Diagnostics.NETCore.Client Implementation (#617)
Sung Yoon Whang [Fri, 6 Dec 2019 00:19:51 +0000 (16:19 -0800)]
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.

5 years agodotnet-counters JSON Exporter improvements (#666)
Sung Yoon Whang [Thu, 5 Dec 2019 21:23:25 +0000 (13:23 -0800)]
dotnet-counters JSON Exporter improvements (#666)

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

* Remove more spaces from the JSON

5 years agoSpeedScope handles only CPU samples, events are not supported (#661)
Adam Sitnik [Thu, 5 Dec 2019 19:19:43 +0000 (20:19 +0100)]
SpeedScope handles only CPU samples, events are not supported (#661)

5 years agoadd missing README.md files for global tools (#662)
Adam Sitnik [Wed, 4 Dec 2019 21:30:47 +0000 (22:30 +0100)]
add missing README.md files for global tools (#662)

* add missing README.md files for global tools

* use relative link

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191203.5 (...
dotnet-maestro[bot] [Wed, 4 Dec 2019 13:51:20 +0000 (13:51 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191203.5 (#665)

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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191202.2 (...
dotnet-maestro[bot] [Tue, 3 Dec 2019 13:50:56 +0000 (13:50 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191202.2 (#660)

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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191201.2 (...
dotnet-maestro[bot] [Mon, 2 Dec 2019 13:50:40 +0000 (13:50 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191201.2 (#657)

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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191128.4 (...
dotnet-maestro[bot] [Fri, 29 Nov 2019 13:50:48 +0000 (13:50 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191128.4 (#656)

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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191127.15 ...
dotnet-maestro[bot] [Thu, 28 Nov 2019 13:50:27 +0000 (13:50 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191127.15 (#655)

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

5 years agoAvoid exceptions when console is not available (#644)
Paul Harrington [Wed, 27 Nov 2019 18:41:29 +0000 (10:41 -0800)]
Avoid exceptions when console is not available (#644)

* Do not manipulate cursor if Console not available

* Use console.GetTerminal() to test for console

5 years agoAdd documentation on EventCounters (#605)
Sung Yoon Whang [Wed, 27 Nov 2019 00:00:30 +0000 (16:00 -0800)]
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

5 years agoUpdate dependencies from https://github.com/aspnet/AspNetCore build 20191125.10 ...
dotnet-maestro[bot] [Tue, 26 Nov 2019 13:49:43 +0000 (13:49 +0000)]
Update dependencies from https://github.com/aspnet/AspNetCore build 20191125.10 (#650)

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

5 years agoFix Windows X86 SOS test failures (#647)
Mike McLaughlin [Mon, 25 Nov 2019 23:39:18 +0000 (15:39 -0800)]
Fix Windows X86 SOS test failures (#647)

5 years agoAdd dependencies on testing packages (#640)
Juan Hoyos [Sat, 23 Nov 2019 19:26:01 +0000 (11:26 -0800)]
Add dependencies on testing packages (#640)

5 years agoTest 3.1 runtime, stop testing on 1.1 and 2.2 (#639)
Mike McLaughlin [Sat, 23 Nov 2019 19:25:53 +0000 (11:25 -0800)]
Test 3.1 runtime, stop testing on 1.1 and 2.2 (#639)

Update help doc with some missing aliases.

5 years agoMake dotnet-counters aware of DisplayUnits (#642)
Sung Yoon Whang [Sat, 23 Nov 2019 02:26:47 +0000 (18:26 -0800)]
Make dotnet-counters aware of DisplayUnits (#642)

5 years agolist-processes -> ps (#641)
Andy Sterland [Sat, 23 Nov 2019 01:10:39 +0000 (17:10 -0800)]
list-processes -> ps (#641)

It looks like list-processes is no longer a command and instead it's ps.

5 years agoAdd 3.1 to the installed host runtimes (#636)
Mike McLaughlin [Fri, 22 Nov 2019 02:22:25 +0000 (18:22 -0800)]
Add 3.1 to the installed host runtimes (#636)

Add 3.1 to the installed host runtimes

Don`t enable exception callback if bpmd hasn't been executed

5 years agoAdding a documentation page for using a privately build sos (#626)
Andrew Au [Wed, 20 Nov 2019 00:12:56 +0000 (16:12 -0800)]
Adding a documentation page for using a privately build sos (#626)

5 years agoadd eventpipe test harness (#618)
John Salem [Tue, 19 Nov 2019 23:10:29 +0000 (15:10 -0800)]
add eventpipe test harness (#618)

* Add eventpipe test harness to diagnostics repo

5 years agoFix flushing of string builder for multi-parameter conditions (#625)
Juan Hoyos [Tue, 19 Nov 2019 17:47:59 +0000 (09:47 -0800)]
Fix flushing of string builder for multi-parameter conditions (#625)

5 years agoFix bpmd on Windows and other changes (#622)
Mike McLaughlin [Mon, 18 Nov 2019 22:59:18 +0000 (14:59 -0800)]
Fix bpmd on Windows and other changes (#622)

Fix bpmd on Windows by implementing IDataTarget2 which allows the DAC to allocate a JIT notification
table which is empty on Windows. Issue https://github.com/dotnet/diagnostics/issues/584.

Add SetRuntimeLoadedCallback lldb service for bpmd

Allow bpmd to work before coreclr is loaded. Issue https://github.com/dotnet/diagnostics/issues/15

Upgrade to symstore 1.0.55801

Set/reset symbol server path anytime .sympath changes

Add lldb h files to plugin project

Add bpmd tests. Update readme and help docs

5 years agoFix config parser and logging path to support (#620)
Juan Hoyos [Fri, 15 Nov 2019 18:50:26 +0000 (10:50 -0800)]
Fix config parser and logging path to support (#620)

* Fix flaw in configuration parser error detection for negative clauses
* Logging paths can't have wildcards, but runtime specifiers can and this is used in our log names. In that case I resorted to use <Major.Minor.Patch> as the version for the log while preserving old behavior. That way xUnit still displays the full arg list for test disambiguation, but the logs only contain valid file names

5 years agoTry using the test reporter to report tests (#615)
Juan Hoyos [Thu, 14 Nov 2019 19:54:22 +0000 (11:54 -0800)]
Try using the test reporter to report tests (#615)

Use the AzDO pipeline reporter for xUnit style tests:

- This adds a per test report per run.
- Reports are now seen in the tests tab of a pipeline run as well as a tally in GitHub