Commit Graph
281 Commits
Author SHA1 Message Date
Vance Morrison 45fae61394 Fix opening of diagsession files 2016-08-09 16:00:18 -07:00
Vance Morrison 781603e0cc Added back in ZippedETL (reader) to the .NET Core build. 2016-08-04 09:44:58 -07:00
Vance Morrison 919957b0dc Add in ETWTraceEventSource to the .NET Core version of the library.
Now the .NET Core version works would be useful on Windows as well as Linux
Still need to get the windows build of .NET Core to parity with the destop library version of TraceEvent.
2016-08-04 09:28:45 -07:00
Vance Morrison 94e653272e Updated to fix break in Debug build 2016-08-03 15:43:33 -07:00
Vance Morrison 18995ef248 Check in first version of .NET Core TraceEvent that actually builds.
It now builds as part of the overall solution build.   You can make a package by typing
dotnet pack in the traceEvent\.NETCore directory.
2016-08-03 15:09:23 -07:00
Vance Morrison 3cbb7fa043 Get rid of tag from symbol reader since it is a dependency issue. 2016-08-03 12:39:33 -07:00
Vance Morrison b714fb3f59 First cut at making TraceEvent build on .NET Core. Only modified existing code in minor, compatible ways. 2016-08-03 10:04:51 -07:00
Vance Morrison ab0a9df5f2 Merge branch 'master' of https://github.com/Microsoft/perfview.git 2016-08-01 08:19:23 -07:00
Vance Morrison be5256bf80 Fix bug in EtwTraceEventSource.Size property. 2016-08-01 08:19:13 -07:00
Vance Morrison dc97d5e091 Merge branch 'master' of https://github.com/Microsoft/perfview 2016-07-26 17:29:55 -07:00
Vance Morrison 392f9f0360 Fix LinuxPerfScriptStackSource to skip comments at the begining of the file.
Remove support for old file extensions.
2016-07-26 17:29:48 -07:00
Vance Morrison 1fa6089cb0 Fix line breaks 2016-07-26 09:17:58 -07:00
Vance Morrison 12d6fb8daa Fix links 2016-07-26 09:16:09 -07:00
Vance Morrison fae70cb359 Make updating instructions better. 2016-07-26 09:11:35 -07:00
Vance Morrison 613b04b879 Add = to EventData: frame when showing EventSource events in thread time view. 2016-07-26 08:56:11 -07:00
Vance Morrison 7c1449a5ca Merge branch 'master' of https://github.com/Microsoft/perfview.git 2016-07-26 08:55:13 -07:00
Vance Morrison 779977bea7 Add docs on how to publish PerfView 2016-07-26 08:55:02 -07:00
Lee Culver 57e031887a Merge pull request #107 from leculver/master
Fix object allocation and process name in CTF
2016-07-07 11:55:12 -07:00
Lee Culver 8d34281bf6 Fix process names in CTF traces
CTF traces did not have their process name set properly.
2016-07-07 11:29:37 -07:00
Lee Culver 8dd66a7186 Stop allocating when enumerating events
Previously we would allocate objects to keep track of state for more
complicated LTTng events.  Now we track state within the buffer so that
we can refer back to sizes of arrays...eliminating the need to keep
track of most state.
2016-07-07 11:26:24 -07:00
Vance Morrison 0084494377 Updated SourceFile to have Url property. Added some comments. 2016-07-01 09:11:08 -07:00
Vance Morrison 15727fecba Merge pull request #84 from northtyphoon/go-to-source
Go-to-source update
2016-07-01 08:51:08 -07:00
Vance Morrison 92c89fc4d5 Update VS version 2016-06-30 15:47:51 -07:00
Vance Morrison 4fd036259f Merge pull request #105 from jeffschwMSFT/master
Moving PerfView on top of the new TraceProcess and TraceLoadedDotNetRuntime model.
2016-06-30 14:48:27 -07:00
Bin Du 0e3ea6fbd8 1. Support symbol server url with SAS token.
2. Add SourceServerTargetFullUrl property to reterive sourceserver target from symbol pdb.
3. Support sha1 checksum
2016-06-30 12:22:35 -07:00
Jeff Schwartz dd0ea703ed f the new TraceProcess and
TraceLoadedDotNetRuntime model.  These changes are aspiring to be bug for
bug compatible with the current set of working experiences within
PerfView.  I have done detailed diffing of output from PerfView across the
changed scenarios: GCStats, JITStats, ServerGC*, Heap*, etc.  Where
possible I compared the raw XML/HTML output between the new PerfView and
current Main PerfView.  There are two differences that I am aware of: 1)
sort order on same weighted inputs (for instance 0 HeapSize processes sort
differently - no customer impact), and 2) JIT stats is more accurate
(there
was a bug in how it found methods in flight resulting in duplicated
entries).
Here is catalog of the changes
1) Moved PerfView to the new model
2) JITStats fix to more accurately identify methods that are being Jitted.
The previous code did not work correctly for nested Jitted methods (eg. A
starts jitting, B starts jitting and finishes, A finishes).  A was
duplicated in this case.
3) Removed CAP from PerfView (into CAP)
4) Performance improvement to TraceLoadedDotNetRuntime.  Since Stats is an
accumulator, scratch space, and stats it needs to cacluate stats on the
fly.  Though internally it is never used for stats, so the previous
implementation was recacling a lot resulting in wasted time.
5) Added necessary configuration to TraceLoadedDotNetRuntime to accomodate
PerfView scenarios.
6) To work within the lifetime of Dispatchers the TraceProcess and
TraceLoadedDotNetRuntime no longer allow concurrent access.  There is a
debug assert to discourage the use.  If conncurrent use happens the
results will be overlapping.

