390 Commits
Author SHA1 Message Date
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
Kaelin Hooper 663bc7c0ef At the point where I'm successfully unzipping the file but I'm failing to create an etlx out of it. 2016-06-23 15:52:55 -07:00
Vance Morrison 6f7c3fac3a Merge pull request #99 from adityamandaleeka/no_samples_bug
Fix bug that occurs when there are no samples in a Linux trace
2016-06-23 15:42:01 -07:00
Aditya Mandaleeka 77b2c8fece Fix bug that occurs when there are no samples in a Linux trace. 2016-06-23 15:22:55 -07:00
Kaelin Hooper 7106155220 A compilable state ready for some tests. 2016-06-23 12:56:46 -07:00
Kaelin Hooper d86b341570 Getting closer to Extensibility being ready for me to actually use to get some to open an ETL file and get some CPU Stacks; changed project.json to allow for unsafe builds; brought CacheFiles.cs in; edited some code to agree with the use of CacheFiles.cs in the .NET Core environment; brought XMLStackSource.cs to evaluate its usefulness in converting a Stack to XML 2016-06-22 17:26:44 -07:00
Vance Morrison da585fc870 Move PeakVirtual and PeakWorkingSet to TraceProcess from TraceManagedProcess. 2016-06-22 12:58:47 -07:00
Vance Morrison 027589f0e5 Merge branch 'master' of https://github.com/Microsoft/perfview.git 2016-06-22 12:49:26 -07:00
Vance Morrison 6c15b9f512 Be a bit less verbose when looking up source. 2016-06-22 12:49:17 -07:00
Vance Morrison f2b5e8808b Merge pull request #98 from jeffschwMSFT/master
As a step towards the *Computer processing model, here is the Process…
2016-06-22 12:46:11 -07:00
jeffschw a9cb5f10c4 Address merge conflicts 2016-06-22 10:24:44 -07:00
jeffschw 6e8287d611 As a step towards the *Computer processing model, here is the ProcessComputer. It is a duplication (ugh, though Vance and I agreed this is the right first step) from TraceLog. The original TraceProcess was expanded to include ClrRuntimeVersion and ClrStartupFlags to accomodate GC/JIT requirements. In addition, there was some small tweaks in TraceProcess in order to accomodate a null TraceLog (the predominate case for ProcessComputer and a non-private setter of certain properties).
I validated this change by serializing the TraceProcess as created by TraceLog and ProcessComputer - they produce differenet results.  ProcessComputer does not properly set Start/End time, and only has a partial ability to set Is64bit, ParentID, and CpuMSec.

As a step towards the *Computer processing model, here is the ProcessComputer.  It is a duplication (ugh, though Vance and I agreed this is the right first step) from TraceLog.  The original TraceProcess was expanded to include ClrRuntimeVersion and ClrStartupFlags to accomodate GC/JIT requirements.  In addition, there was some small tweaks in TraceProcess in order to accomodate a null TraceLog (the predominate case for ProcessComputer and a non-private setter of certain properties).
I validated this change by serializing the TraceProcess as created by TraceLog and ProcessComputer - they produce differenet results.  ProcessComputer does not properly set Start/End time, and only has a partial ability to set Is64bit, ParentID, and CpuMSec.

Enabled the proposed TraceProcess extension model for exposing Managed concepts. This change includes:
1. Extension methods for TraceProcesses, TraceProcess
2. Creation of TraceManagedProcess
3. And the details of how to expose GC and JIT details from etl files.

This change has duplicated code from TraceLog.cs.  The goal with this change is to be an stepping stone between the current paradigm (where all this code lives in TraceLog and PerfView) to a world where there are Process, Thread, Module, Managed concepts hanging off of Source.

Reverted TraceLog.cs back to the original commit before these changes.
Accomodated feedback on PR.

Remove ProcessComputer
2016-06-22 10:23:07 -07:00
Kaelin Hooper e7e10d3468 Stripped out most of PerfView and got some very stripped down version of Extensibility.cs to compile. 2016-06-21 19:35:26 -07:00
Kaelin Hooper e3a395bea1 This will be a long commit... Copy and pasted the entire perfview directory into PerfViewService directory > (somewhat) resolved all errors in Extensibility.cs; this included a bad temporary format of putting four slashes in front of things I am likely about to delete permanently > Will now begin removing unneeded PerfView dependcies and GUI code that will not be needed 2016-06-21 16:41:22 -07:00
jeffschw baa69ebfba Pull 2016-06-21 13:12:52 -07:00
jeffschw a1f4ad34e7 As a step towards the *Computer processing model, here is the ProcessComputer. It is a duplication (ugh, though Vance and I agreed this is the right first step) from TraceLog. The original TraceProcess was expanded to include ClrRuntimeVersion and ClrStartupFlags to accomodate GC/JIT requirements. In addition, there was some small tweaks in TraceProcess in order to accomodate a null TraceLog (the predominate case for ProcessComputer and a non-private setter of certain properties).
I validated this change by serializing the TraceProcess as created by TraceLog and ProcessComputer - they produce differenet results.  ProcessComputer does not properly set Start/End time, and only has a partial ability to set Is64bit, ParentID, and CpuMSec.

