390 Commits
Author SHA1 Message Date
Kaelin Hooper 21f5659641 Fixed race condition between summary stack data and callers stack data 2016-07-18 15:07:04 -07:00
Kaelin Hooper fb56722f96 Added focus node as parent to tree tables 2016-07-18 14:40:29 -07:00
Kaelin Hooper 306bd1b271 Filter text boxes are working! 2016-07-15 16:16:52 -07:00
Kaelin Hooper e0bd233f4c Have a very alpha version of filters working; still need to make sure the By Name view updates; also need to fix caching bug in the TraceEventAPIServer 2016-07-15 15:11:26 -07:00
Kaelin Hooper 67bce436ee Halfway to filters beginning to work... 2016-07-14 17:35:41 -07:00
Kaelin Hooper b126b95c41 Fixed bug where the by-name-list click event was appending tbody rows from the new request on top of tbody rows from the last request 2016-07-14 10:51:15 -07:00
Kaelin Hooper 040e253796 The Callers tree table is working. :) 2016-07-13 17:10:09 -07:00
Kaelin Hooper 2dcc374bf5 FINALLY getting caller tree data. Just need to populate the view, now. 2016-07-12 17:18:52 -07:00
Kaelin Hooper eed5378f34 Split Delegate.js into homeDelegate.js and stackDelegate.js 2016-07-12 11:06:09 -07:00
Kaelin Hooper afc22f51e9 Stack view beginning to form 2016-07-11 17:30:17 -07:00
Kaelin Hooper 64c1ece63b Clicking on CPU Stacks now opens new window and displays some data; no tree table, yet 2016-07-08 16:46:30 -07:00
Kaelin Hooper 25af9e170e PerfDataService communicates with TraceEventAPIServer to get CPU Stacks 2016-07-08 15:38:42 -07:00
Kaelin Hooper a31165c050 Got the service serving up CPU STACKS! 2016-07-07 16:14:39 -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
Kaelin Hooper 95f72aa4b6 Got TraceEventAPIServer kind of working; ui/stackviewer does not work yet (getting a pdb not found exception) 2016-07-06 16:38:13 -07:00
Kaelin Hooper 990db4df8e Merge remote-tracking branch 'upstream/master' 2016-07-05 10:50:19 -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
Kaelin Hooper ade436f9b9 Got initial stage of changing directories and opening a .etl.zip file working 2016-06-29 15:00:59 -07:00
Kaelin Hooper d564be4bdd Got directory perusing mostly working 2016-06-28 18:44:22 -07:00
Kaelin Hooper 4ead3755dc Working example. 2016-06-28 14:30:27 -07:00
Kaelin Hooper 487770e6a2 GET request api/[controller]/open is working for directories and files, but there's a weird __proto__ object being appended to my JSON response (gotta figure that out) 2016-06-28 11:52:03 -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
Kaelin Hooper 3061e45d60 Working on get request to get basic info of a directory or item 2016-06-27 17:15:08 -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
Kaelin Hooper 944caca3e9 Loading a .etl.zip file seems to be working! 2016-06-27 10:52:34 -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
Kaelin Hooper 2ddf49db43 Merge branch 'master' of https://github.com/Microsoft/perfview 2016-06-27 10:37:32 -07:00
Kaelin Hooper a6dcc76880 Merge branch 'refactoring' 2016-06-27 10:10:21 -07:00
Kaelin Hooper e256d12791 Merge branch 'master' of https://github.com/Kae7in/perfview 2016-06-27 10:07:35 -07:00
Kaelin Hooper d721c94a44 This is weird.. This file isn't being updated. 2016-06-27 10:07:29 -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
Kaelin Hooper 8eadb8dd63 Added file extension changing code to replace ChangeExtension() method 2016-06-24 14:31:44 -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