TraceLoadedDotNetRuntime model.  These changes are aspiring to be bug for
bug compatible with the current set of working experiences within
PerfView.  I have done detailed diffing of output from PerfView across the
changed scenarios: GCStats, JITStats, ServerGC*, Heap*, etc.  Where
possible I compared the raw XML/HTML output between the new PerfView and
current Main PerfView.  There are two differences that I am aware of: 1)
sort order on same weighted inputs (for instance 0 HeapSize processes sort
differently - no customer impact), and 2) JIT stats is more accurate (there
was a bug in how it found methods in flight resulting in duplicated
entries).
Here is catalog of the changes
1) Moved PerfView to the new model
2) JITStats fix to more accurately identify methods that are being Jitted.
The previous code did not work correctly for nested Jitted methods (eg. A
starts jitting, B starts jitting and finishes, A finishes).  A was
duplicated in this case.
3) Removed CAP from PerfView (into CAP)
4) Performance improvement to TraceLoadedDotNetRuntime.  Since Stats is an
accumulator, scratch space, and stats it needs to cacluate stats on the
fly.  Though internally it is never used for stats, so the previous
implementation was recacling a lot resulting in wasted time.
5) Added necessary configuration to TraceLoadedDotNetRuntime to accomodate
PerfView scenarios.
6) To work within the lifetime of Dispatchers the TraceProcess and
TraceLoadedDotNetRuntime no longer allow concurrent access.  There is a
debug assert to discourage the use.  If conncurrent use happens the
results will be overlapping.
2016-06-30 09:24:17 -07:00
Vance Morrison 5689245055 Merge pull request #104 from mjsabby/master
Add an html based UI endpoint for TraceEventAPIServer
2016-06-28 09:40:16 -07:00
Mukul Sabharwal 00da704be2 Add an html based UI endpoint
This code still issues an HTTP request internally to the API part to
keep the logic decoupled. You can imagine merging this but the benefits
are likely to be little given the request will be localhost, and the
benefit is that it keeps things decoupled.
2016-06-28 09:02:51 -07:00
Vance Morrison 6a8277f6cc Merge pull request #103 from jeffschwMSFT/master
Naming updates (per conversation with Vance).
2016-06-27 13:59:08 -07:00
jeffschw 2e6075f513 Naming updates (per conversation with Vance).
1) Fixed a build break in TraceLog.cs when Stats was renames to Stats()
2) Renamed TraceManagedProcess to TraceLoadedDotNetRuntime and changed the semantics from "is a" to "has a"
3) Renamed Enums to align with managed standards
4) Fixed callbacks.  They now chain in this way:
TraceProcesses.OnProcessStart
  TraceProcess.OnDotNetRuntimeLoad
    TraceLoadedDotNetRuntime.GCStart/GCEnd/JITMethodStart/JITMethodEnd
