Commit 3af4abd
Add GC Heap Analyzer support to .nettrace files (#2216)
* Initial plan for issue
* Add MemoryAnalyzer to EventPipePerfViewData to enable Heap Analyzer for .nettrace files
Co-authored-by: brianrob <6210322+brianrob@users.noreply.github.com>
* Move MemoryAnalyzer inside hasGC conditional block
Co-authored-by: brianrob <6210322+brianrob@users.noreply.github.com>
* Fix MemoryAnalyzer.Open to support non-ETL formats and single-process files
Co-authored-by: brianrob <6210322+brianrob@users.noreply.github.com>
* Fix Toolbox.GetClrProcesses to use full file path for non-clr modules
Co-authored-by: brianrob <6210322+brianrob@users.noreply.github.com>
* Refactor code based on review feedback: use pattern matching and simplify path logic
Co-authored-by: marklio <529657+marklio@users.noreply.github.com>
* Remove unused bool hasClr variable, use out _ instead
Co-authored-by: marklio <529657+marklio@users.noreply.github.com>
* Update to C# version 8.0.
* EventPipe traces don't have a runtime module because they only contain managed loads.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: brianrob <6210322+brianrob@users.noreply.github.com>
Co-authored-by: marklio <529657+marklio@users.noreply.github.com>
Co-authored-by: Brian Robbins <brianrob@microsoft.com>1 parent 1189425 commit 3af4abd
File tree
4 files changed
+38
-20
lines changed- src
- PerfView
- HeapView
4 files changed
+38
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
| |||
183 | 194 | | |
184 | 195 | | |
185 | 196 | | |
186 | | - | |
187 | | - | |
| 197 | + | |
| 198 | + | |
188 | 199 | | |
189 | | - | |
| 200 | + | |
190 | 201 | | |
191 | | - | |
192 | | - | |
| 202 | + | |
193 | 203 | | |
194 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
195 | 211 | | |
196 | 212 | | |
197 | 213 | | |
198 | 214 | | |
199 | 215 | | |
200 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
201 | 221 | | |
202 | 222 | | |
203 | 223 | | |
204 | 224 | | |
205 | 225 | | |
206 | 226 | | |
207 | | - | |
208 | 227 | | |
209 | 228 | | |
210 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| 738 | + | |
738 | 739 | | |
739 | 740 | | |
740 | 741 | | |
| |||
746 | 747 | | |
747 | 748 | | |
748 | 749 | | |
| 750 | + | |
| 751 | + | |
749 | 752 | | |
750 | 753 | | |
751 | 754 | | |
| |||
775 | 778 | | |
776 | 779 | | |
777 | 780 | | |
778 | | - | |
779 | | - | |
780 | 781 | | |
781 | 782 | | |
782 | 783 | | |
| |||
787 | 788 | | |
788 | 789 | | |
789 | 790 | | |
790 | | - | |
791 | | - | |
792 | | - | |
| 791 | + | |
| 792 | + | |
793 | 793 | | |
794 | | - | |
795 | | - | |
796 | | - | |
| 794 | + | |
| 795 | + | |
797 | 796 | | |
798 | | - | |
| 797 | + | |
799 | 798 | | |
800 | | - | |
801 | | - | |
802 | 799 | | |
| 800 | + | |
803 | 801 | | |
804 | 802 | | |
805 | 803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9564 | 9564 | | |
9565 | 9565 | | |
9566 | 9566 | | |
| 9567 | + | |
9567 | 9568 | | |
9568 | 9569 | | |
9569 | 9570 | | |
| |||
0 commit comments