Commit f9303b1
authored
Menu for flame graph and some minor UX improvements (#595)
* inclusive/exclusive samples: two commands instead of using column header name + use CanExecute pattern
* find by name only when single node is selected
* find by name in call tree view only when single node is selected
* goto actions can use selected node
* allow (un)grouping only when something is selected
* allow changing priority when in Memory View + add tooltip to menu item to explain what it is
* allow folding module/item when something is selected
* allow symbols lookup when something is selected
* allow go to source only when single item is selected
* allow to set time range when text box is focused or some nodes are selected
* allow include/exclude only when something is selected
* simplify the Expand/Collapse code
* simplify the Set BackgroundColor code + use the color for menu items
* simplify open events
* remove unused methods, extra empty lines + use expressions for 1 liners
* make the context menu work for Flame Graph tab
* use event which fires sooner1 parent 8850b34 commit f9303b1
File tree
4 files changed
+355
-683
lines changed- src/PerfView/StackViewer
4 files changed
+355
-683
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
361 | 369 | | |
362 | 370 | | |
363 | | - | |
364 | | - | |
365 | 371 | | |
366 | 372 | | |
367 | 373 | | |
| |||
731 | 737 | | |
732 | 738 | | |
733 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
734 | 743 | | |
735 | 744 | | |
736 | 745 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
105 | | - | |
| 110 | + | |
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
| |||
295 | 300 | | |
296 | 301 | | |
297 | 302 | | |
298 | | - | |
| 303 | + | |
299 | 304 | | |
300 | 305 | | |
301 | 306 | | |
| |||
323 | 328 | | |
324 | 329 | | |
325 | 330 | | |
326 | | - | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | | - | |
| 334 | + | |
330 | 335 | | |
331 | 336 | | |
332 | 337 | | |
333 | | - | |
| 338 | + | |
334 | 339 | | |
335 | 340 | | |
336 | 341 | | |
| |||
0 commit comments