platform/core/dotnet/diagnostics.git
6 years agoFix various problems in the "clrstack -i" command that trash memory and fail the...
noahfalk [Tue, 5 Feb 2019 08:23:34 +0000 (00:23 -0800)]
Fix various problems in the "clrstack -i" command that trash memory and fail the tests

(work originally by mikem, I just split his mega-commit so history would a little more understandable)

6 years agoFix dotnet/coreclr#20205
noahfalk [Tue, 5 Feb 2019 08:17:42 +0000 (00:17 -0800)]
Fix dotnet/coreclr#20205

1) Create a symlink to the DAC in a temp directory where libcoreclrtraceptprovider.so
doesn't exist so it doesn't get loaded by the DAC causing a LTTng-UST exception. To
 workaround issue #dotnet/coreclr#20205.

2) Add temporary file clean up on SOS exit for both the above symlink
 and the native symbol downloader code.

(work originally by mikem, I just split his mega-commit so history would a little more understandable)

6 years agoMerge "Fix SOS GCInfo for Arm/Arm64" PR #22188 from coreclr SOS.
noahfalk [Tue, 5 Feb 2019 08:04:58 +0000 (00:04 -0800)]
Merge "Fix SOS GCInfo for Arm/Arm64" PR #22188 from coreclr SOS.

(work originally by mikem, I just split his mega-commit so history would a little more understandable)

6 years agoMinor PAL refactor, cleanup, fix MAX_LONGPATH
noahfalk [Tue, 5 Feb 2019 08:04:05 +0000 (00:04 -0800)]
Minor PAL refactor, cleanup, fix MAX_LONGPATH

(work originally by mikem, I just split his mega-commit so history would a little more understandable)

6 years agoSmall engineering and test updates
noahfalk [Tue, 5 Feb 2019 07:56:30 +0000 (23:56 -0800)]
Small engineering and test updates

1) Update to 2.1.503 SDK/2.1.7 runtime.
2) Test against 2.2 instead of 2.0
3) Push test logs on public ci

(work originally mikem, I just split his mega-commit so history would be a little more understandable)

6 years agoMerge pull request #112 from noahfalk/cli_tools_spec
Noah Falk [Tue, 15 Jan 2019 04:13:15 +0000 (20:13 -0800)]
Merge pull request #112 from noahfalk/cli_tools_spec

Add background info for CLI tools design

6 years agoAdd background info for CLI tools design
noahfalk [Tue, 15 Jan 2019 04:09:18 +0000 (20:09 -0800)]
Add background info for CLI tools design