5) Marked the majority of APIs as obsolete (experimental) to indicate common case from advanced.
2016-06-27 10:44:47 -07:00
Vance Morrison 59ec9512e7 Name tests so that the general area is first (so they get sorted nicely. 2016-06-26 12:01:23 -07:00
Vance Morrison fbbbbb888c Diable CTF test GCStartTopEvents so that we have a clean test run. 2016-06-26 11:48:01 -07:00
Vance Morrison 5744e80005 Make GeneralParsingBasic work on Release and retail.
Also added checking for exceptions in parsing of event properties.
2016-06-26 11:27:07 -07:00
Vance Morrison bc301336cc Fix test to make baselines much smaller 2016-06-26 11:00:49 -07:00
Vance Morrison 593b248f80 Improve basic TraceEvent tests to have baslines about what is being parsed. 2016-06-26 08:29:55 -07:00
Vance Morrison 8b3134e05f Set the project.json so that you can compile either for the desktop framework or for .NET Core. 2016-06-24 17:23:52 -07:00
Vance Morrison 1e5229ad70 Make Type resolver work on ModuleFile rather than LoadedModule. 2016-06-24 12:54:23 -07:00
Vance Morrison 9aa23632b1 Merge branch 'master' into WorkInProgress.TraceManagedProcessFactoring 2016-06-24 11:32:09 -07:00
Vance Morrison 7a4970d408 Unnested public nested classes. 2016-06-24 10:39:33 -07:00
Vance Morrison bdf758524a Merge branch 'master' of https://github.com/Microsoft/perfview.git 2016-06-24 08:05:33 -07:00
Vance Morrison 7861cce2d0 Added region. (No semantic change) 2016-06-24 08:05:23 -07:00
Vance Morrison 037641a284 Renamed some properties so they could be turned into extension methods. 2016-06-24 08:04:37 -07:00
Vance Morrison 1b6bb29b4c Merge pull request #100 from Kae7in/master
PerfDataService (renamed from PerfViewService) halfway to creating an .etlx file
2016-06-24 07:59:47 -07:00
Kaelin Hooper b07d53c1f9 Merge pull request #7 from Kae7in/refactoring
Further renaming to get project working.
2016-06-23 17:51:31 -07:00
Kaelin Hooper d3c4a45cb1 Further renaming to get project working. 2016-06-23 17:50:27 -07:00
Kaelin Hooper d054e2918b Merge pull request #6 from Kae7in/refactoring
Refactoring
2016-06-23 17:34:15 -07:00
Kaelin Hooper 18ef775055 Renamed PerfViewService to avoid propagation of this renaming problem to anyone else whom has pulled PerfView recently 2016-06-23 17:31:35 -07:00
Vance Morrison fd7f734429 Fix Bad entry point on CoreCLR 2016-06-23 16:31:53 -07:00
Kaelin Hooper d69c6611fa Re-add of everything that got screwed over. 2016-06-23 16:31:24 -07:00
Kaelin Hooper 22b92a58c1 Taking care of a git mess related to Windows file system case insensitivity. 2016-06-23 16:28:41 -07:00