platform/core/dotnet/diagnostics.git
6 years agoAdd Convert command (#196)
John Salem [Fri, 26 Apr 2019 23:34:01 +0000 (16:34 -0700)]
Add Convert command (#196)

* Add Convert command:
* make default format for all platforms 'netperf'
* update spec to refelct impl

* Simplify try/catch to using statements in converter code

* Account for scenario when someone doesn't specify an output filename and the input trace file doesn't have the default name

* Grammar nit

* Update enum value to use Pascal case
* remove -f shorthand for format option

* * remove try/catch
* use ExistingOnly argument extension
* remove unnecessary Arity qualifications

6 years agoAdd command handler to dotnet-counters (#200)
Sung Yoon Whang [Fri, 26 Apr 2019 07:50:47 +0000 (00:50 -0700)]
Add command handler to dotnet-counters (#200)

6 years agoBringing dotnet counters up to spec [part 1] (#199)
Sung Yoon Whang [Fri, 26 Apr 2019 06:15:52 +0000 (23:15 -0700)]
Bringing dotnet counters up to spec [part 1] (#199)

* fix build warnings

* For some reason we dont have CounterType field inside the payload...

* support multiple providers

* Filtering

* Fix broken alignment on list command

* spaces

* support filtering for an entire provider

* Removing -r option

* Add filter for System.Runtime for default monitoring session

6 years agoMake dotnet-counter stream values in real time (#197)
Sung Yoon Whang [Thu, 25 Apr 2019 22:50:00 +0000 (15:50 -0700)]
Make dotnet-counter stream values in real time (#197)

* Streaming counters

* DisplayName stuff

* fix build

* few demo changes

* parsing command-line provided counter list works now

* No more string parsing!!!

* some more fixes in writer

* update license header, display rates

* Removing useless files

* Use known displaynames for known providers

* cleanup

* spaces

* more cleanup

* more cleanup

* PR feedback

6 years agoRenaming non-spec options on dotnet-trace (#192)
José Rivero [Thu, 25 Apr 2019 00:16:10 +0000 (17:16 -0700)]
Renaming non-spec options on dotnet-trace (#192)

* Rename the "profiles" verb to "list-profiles"
* Rename the "endpoints" verb to "list-processes"
* Move pack option/verb to future.
* Move the 'g' command (capture GC heap snapshot) to future.
* Updating docs with missing functionality.

6 years agoNot ready on Non-Windows platform. (#178)
José Rivero [Wed, 24 Apr 2019 15:55:44 +0000 (08:55 -0700)]
Not ready on Non-Windows platform. (#178)

Not ready on Non-Windows platform for **.NET 3.0 Preview5**. This is related to this bug fix: https://github.com/dotnet/coreclr/pull/24198, which will be included in **Preview6**.
The issue manifests when EventPipe is enabled without LTTng. In this case, GC events are disabled after the first GC because LTTng probes are disabled.

6 years agoMerge pull request #187 from mikem8361/fixlldbdoc
Mike McLaughlin [Wed, 24 Apr 2019 00:36:12 +0000 (17:36 -0700)]
Merge pull request #187 from mikem8361/fixlldbdoc

Fix lldb build instructions and scripts.

6 years agoFix lldb build instructions and scripts.
Mike McLaughlin [Tue, 23 Apr 2019 23:28:24 +0000 (16:28 -0700)]
Fix lldb build instructions and scripts.

For CentOS 7, Fedora 24 and OpenSUSE.

6 years agoTypos (#177)
John Doe [Tue, 23 Apr 2019 16:38:48 +0000 (09:38 -0700)]
Typos (#177)

* comamnd -> command
* commited -> committed
* convinient -> convenient
* currnet -> current
* deafualts -> defaults
* defualts -> defaults
* dianostics -> diagnostics
* interogates -> interrogates
* precendent -> precedent
* Redit -> Redis
* if -> is

6 years agoMerge pull request #179 from mikem8361/fixcentos7
Mike McLaughlin [Tue, 23 Apr 2019 05:09:26 +0000 (22:09 -0700)]
Merge pull request #179 from mikem8361/fixcentos7

Fix the build-install-lldb.sh network failure.

6 years agoFix the build-install-lldb.sh network failure.
Mike McLaughlin [Tue, 23 Apr 2019 05:05:46 +0000 (22:05 -0700)]
Fix the build-install-lldb.sh network failure.

Changed downloading binutils from sourceware.org to http://ftp.gnu.org/gnu/binutils.

6 years agoMerge pull request #176 from mikem8361/vs2019fix
Mike McLaughlin [Tue, 23 Apr 2019 04:36:53 +0000 (21:36 -0700)]
Merge pull request #176 from mikem8361/vs2019fix

Fix building with vs2019 only.

6 years agoFix building with vs2019 only.
Mike McLaughlin [Mon, 22 Apr 2019 23:21:30 +0000 (16:21 -0700)]
Fix building with vs2019 only.

6 years agoUpdating gc/gc-collect options to map PerfView flags. (#175)
José Rivero [Mon, 22 Apr 2019 23:12:50 +0000 (16:12 -0700)]
Updating gc/gc-collect options to map PerfView flags. (#175)

6 years agoMerge pull request #164 from github-john-doe/typos
Mike McLaughlin [Mon, 22 Apr 2019 20:54:53 +0000 (13:54 -0700)]
Merge pull request #164 from github-john-doe/typos

Typos

6 years ago[dotnet-trace] Small changes (#173)
José Rivero [Sat, 20 Apr 2019 06:16:54 +0000 (23:16 -0700)]
[dotnet-trace] Small changes (#173)

- Replace hardcoded numbers with existing/equivalent enum.
- Move non-common options to Collect, and started plumbing pack options.
- Remove comment.
- Remove pack changes

6 years agoSpeedscope format (#171)
John Salem [Fri, 19 Apr 2019 18:15:28 +0000 (11:15 -0700)]
Speedscope format (#171)

* Incorporate code from closed PR #114 to enable speedscope output:
* adds format option

* Actually add the converter...

* update dotnet-trace instructions

* Expanded on output format section of instructions

* Change protection level of TraceFileFormatConverter

* Updates in response to feedback

* Update src/Tools/dotnet-trace/TraceFileFormatConverter.cs

Co-Authored-By: josalem <josalem@microsoft.com>
* Update src/Tools/dotnet-trace/CommandLine/Options/CommonOptions.cs

Co-Authored-By: josalem <josalem@microsoft.com>
* Fix typos

6 years ago[dotnet-trace] Adding --profile options and minor fixes. (#172)
José Rivero [Fri, 19 Apr 2019 06:12:37 +0000 (23:12 -0700)]
[dotnet-trace] Adding --profile options and minor fixes. (#172)

* OnStop: rename pid -> processId
* Adding a Versions.props
* Update Collect output format. Added the process main module path.
* Adding profiles verb
* Adding --profile option.
* up-to-spec
* Renaming few ETW instances to EventPipe.

6 years agoMerge pull request #169 from mikem8361/gcheap
Mike McLaughlin [Thu, 18 Apr 2019 22:11:43 +0000 (15:11 -0700)]
Merge pull request #169 from mikem8361/gcheap

Add a destructor for sos::GCHeap

6 years agoAdd a destructor for sos::GCHeap
Mike McLaughlin [Thu, 18 Apr 2019 00:18:45 +0000 (17:18 -0700)]
Add a destructor for sos::GCHeap

Integer Conversion Issues from GCC

From PR https://github.com/dotnet/coreclr/pull/23934 in coreclr.

6 years agodotnet-trace instructions draft and misc. (#161)
José Rivero [Thu, 18 Apr 2019 02:05:00 +0000 (19:05 -0700)]
dotnet-trace instructions draft and misc. (#161)

* Move instructions under documentation.
* Update docs with current help string, new option, and repo readme.
* Making dotnet-trace a packable tool
* Updating default CircularBufferSizeMB to 256MB.
* Making RuntimeClient packable.
* Enable `ports` as `endpoints` for end-users
* processId must be greater than zero.

6 years agopersistance -> persistence
John Doe [Wed, 17 Apr 2019 23:21:58 +0000 (16:21 -0700)]
persistance -> persistence

6 years agooverriden -> overridden
John Doe [Wed, 17 Apr 2019 23:21:11 +0000 (16:21 -0700)]
overriden -> overridden

6 years agomigth -> might
John Doe [Wed, 17 Apr 2019 23:19:59 +0000 (16:19 -0700)]
migth -> might

6 years agoexistant -> existent
John Doe [Wed, 17 Apr 2019 23:18:32 +0000 (16:18 -0700)]
existant -> existent

6 years agodebugge -> debuggee
John Doe [Wed, 17 Apr 2019 23:16:27 +0000 (16:16 -0700)]
debugge -> debuggee

6 years agocomparsion -> comparison
John Doe [Wed, 17 Apr 2019 23:15:44 +0000 (16:15 -0700)]
comparsion -> comparison

6 years agocommnd -> command
John Doe [Wed, 17 Apr 2019 23:14:37 +0000 (16:14 -0700)]
commnd -> command

6 years agoCommited -> Committed
John Doe [Wed, 17 Apr 2019 23:12:30 +0000 (16:12 -0700)]
Commited -> Committed

6 years agoAttrbute -> Attribute
John Doe [Wed, 17 Apr 2019 23:10:19 +0000 (16:10 -0700)]
Attrbute -> Attribute

6 years agoavaliable -> available
John Doe [Wed, 17 Apr 2019 23:09:51 +0000 (16:09 -0700)]
avaliable -> available

6 years agoMerge pull request #162 from mikem8361/docup
Mike McLaughlin [Wed, 17 Apr 2019 19:33:06 +0000 (12:33 -0700)]
Merge pull request #162 from mikem8361/docup

Update global tool versions in docs.

6 years agoUpdate global tool versions in docs.
Mike McLaughlin [Wed, 17 Apr 2019 16:39:54 +0000 (09:39 -0700)]
Update global tool versions in docs.

6 years agoChange ResetCurrentConsoleLine() to use explicit ANSI escape codes (#159)
John Salem [Wed, 17 Apr 2019 18:16:19 +0000 (11:16 -0700)]
Change ResetCurrentConsoleLine() to use explicit ANSI escape codes  (#159)

* Change ResetCurrentConsoleLine() to use explicit ANSI escape codes to rewrite line

* Add System.CommandLine.Rendering and use it to determine when we can use ANSI escape codes.

* Add fallback if vterm is not supported

* Changes in resposne to feedback:
* actually assign prevBufferWidth
* reset cursor to specific row and column instead of just column

6 years agoMerge pull request #160 from mikem8361/preview5
Mike McLaughlin [Wed, 17 Apr 2019 04:51:16 +0000 (21:51 -0700)]
Merge pull request #160 from mikem8361/preview5

Misc doc and version updates for preview5

6 years agoMisc doc and version updates for preview5.
Mike McLaughlin [Tue, 16 Apr 2019 22:08:01 +0000 (15:08 -0700)]
Misc doc and version updates for preview5.

Reconcile dotnet-dump spec/implementation. Issue #126.

6 years agoAdd ctrl c handler and modify enter key handler to be non-blocking (#155)
John Salem [Wed, 17 Apr 2019 00:13:29 +0000 (17:13 -0700)]
Add  ctrl c handler and modify enter key handler to be non-blocking (#155)

* Add  ctrl c handler and modify enter key handler to be non-blocking

6 years ago[dotnet-trace] More changes to make tool ready for preview5 (#156)
José Rivero [Tue, 16 Apr 2019 05:09:41 +0000 (22:09 -0700)]
[dotnet-trace] More changes to make tool ready for preview5 (#156)

- Updating tests.
- Restore test project to run as netcoreapp3.0
  - EventPipe with IPC is a 3.0 feature, it does not work in older releases.
- Make dotnet-trace up to spec.
- Fix some markdown syntaxt errors
- Fix typo
- `--process-id` maps to `processId`
- Reduce named pipe connect timeout from 20 sec to 3 sec.
- Update --providers description.

6 years ago[dotnet-trace] Making tool up to spec. (#154)
José Rivero [Thu, 11 Apr 2019 04:46:23 +0000 (21:46 -0700)]
[dotnet-trace] Making tool up to spec. (#154)

* Making dotnet-trace more up to spec.
* Move the start/stop commands under debug.
* Basic data sanitazation.
* Properly clear the current console line.
* Remove debug code, and some renaming to match functionality and runtime.
* Update tests.

6 years ago[dotnet-trace] Minor updates to match recent CoreClr changes, error handling, and...
José Rivero [Tue, 9 Apr 2019 16:46:01 +0000 (09:46 -0700)]
[dotnet-trace] Minor updates to match recent CoreClr changes, error handling, and tests (#153)

- Move common csproj properties to a common props file
- Add more tracing file extensions to .gitignore
- Update runtime client to enable streaming on non-Windows platforms.
- Adding helper bash scripts
- Update RunTimeClient
  - Updated `DiagnosticMessageType` private -> public
  - Ignore `sessionId == 0` on the "Disable" command
  - Added a `SessionLoggingType` to be added to the command protocol
  - Removed `multi file sec` related functionality
  - Ignore buffer size of zero
  - Added some initial tests that need to be moved to CoreClr.
- Update dotnet-counters with changes in RuntimeClient library
  - dotnet-counters.csproj : error NU1605: Detected package downgrade: Microsoft.Diagnostics.Tracing.TraceEvent from 2.0.40 to 2.0.38.
  - Use new helper interface.

6 years agoRemove call to Bind() from EventPipeClient (#149)
Sung Yoon Whang [Tue, 2 Apr 2019 23:44:06 +0000 (16:44 -0700)]
Remove call to Bind() from EventPipeClient (#149)

* Remove Bind from EventPipeClient

* cleanup

6 years agoMake dotnet-counters use IPC to enable/disable counters (#148)
Sung Yoon Whang [Fri, 29 Mar 2019 07:03:08 +0000 (00:03 -0700)]
Make dotnet-counters use IPC to enable/disable counters (#148)

* Modify dotnet-counters to use IPC to enable/disable counters

* Add parsing for counterList command line arg

* remove unused using

* move scope of defaultProvider

* Update RuntimeClient namespace

6 years agoMake dotnet-counters use UseDefaults() with System.CommandLine (#146)
Sung Yoon Whang [Thu, 28 Mar 2019 00:44:42 +0000 (17:44 -0700)]
Make dotnet-counters use UseDefaults() with System.CommandLine (#146)

6 years ago[dotnet-trace] Update namespaces based on previous PR feedback. (#145)
José Rivero [Thu, 28 Mar 2019 00:43:28 +0000 (17:43 -0700)]
[dotnet-trace] Update namespaces based on previous PR feedback. (#145)

6 years ago[dotnet-trace] Updated dotnet-trace to use IPC to communicate with the runtime (...
José Rivero [Wed, 27 Mar 2019 23:19:20 +0000 (16:19 -0700)]
[dotnet-trace] Updated dotnet-trace to use IPC to communicate with the runtime (#143)

* Microsoft.Diagnostics.Tools.Collect -> Microsoft.Diagnostics.Tools.Trace
* Updated dotnet-trace with the following options:
  start - Starts tracing
  stop - Stops tracing
* Ignore netperf files.
* Naive stream.
* Helper scripts.
* Update the `diagnostics.sln` file.
* Small changes in API

6 years agoMerge pull request #144 from mikem8361/docverup
Mike McLaughlin [Wed, 20 Mar 2019 21:35:07 +0000 (14:35 -0700)]
Merge pull request #144 from mikem8361/docverup

Update tool install version to 1.0.2-preview3.19170.2

6 years agoUpdate tool install version to 1.0.2-preview3.19170.2
Mike McLaughlin [Wed, 20 Mar 2019 18:53:42 +0000 (11:53 -0700)]
Update tool install version to 1.0.2-preview3.19170.2

6 years agoMerge pull request #142 from mikem8361/miscstuff
Mike McLaughlin [Wed, 20 Mar 2019 16:32:12 +0000 (09:32 -0700)]
Merge pull request #142 from mikem8361/miscstuff

Misc changes

6 years agoAdd dotnet-dump documentation for the preview. (#141)
Mike McLaughlin [Wed, 20 Mar 2019 16:31:36 +0000 (09:31 -0700)]
Add dotnet-dump documentation for the preview. (#141)

Upgrade to clrmd 1.0.5 containing the ELF dump fix.

Add official build instructions.

6 years agoAdd "dumpassembly" to lldb aliases and SOS host commands.
Mike McLaughlin [Sat, 16 Mar 2019 00:30:02 +0000 (17:30 -0700)]
Add "dumpassembly" to lldb aliases and SOS host commands.

6 years agoAdd more general purpose service provider to CommandProcessor.
Mike McLaughlin [Sat, 16 Mar 2019 00:10:51 +0000 (17:10 -0700)]
Add more general purpose service provider to CommandProcessor.

Add the "ConsoleProvider" instance as a service. Change the "exit"
command to use it.

6 years agoChange command aliasing to use an explicit new "CommandAliasAttribute".
Mike McLaughlin [Fri, 15 Mar 2019 23:37:45 +0000 (16:37 -0700)]
Change command aliasing to use an explicit new "CommandAliasAttribute".

6 years agoMisc changes.
Mike McLaughlin [Fri, 15 Mar 2019 23:02:50 +0000 (16:02 -0700)]
Misc changes.

Update setup-vs-tools.cmd for 2019.

Updated to build/test with the 2.1.505 SDK with the 2.1.9 runtime.

Updated to test against 1.1.11 and 2.2.2 also.

6 years agoCleaning up dotnet-counters build proj files (#139)
Sung Yoon Whang [Sat, 16 Mar 2019 03:35:12 +0000 (20:35 -0700)]
Cleaning up dotnet-counters build proj files (#139)

* cleanup build proj files for dotnet-counters, add dotnet-counters to diagnostics.sln

* Update dotnet-counters.csproj to enable it to be signed properly

* fix toolcommandname

6 years agoRename dotnet-collect to dotnet-trace, and deleted stale readme. (#140)
José Rivero [Sat, 16 Mar 2019 03:01:18 +0000 (20:01 -0700)]
Rename dotnet-collect to dotnet-trace, and deleted stale readme. (#140)

6 years agoAdd dotnet-counters (#137)
Sung Yoon Whang [Fri, 15 Mar 2019 08:56:25 +0000 (01:56 -0700)]
Add dotnet-counters  (#137)

* dotnet-counters

* Some refactoring done.

* Add Ctrl C handler

* Fix config path detection on invalid pids

* remove debug string

* update license headers, add some comments

* cleanup

6 years agoAdd "dotnet-dump analyze" tests using the existing SOS tests and SOS runner (#136)
Mike McLaughlin [Thu, 14 Mar 2019 23:06:01 +0000 (16:06 -0700)]
Add "dotnet-dump analyze" tests using the existing SOS tests and SOS runner (#136)

Add "dotnet-dump analyze" tests using the existing SOS tests and SOS runner.

Removed "dumpstack" and "eestack" from dotnet-dump. They don't work well at all in
the hosted environment. Added "gcwhere".

Changed the SOSHost interop code from using "out" parameters in most cases to
using IntPtr/Marshal.Write* so the pointer can be checked for null.

6 years agoMerge pull request #134 from mikem8361/macos10.12
Mike McLaughlin [Thu, 7 Mar 2019 22:53:01 +0000 (14:53 -0800)]
Merge pull request #134 from mikem8361/macos10.12

Force lldb plugin/SOS to build with macOS 10.12 SDK

6 years agoForce lldb plugin/SOS to build with macOS 10.12 SDK
Mike McLaughlin [Thu, 7 Mar 2019 19:07:22 +0000 (11:07 -0800)]
Force lldb plugin/SOS to build with macOS 10.12 SDK

So they work on the supported versions of macOS.

6 years agoMerge pull request #131 from mikem8361/misc
Mike McLaughlin [Fri, 1 Mar 2019 22:22:31 +0000 (14:22 -0800)]
Merge pull request #131 from mikem8361/misc

Bring dotnet-sos and dotnet-dump up to spec

6 years agoBring dotnet-dump collect up to spec.
Mike McLaughlin [Sat, 23 Feb 2019 21:08:02 +0000 (13:08 -0800)]
Bring dotnet-dump collect up to spec.

Issue #125

Spec changes:

    Remove the --number and --interval-sec dotnet-dump collect options.

    Change the dotnet-dump collect file naming to timestamp based.

    Change the collect spew to match createdump's.

    Lowercase all the dotnet-dump analyze commands to match sos on Linux/lldb.

Add some installing sos documentation.

6 years agoGet dotnet-sos syntax up to spec.
Mike McLaughlin [Sat, 23 Feb 2019 20:23:38 +0000 (12:23 -0800)]
Get dotnet-sos syntax up to spec.

6 years agoRestrict the assembly resolver to just SOS.NETCore.
Mike McLaughlin [Sat, 23 Feb 2019 20:00:48 +0000 (12:00 -0800)]
Restrict the assembly resolver to just SOS.NETCore.

6 years agoFix some official build artifacts
Mike McLaughlin [Sat, 23 Feb 2019 19:03:03 +0000 (11:03 -0800)]
Fix some official build artifacts

Break up "DropArtifacts" build variable into "DropPackages" and "DropBinaries".

Pushes all packages to dotnet-core blob feed.

Fix macOS test failures by making sure python 2.7.10 /usr/bin is in the path first.

Add -publish to cipack.cmd so the packages are published.

6 years agoMerge pull request #132 from stephentoub/dumpasynccw
Mike McLaughlin [Thu, 28 Feb 2019 16:57:13 +0000 (08:57 -0800)]
Merge pull request #132 from stephentoub/dumpasynccw

Fix DumpAsync to understand ContinuationWrapper

6 years agoFix DumpAsync to understand ContinuationWrapper
Stephen Toub [Thu, 28 Feb 2019 03:38:57 +0000 (22:38 -0500)]
Fix DumpAsync to understand ContinuationWrapper

6 years agoAdd ConfigPath detection mechanism on OSX (#129)
Sung Yoon Whang [Tue, 26 Feb 2019 19:38:36 +0000 (11:38 -0800)]
Add ConfigPath detection mechanism on OSX (#129)

* Add ConfigPath detection mechanism on OSX

* remove debugging console writeline

* Some cleanup + comments about proc_pidpath

* Address PR comments

6 years agoMerge pull request #124 from mikem8361/soshost
Mike McLaughlin [Fri, 22 Feb 2019 23:13:11 +0000 (15:13 -0800)]
Merge pull request #124 from mikem8361/soshost

Hosting SOS under ClrMd for ELF dumps.

6 years agoAdd interactive dump "analyze" dump support to dotnet-dump project.
Mike McLaughlin [Sun, 17 Feb 2019 20:14:28 +0000 (12:14 -0800)]
Add interactive dump "analyze" dump support to dotnet-dump project.

Use the System.CommandLine CommandProcessor for the new commands.

Add "sos", "exit", "help", native "modules" and "setthread" commands.

6 years agoHosting SOS under ClrMd for ELF dumps.
Mike McLaughlin [Sun, 17 Feb 2019 20:12:13 +0000 (12:12 -0800)]
Hosting SOS under ClrMd for ELF dumps.

6 years agoAdd Microsoft.Diagnostic.Repl containing console and command functions.
Mike McLaughlin [Sun, 17 Feb 2019 20:07:05 +0000 (12:07 -0800)]
Add Microsoft.Diagnostic.Repl containing console and command functions.

6 years agoMerge pull request #120 from noahfalk/cli_tools_spec_2
Noah Falk [Fri, 22 Feb 2019 02:20:51 +0000 (18:20 -0800)]
Merge pull request #120 from noahfalk/cli_tools_spec_2

First draft CLI diagnostic tools design

6 years agoAdditional PR feedback
noahfalk [Fri, 22 Feb 2019 02:05:24 +0000 (18:05 -0800)]
Additional PR feedback

1) Changed Microsoft-Windows-DotNETRuntime provider name to System.Runtime
2) Adjusted command line syntax for trace convert
3) Updated some discussion text based on PR comments

6 years agoStrike.cpp/util.cpp clean and fixes.
Mike McLaughlin [Sun, 17 Feb 2019 20:04:37 +0000 (12:04 -0800)]
Strike.cpp/util.cpp clean and fixes.

Cleanup GetCoreClrDirectory service function. No need to have separate GetModuleDirectory method.

DacpGetModuleData.Request fails on some modules. Skip them in GetModuleFromAddress.

Cleanup some spurious error messages in stack trace commands.

6 years agoCleanup ILLDBServices2 interface.
Mike McLaughlin [Sun, 17 Feb 2019 19:57:52 +0000 (11:57 -0800)]
Cleanup ILLDBServices2 interface.

Add runtineOnly option to LoadNativeSymbols to use to get DAC/DBI module name.

Use LoadNativeSymbols(true) to get the DAC/DBI modules when don't exist locally.

6 years agoUpgrade to clrmd 1.0.3.
Mike McLaughlin [Sun, 17 Feb 2019 19:49:00 +0000 (11:49 -0800)]
Upgrade to clrmd 1.0.3.

Change SOS.NETCore to the "netstandard2.0" framework.

6 years agoPR Feedback - dump analyze extensibility
noahfalk [Fri, 15 Feb 2019 20:35:55 +0000 (12:35 -0800)]
PR Feedback - dump analyze extensibility

Added a few thoughts about adding command-level extensibility in the future

6 years agoMinor CLI spec edits
noahfalk [Fri, 15 Feb 2019 08:34:41 +0000 (00:34 -0800)]
Minor CLI spec edits

Removed -v shorthand for version option
Remove -r shorthand for refreshInterval
Removed errant colons used as option/value separator, we should uniformly use spaces
Changed dotnet-trace collect --providers argument to singular --provider argument. It can be specified multiple times to create a list of providers if needed.
Minor indentation and wording updates

6 years agoMerge pull request #119 from mikem8361/installer
Mike McLaughlin [Wed, 6 Feb 2019 20:39:50 +0000 (12:39 -0800)]
Merge pull request #119 from mikem8361/installer

Add SOS installer support.

6 years agoGCWhere failure diagnostics.
Mike McLaughlin [Tue, 5 Feb 2019 23:52:12 +0000 (15:52 -0800)]
GCWhere failure diagnostics.

6 years agoCode review feedback.
Mike McLaughlin [Tue, 5 Feb 2019 18:47:12 +0000 (10:47 -0800)]
Code review feedback.

6 years agoMerge pull request #2 from noahfalk/mike_installer_split
Mike McLaughlin [Tue, 5 Feb 2019 17:55:46 +0000 (09:55 -0800)]
Merge pull request #2 from noahfalk/mike_installer_split

6 years agoAdd new dotnet-sos tool
noahfalk [Tue, 5 Feb 2019 08:43:32 +0000 (00:43 -0800)]
Add new dotnet-sos tool

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

6 years agoFix packaging for dotnet-dump and dotnet-analyze
noahfalk [Tue, 5 Feb 2019 08:42:01 +0000 (00:42 -0800)]
Fix packaging for dotnet-dump and dotnet-analyze

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

6 years agoUpdate SOS tests for recent fixes and move to newer coreclr
noahfalk [Tue, 5 Feb 2019 08:38:41 +0000 (00:38 -0800)]
Update SOS tests for recent fixes and move to newer coreclr

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

6 years agoAutomatically search for installed .NET Core runtime and symbol server updates
noahfalk [Tue, 5 Feb 2019 08:35:51 +0000 (00:35 -0800)]
Automatically search for installed .NET Core runtime and symbol server updates

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

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 agoCode review feedback
Mike McLaughlin [Mon, 28 Jan 2019 23:46:09 +0000 (15:46 -0800)]
Code review feedback

6 years agoStrawman for CLI diagnostic tools design
noahfalk [Mon, 4 Feb 2019 09:28:15 +0000 (01:28 -0800)]
Strawman for CLI diagnostic tools design

6 years agoAdd SOS installer called dotnet-sos (temporary).
Mike McLaughlin [Sat, 12 Jan 2019 01:39:47 +0000 (17:39 -0800)]
Add SOS installer called dotnet-sos (temporary).

Added SOS binaries to dotnet-sos tool package.

Automatically search for installed .NET Core runtime.

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 #https://github.com/dotnet/coreclr/issues/20205.

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

Fix various problems in the "clrstack -i" command that trash memory
and fail the tests that have been enabled in this change.

Update dotnet-sos package files.

Update to 2.1.503 SDK/2.1.7 runtime.

Test against 2.2 instead of 2.0

Merge "Fix SOS GCInfo for Arm/Arm64" PR #22188 from coreclr SOS.

Push test logs on public ci

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