6 years agoFix extension gallery zip layout (#110)
Mike McLaughlin [Fri, 11 Jan 2019 21:44:35 +0000 (13:44 -0800)]
Fix extension gallery zip layout (#110)

Update help docs.

Enable FinalizeQueue command on xplat

6 years agoMerge pull request #107 from noahfalk/design-docs
Noah Falk [Thu, 10 Jan 2019 10:04:28 +0000 (02:04 -0800)]
Merge pull request #107 from noahfalk/design-docs

starting dotnet diag tools design

6 years agostarting dotnet diag tools design
noahfalk [Thu, 10 Jan 2019 09:59:42 +0000 (01:59 -0800)]
starting dotnet diag tools design

grabbed a few comments from existing threads and stuck them
in a doc in the repo so we can iterate on it.

6 years agoFix build badge link in README.md
Chris Sienkiewicz [Tue, 8 Jan 2019 18:59:06 +0000 (10:59 -0800)]
Fix build badge link in README.md

6 years agoUpdate build badge in readme
Chris Sienkiewicz [Tue, 8 Jan 2019 18:48:52 +0000 (10:48 -0800)]
Update build badge in readme

6 years agoNative module symbol download support. (#106)
Mike McLaughlin [Mon, 7 Jan 2019 05:42:03 +0000 (21:42 -0800)]
Native module symbol download support. (#106)

Native module symbol download support.

Other fixes and documentation improvements.

Fix error formatting.

6 years agoMerge pull request #105 from vancem/feedback
Vance Morrison [Thu, 3 Jan 2019 15:56:10 +0000 (07:56 -0800)]
Merge pull request #105 from vancem/feedback

Fixes some small errors and responded to some feedback.

6 years agoFixes some small errors and responded to some feedback.
Vance Morrison [Thu, 3 Jan 2019 15:55:28 +0000 (07:55 -0800)]
Fixes some small errors and responded to some feedback.

6 years agoDownload symbols in lldb/sos and for portable PDBs on Windows/dbgeng. (#101)
Mike McLaughlin [Thu, 13 Dec 2018 20:40:29 +0000 (12:40 -0800)]
Download symbols in lldb/sos and for portable PDBs on Windows/dbgeng. (#101)

* Download symbols in lldb/sos and for portable PDBs on Windows/dbgeng.

Add symbol store support.

Separate the coreclr hosting code.

Use dlopen/dlsym on Linux to host coreclr.

Remove _EFN_ functions and VerifyStackTrace from xplat builds of SOS.

Add native projects for easier Strike development.

Fix packaging and yaml for additional symstore assemblies.

Don't pack dotnet-analyze and dotnet-collect because they currently break the official job.

* Workaround problem in IXCLRDataModule Request that crashes on dynamic
modules. Use the IXCLRDataModule GetFlags to skip them.

* Turn off verbose logging.

6 years agoAdd README for diagnostics tools (#100)
Sourabh Shirhatti [Mon, 10 Dec 2018 19:31:58 +0000 (11:31 -0800)]
Add README for diagnostics tools (#100)

6 years agoUpdate from coreclr SOS. (#98)
Mike McLaughlin [Sat, 8 Dec 2018 21:30:40 +0000 (13:30 -0800)]
Update from coreclr SOS. (#98)

Update from coreclr SOS.

Fix test script.

6 years agoMerge pull request #97 from jorive/dev/markdown-lint-fixes
Vance Morrison [Thu, 6 Dec 2018 23:25:50 +0000 (15:25 -0800)]
Merge pull request #97 from jorive/dev/markdown-lint-fixes

Fix markdown syntax errors for proper rendering of doc on github

6 years agoFix markdown syntax errors for proper rendering of doc on github
José Rivero [Thu, 6 Dec 2018 23:06:21 +0000 (15:06 -0800)]
Fix markdown syntax errors for proper rendering of doc on github

6 years agoMerge pull request #96 from vancem/SplitWorkingDoc
Vance Morrison [Thu, 6 Dec 2018 21:02:22 +0000 (13:02 -0800)]
Merge pull request #96 from vancem/SplitWorkingDoc

Split the working doc from the more finished part

6 years agoSplit the working doc from the more finished part
Vance Morrison [Thu, 6 Dec 2018 21:01:23 +0000 (13:01 -0800)]
Split the working doc from the more finished part

6 years agoMerge pull request #95 from vancem/DiagPlanning
Vance Morrison [Thu, 6 Dec 2018 20:37:22 +0000 (12:37 -0800)]
Merge pull request #95 from vancem/DiagPlanning

Add planning document

6 years agoAdd planning document
Vance Morrison [Thu, 6 Dec 2018 20:36:09 +0000 (12:36 -0800)]
Add planning document

6 years agoadd global tools to repo (#82)
Andrew Stanton-Nurse [Tue, 4 Dec 2018 16:00:31 +0000 (08:00 -0800)]
add global tools to repo (#82)

copied from aspnet/AspLabs/src/DotNetDiagnostics at commit aabd0fa2712a24397a1a16357cac0bd22c9773b1

6 years agoUpdate from coreclr repo and other misc changes. (#80)
Mike McLaughlin [Mon, 26 Nov 2018 23:57:14 +0000 (15:57 -0800)]
Update from coreclr repo and other misc changes. (#80)

DumpDelegate, SyncBlk and DumpAsync SOS command updates.

Add embedded PDB to test helper assembly.

Change how the prebuilt compiler finds the debuggees.

Add lldbplugin project to solution.

6 years agoMerge changes from coreclr repo. (#78)
Mike McLaughlin [Wed, 17 Oct 2018 16:36:04 +0000 (09:36 -0700)]
Merge changes from coreclr repo. (#78)

* Merge changes from coreclr repo.

Misc PAL and inc file changes.

Remove context statics support from SOS.

Add support for collectible types to SOS.

Upgrade to Arcade version 1.0.0-beta.18516.5

6 years agoFix local build break. (#77)
Mike McLaughlin [Tue, 9 Oct 2018 06:24:47 +0000 (23:24 -0700)]
Fix local build break. (#77)

6 years agoConvert to Arcade SDK from the RoslynTools.RepoToolSet (#76)
Mike McLaughlin [Tue, 9 Oct 2018 03:46:24 +0000 (20:46 -0700)]
Convert to Arcade SDK from the RoslynTools.RepoToolSet (#76)

Convert to Arcade SDK from RoslynTools.RepoToolSet.

Upgrade to arcade SDK 1.0.0-beta.18501.3+25f5624a

Switched to dotnet cli 2.1.401

There are still some zip signing and version file issues that
will be addressed in future PRs.

Fix the version file build and remove the build tools dependency

6 years agoAdd cdb extensions that prints a reliable prompt. (#75)
Mike McLaughlin [Mon, 24 Sep 2018 17:49:44 +0000 (10:49 -0700)]
Add cdb extensions that prints a reliable prompt. (#75)

To fix issue #59.

6 years agoUpdate the building and installing lldb docs. (#74)
Mike McLaughlin [Fri, 21 Sep 2018 04:33:12 +0000 (21:33 -0700)]
Update the building and installing lldb docs. (#74)

Add embedded pdbs to testing.

Add scripts to build/install lldb for some distros.

Fix the build on certain distros after testing docs.

Add RuntimeFrameworkVersionMajor.

6 years agoDaily (#70)
Mike McLaughlin [Tue, 11 Sep 2018 21:27:42 +0000 (14:27 -0700)]
Daily (#70)

Add daily yml build logic

Fix problem with internal vs public CI build problems.

Sync'ed the telemetry build logic with arcade.

6 years agoAdd downloading and testing the latest master runtime. (#69)
Mike McLaughlin [Mon, 10 Sep 2018 21:54:26 +0000 (14:54 -0700)]
Add downloading and testing the latest master runtime. (#69)

Add "daily-test" option to scripts/config.

6 years agoTest against the desktop framework (net461) on Windows. (#67)
Mike McLaughlin [Thu, 6 Sep 2018 04:04:13 +0000 (21:04 -0700)]
Test against the desktop framework (net461) on Windows. (#67)

Test against the desktop framework (net462) on Windows.

Fix assert in config file conditional expressions.

6 years agoDependent builds, publishing and packaging (#65)
Mike McLaughlin [Fri, 24 Aug 2018 23:56:12 +0000 (16:56 -0700)]
Dependent builds, publishing and packaging (#65)

Restore Microsoft.DotNet.BuildTools to generate the
native build _version.h/version.cpp.

Generate proper version header and source file for
native binaries. Issue https://github.com/dotnet/diagnostics/issues/19.

6 years agoFix a PAL spin lock issue (#62)
Koundinya Veluri [Thu, 23 Aug 2018 05:13:28 +0000 (22:13 -0700)]
Fix a PAL spin lock issue (#62)

Fix for https://github.com/dotnet/coreclr/issues/18486
- Lock release needs to be at least volatile

coreclr master PR: https://github.com/dotnet/coreclr/pull/19604

6 years agoUpgrade to RepoToolset version 1.0.0-beta2-63206-01 (#57)
Mike McLaughlin [Tue, 7 Aug 2018 20:38:46 +0000 (13:38 -0700)]
Upgrade to RepoToolset version 1.0.0-beta2-63206-01 (#57)

Upgrade to RepoToolset version 1.0.0-beta2-63206-01

6 years agoTest on more Linux distros. (#55)
Mike McLaughlin [Mon, 6 Aug 2018 16:49:46 +0000 (09:49 -0700)]
Test on more Linux distros. (#55)

Test on more Linux distros.

Fix some other problems in the internal builds.

Fixed problem in sos test runner that ignored sos commands failing.

Added a file or directory exists condition for configuration file entries.

Change the dump generation to use createdump for 2.1/2.0. Still uses gdb for 1.1.

Fixed ReadVirtualCache::Read problem on lldb that caused the tests to fail on OSX.  The lldb
services Read/WriteVirtual needed to properly return a partial read or write.

6 years agoMisc changes and cleanup. (#33)
Mike McLaughlin [Mon, 23 Jul 2018 18:04:27 +0000 (11:04 -0700)]
Misc changes and cleanup. (#33)

Misc changes and cleanup.

Add/update documentation.

Test against .NET Core 1.0.9, 2.0.9 and 2.1.0.

Removed using the desktop framework to find the diasymreader interface.

6 years agoMerge pull request #32 from mikem8361/updatefromcoreclr
Mike McLaughlin [Mon, 2 Jul 2018 21:54:50 +0000 (14:54 -0700)]
Merge pull request #32 from mikem8361/updatefromcoreclr

Update pal/SOS from latest coreclr.

6 years agoFix internal build def's linux log upload name.
Mike McLaughlin [Mon, 2 Jul 2018 21:20:14 +0000 (14:20 -0700)]
Fix internal build def's linux log upload name.

6 years agoUpdate pal/SOS from latest coreclr.
Mike McLaughlin [Sat, 30 Jun 2018 00:58:25 +0000 (17:58 -0700)]
Update pal/SOS from latest coreclr.

Commit #c7bfd35ab09306885ae74c760ac69ec42be42557

6 years agoMerge pull request #31 from mikem8361/sostests
Mike McLaughlin [Fri, 29 Jun 2018 22:06:17 +0000 (15:06 -0700)]
Merge pull request #31 from mikem8361/sostests

 SOS.UnitTests now builds and runs on Windows, Linux and OSX

6 years agoSOS.UnitTests now builds and runs on Windows, Linux and OSX.
Mike McLaughlin [Tue, 29 May 2018 23:27:05 +0000 (16:27 -0700)]
SOS.UnitTests now builds and runs on Windows, Linux and OSX.

Added conditional to config files. Now any config value, Options or Option
can have a Condition="$(foo) == bar". Only == and != are supported.

Added Import config file support allow one config file to import
another. <Import ConfigFile="<name of file>" />

Upgraded to .NET Core cli version 2.1.300 (final release).

Don't use the dbgeng ioctl to get the DAC interface on Windows.

Move test logging to better named directory

6 years agoAdd the Test.Debuggers/SOS/Scripts/Debuggees base commit.
Mike McLaughlin [Tue, 29 May 2018 23:06:50 +0000 (16:06 -0700)]
Add the Test.Debuggers/SOS/Scripts/Debuggees base commit.

From dotnet-diagnostictests commit #ff064024837e6e6deb0136c817d1af4944450a28

6 years agoFix build scripts. (#30)
Mike McLaughlin [Thu, 28 Jun 2018 06:07:35 +0000 (23:07 -0700)]
Fix build scripts. (#30)

6 years agoFix internal yaml build. (#29)
Mike McLaughlin [Thu, 28 Jun 2018 05:05:54 +0000 (22:05 -0700)]
Fix internal yaml build. (#29)

Update common eng scripts and files from arcade. Add missing is-vsts.* ones.

6 years agoUpdate .vsts-dotnet.yml (#28)
Mike McLaughlin [Wed, 27 Jun 2018 23:19:01 +0000 (16:19 -0700)]
Update .vsts-dotnet.yml (#28)

6 years agoUpdate .vsts-dotnet.yml (#27)
Mike McLaughlin [Wed, 27 Jun 2018 20:53:56 +0000 (13:53 -0700)]
Update .vsts-dotnet.yml (#27)

6 years agoFix internal build yaml file (#26)
Mike McLaughlin [Wed, 27 Jun 2018 20:47:07 +0000 (13:47 -0700)]
Fix internal build yaml file (#26)

6 years agoAdd CI build and test for Windows, Linux (Centos 7) and macOS (#25)
Mike McLaughlin [Wed, 27 Jun 2018 17:02:03 +0000 (10:02 -0700)]
Add CI build and test for Windows, Linux (Centos 7) and macOS (#25)

Update README build status.

Add swift 4.1 lldb include files

7 years agoSetup for yaml based builds. (#23)
Mike McLaughlin [Fri, 8 Jun 2018 22:58:14 +0000 (15:58 -0700)]
Setup for yaml based builds. (#23)

7 years agoAdd documentation on building this repo (#21)
Mike McLaughlin [Sat, 26 May 2018 21:32:58 +0000 (14:32 -0700)]
Add documentation on building this repo (#21)

Add documentation on building.

Update README.md

7 years agoMerge pull request #20 from mikem8361/fixmacos
Mike McLaughlin [Sat, 26 May 2018 01:22:23 +0000 (18:22 -0700)]
Merge pull request #20 from mikem8361/fixmacos

Fix MacOS lldb plugin build.

7 years agoFix MacOS lldb plugin build and tests.
Mike McLaughlin [Fri, 25 May 2018 23:21:19 +0000 (16:21 -0700)]
Fix MacOS lldb plugin build and tests.

Add swift 4.0 include files to build plugin on MacOS.

7 years agoMerge pull request #12 from mikem8361/addpalsos
Mike McLaughlin [Fri, 25 May 2018 23:09:22 +0000 (16:09 -0700)]
Merge pull request #12 from mikem8361/addpalsos

 Add the PAL and SOS itself

7 years agoAdd the PAL and SOS itself.
Mike McLaughlin [Sun, 20 May 2018 01:11:08 +0000 (18:11 -0700)]
Add the PAL and SOS itself.

Enable native SOS build on windows.

Remove libunwind from the PAL

Cleanup and include file trimming.

Change the SOS.NETCore.dll load directory to sos's location.

Load sos from current working directory that the plugin is in.

Update help for stress logs.

Add "sethostruntime" SOS command.

7 years agoPAL and SOS base.
Mike McLaughlin [Sun, 20 May 2018 00:55:12 +0000 (17:55 -0700)]
PAL and SOS base.

From commit #2d68d032723f934f46018767f46dc534d4fc6c1f (preview1-26508-05) in the coreclr repo.

7 years agoMerge pull request #11 from mikem8361/scriptfixes
Mike McLaughlin [Thu, 10 May 2018 23:09:58 +0000 (16:09 -0700)]
Merge pull request #11 from mikem8361/scriptfixes

Properly find lldb binary in testsos.sh

7 years agoProperly find lldb binary in testsos.sh
Mike McLaughlin [Thu, 10 May 2018 21:29:02 +0000 (14:29 -0700)]
Properly find lldb binary in testsos.sh

7 years agoMerge pull request #10 from mikem8361/scripts
Mike McLaughlin [Thu, 10 May 2018 00:13:44 +0000 (17:13 -0700)]
Merge pull request #10 from mikem8361/scripts

Add license headers

7 years agoAdd license headers
Mike McLaughlin [Wed, 9 May 2018 19:42:25 +0000 (12:42 -0700)]
Add license headers

Add .NET Core install script that works on Fedora, OpenSuse, etc.

Update to dotnet 2.1.300-rc1-008673

7 years agoMerge pull request #5 from mikem8361/testci
Mike McLaughlin [Mon, 7 May 2018 23:55:57 +0000 (16:55 -0700)]
Merge pull request #5 from mikem8361/testci

Test CI build.

7 years agoFix CI build.
Mike McLaughlin [Mon, 7 May 2018 23:32:40 +0000 (16:32 -0700)]
Fix CI build.

7 years agoMerge pull request #4 from mikem8361/lldbplugin
Mike McLaughlin [Mon, 7 May 2018 23:28:30 +0000 (16:28 -0700)]
Merge pull request #4 from mikem8361/lldbplugin

Add lldbplugin and native build scripts.

7 years agoAdd lldbplugin and native build scripts.
Mike McLaughlin [Sat, 28 Apr 2018 00:01:46 +0000 (17:01 -0700)]
Add lldbplugin and native build scripts.

Add SOS/lldb plugin tests from coreclr.

Add native build, test and ci scripts.

7 years agoMerge pull request #3 from mikem8361/addsos
Mike McLaughlin [Thu, 26 Apr 2018 22:49:40 +0000 (15:49 -0700)]
Merge pull request #3 from mikem8361/addsos

Add the managed SOS code.

7 years agoAdd the managed SOS code.
Mike McLaughlin [Thu, 22 Mar 2018 01:58:34 +0000 (18:58 -0700)]
Add the managed SOS code.

Using the Roslyn repo tool set to build (for now).

7 years agoInitialize repo
Mike McLaughlin [Thu, 22 Mar 2018 01:05:51 +0000 (18:05 -0700)]
Initialize repo