As a step towards the *Computer processing model, here is the ProcessComputer.  It is a duplication (ugh, though Vance and I agreed this is the right first step) from TraceLog.  The original TraceProcess was expanded to include ClrRuntimeVersion and ClrStartupFlags to accomodate GC/JIT requirements.  In addition, there was some small tweaks in TraceProcess in order to accomodate a null TraceLog (the predominate case for ProcessComputer and a non-private setter of certain properties).
I validated this change by serializing the TraceProcess as created by TraceLog and ProcessComputer - they produce differenet results.  ProcessComputer does not properly set Start/End time, and only has a partial ability to set Is64bit, ParentID, and CpuMSec.

Enabled the proposed TraceProcess extension model for exposing Managed concepts. This change includes:
1. Extension methods for TraceProcesses, TraceProcess
2. Creation of TraceManagedProcess
3. And the details of how to expose GC and JIT details from etl files.

This change has duplicated code from TraceLog.cs.  The goal with this change is to be an stepping stone between the current paradigm (where all this code lives in TraceLog and PerfView) to a world where there are Process, Thread, Module, Managed concepts hanging off of Source.
2016-06-21 13:08:47 -07:00
Kaelin Hooper 074c3ca1fa Adding git ignore for project.lock.json because it's causing problems when switching branches locally. 2016-06-21 10:47:24 -07:00
Kaelin Hooper 081decf594 Getting forked master (Kae7in/perfview) in sync with my ui branch. 2016-06-20 17:28:44 -07:00
Kaelin Hooper f1ee1c3655 Resolving things... 2016-06-20 17:15:35 -07:00
Kaelin Hooper a3b899aa9e Forgot a comma when merging. 2016-06-20 17:07:00 -07:00
Kaelin Hooper d67025ef60 Merge pull request #5 from Kae7in/ui-pull-request-1
Ui pull request 1
2016-06-20 16:56:59 -07:00
Kaelin Hooper dfbf69a79e Merging master to ui branch 2016-06-20 16:40:07 -07:00
Kaelin Hooper 9f151f83b1 Merge remote-tracking branch 'upstream/master' 2016-06-20 15:58:39 -07:00
Kaelin Hooper 9cb2eaa498 Define the domain to operate as a property in Delegate.js; placed JSONifying code in Delegate.js as well; closes #4 2016-06-20 09:42:36 -07:00
Vance Morrison d230e08106 Ignore project.lock.json files 2016-06-20 07:04:15 -07:00
jeffschw b65a2d2bb5 As a step towards the *Computer processing model, here is the ProcessComputer. It is a duplication (ugh, though Vance and I agreed this is the right first step) from TraceLog. The original TraceProcess was expanded to include ClrRuntimeVersion and ClrStartupFlags to accomodate GC/JIT requirements. In addition, there was some small tweaks in TraceProcess in order to accomodate a null TraceLog (the predominate case for ProcessComputer and a non-private setter of certain properties).
I validated this change by serializing the TraceProcess as created by TraceLog and ProcessComputer - they produce differenet results.  ProcessComputer does not properly set Start/End time, and only has a partial ability to set Is64bit, ParentID, and CpuMSec.
2016-06-17 15:57:14 -07:00
Vance Morrison c769517c18 Allow you to look at a .trace.ZIP file if LTTNG opening fails. 2016-06-17 13:54:48 -07:00
Vance Morrison 9e99929e0d Move files where they belong 2016-06-17 13:48:55 -07:00
Vance Morrison e36820bfd2 V 1.9.19. Fixed bug with opening Trace.zip files 2016-06-17 13:40:56 -07:00
Kaelin Hooper 45891a5fd1 Finally moved the client view into the same Visual Studio project as the service. 2016-06-16 16:43:04 -07:00
Vance Morrison cb46828c46 Add TraceEventCore so we can open ETL files. 2016-06-16 11:07:20 -07:00
Vance Morrison db42a412d3 Rename some files to make makig a project.json file easier. 2016-06-16 09:00:52 -07:00
Vance Morrison 09aca44f93 more related under src 2016-06-15 17:02:19 -07:00
Kaelin Hooper 17477485f9 Created Delegate object which will be a bridge for all api requests to the perfview service. 2016-06-15 16:05:32 -07:00
Kaelin Hooper d6027054c8 Testing pulling dummy data from API and populating tree view with it. Unfortunately, we may have to use a different tree generator library. 2016-06-15 15:05:38 -07:00
Vance Morrison 2db0489337 Fix issue where opening a .trace.zip file failes with a file in use error when opening CPU stacks.
The issue was twofold.

First we were opening ZIP files in exclusive mode when reading, that is bad, use ZipFile.Open which does the right thing (allows other simultaneous readers)
However a related issue is that we did not close the ZIP file when the CTF open failed.   This left the file open so that the next open (to open stacks) would fail.
2016-06-15 10:11:06 -07:00
Vance Morrison cd5ae131be Merge branch 'master' of https://github.com/Microsoft/perfview.git 2016-06-15 08:04:56 -07:00
Vance Morrison a1d0393513 The contract class is only needed when building for V3.5 runtimes. #ifdef it out 2016-06-14 17:24:31 -07:00
Vance Morrison 0dd49ec458 Merge pull request #97 from mjsabby/TraceEventAPIServer
Add TraceEvent API Server
2016-06-14 16:42:45 -07:00
Kaelin Hooper 4cc96039fa A bit of organizational restructuring. 2016-06-14 16:36:36 -07:00
Kaelin Hooper cebca779d5 Updated package.json to include new node package dependecies. 2016-06-14 15:36:29 -07:00
Kaelin Hooper da987d1114 Switched over to using all node packages instead of libraries, for consistency (for as long as we can keep it). 2016-06-14 15:29:24 -07:00