aboutsummaryrefslogtreecommitdiff
path: root/ui
AgeCommit message (Collapse)Author
10 hoursMerge "UI: allow plugin-specific args in postMessage + fix null origin" into ↵Primiano Tucci
main
30 hoursMerge "ui: Add rudamentary notes management tab" into mainSteve Golton
31 hoursAdd `Show chrome_tasks table` command.Alexander Timin
Add a command to `chrome_tasks` to show the contents of chrome tasks table. Change-Id: I185b76fbf005588496631b637be518222fece5ec
31 hoursMerge "Add Chrome tasks plugin" into mainAlexander Timin
33 hoursAdd Chrome tasks pluginAlexander Timin
This patch adds a plugin for displaying Chrome tasks (high-level units of work executed by Chrome scheduler with helpful names). The plugin is based on `chrome_tasks` Perfetto stdlib table. Change-Id: I817e97a1b5124adc748fc88f7a9904e205e5e28e
33 hoursFix pivoting by numberAlexander Timin
While in the neighbourhood, also fix a bunch of related issues: - Move SqlValue definition into a separate header. - Rename sqlValueToString to sqlValueToReadableString to avoid confusion. - Add sqlValueToSqliteString to make it easy to correctly pass values back to trace processor. - Move sql_utils.ts to trace_processor/. - Remove SortDirection from core/state.ts (as we already have a definition in base/comparison_utils.ts). Bug: b/346325218 Change-Id: Ic76c50891158d0ea69bbf5c3f0dec332a6c74efc
33 hoursMerge "ui: Automatically generate help modal from command hotkeys" into mainSteve Golton
33 hoursui: Automatically generate help modal from command hotkeysSteve Golton
Before: https://screenshot.googleplex.com/8CWNKGhad9AXhG2.png After: https://screenshot.googleplex.com/AeaE8FDa2GBYUJ2.png Change-Id: If009546b4b744b8c9476b677db697beb8caba099
34 hoursMerge "Fix EventLatency layout for the scroll jank plugin" into mainAlexander Timin
2 daysui: Add rudamentary notes management tabSteve Golton
Change-Id: I6b466a6fb30a337861ab8b869534eca4f5c66e6b
2 daysMerge "ui: Add command & hotkey (Delete) to delete the currently selected ↵Steve Golton
note" into main
2 daysFix EventLatency layout for the scroll jank pluginAlexander Timin
EventLatency can have height of 3 or 4 (e.g. in 'Chrome example' trace it's 4). Currently 3 is hard-coded, which breaks displaying the values. Fix this by explicitly calculating the layout offsets. Change-Id: I4df0efe94864e617fe6664ba8d97c117e4b2eac3
2 daysMerge changes I3eac86d5,I1cc19a56,I719f9142 into mainSteve Golton
* changes: ui: Port note selections ui: Port area selections ui: Tidy up "areas" and area notes
2 daysui: remove "service worker updated" popupRyan Savitski
It's distracting, typically unactionable, and covers up the omnibar. I would like to see it gone, especially on autopush. Change-Id: I0f4af36f4084f8fd3a983bb5e35acd6b92678551
2 daysMerge "[Scroll Jank Plugin] Refactor scroll offset plot using Scroll ID" ↵Harkiran Bolaria
into main
3 daysui: Add command & hotkey (Delete) to delete the currently selected noteSteve Golton
Change-Id: I3e58d279798ff53c74d400aa38350bc2a7891d5f
3 daysui: Port note selectionsSteve Golton
Remove note selections from "legacy" selections and start using the new `NoteSelections`s everywhere. Change-Id: I3eac86d506d72fc67c6194c9d7a415766f75d19b
3 daysui: Port area selectionsSteve Golton
Remove area selections from "legacy" selections and start using the new `AreaSelection`s everywhere. Change-Id: I1cc19a5603aad3ac9ea1066e9b1aee56fe888b56
5 daysUse network_packet module in long battery plugin.Ryan Zuklie
With ongoing changes to the module, most fields are read from the underlying table directly, rather than with `extract_arg`. Reading directly is much faster (which the module view does). Bug: 341994378 Change-Id: I30dd221246889a18df3439eeff1a2fa8116b0835
5 daysOptimize long battery plugin queries by pre-filteringRyan Zuklie
This adds an "interesting" computation to the kernel wakelock and cpu queries, both of which only consider rows with >1 second of duration. Doing this early in the computation greatly reduces the working set and speeds up queries (2-3x). Bug: 332311721 Change-Id: Ia19c4832375a7022c2e5359b0286df16629d2edd
5 daysui: Tidy up "areas" and area notesSteve Golton
- Instead of storing areas in a separate map and referencing them from AreaSelections and AreaNotes, just store the area details directly in those respective objects. - Refactor area notes so they just represent a time span, (i.e. remove the track list) and rename to SpanNote. - Due to the fallout from this change, we also remove AreaSelectionHandler (which was responsible for detecting when the selected area changes), and now just rely on change detection of the globals.state.selection object to detect changes to the selected area. Change-Id: I719f9142d6578a3a478706a52ae18e8c2151efdb
5 daysMerge "Use stdlib helpers in startup and thread slices" into mainRyan Zuklie
5 daysMerge "Perfetto UI: Support minifying JavaScript files" into mainPrimiano Tucci
5 daysPerfetto UI: Support minifying JavaScript filesPrimiano Tucci
When building files for deployment, it can be advantageous to reduce file sizes. Towards this effort, include a new option `--minify-js`, which minifies the versioned JavaScript bundle files of Perfetto UI. Two modes are supported: 'preserve_comments', which preserves comments. This can be useful if you need to preserve copyright / license comments. 'all', which also removes comments. In this case, the caller is responsible for providing adequate attribution themselves. Stats: --minify-js | engine_bundle.js | frontend_bundle.js | traceconv_bundle.js ------------------------------------------------------------------------------------- none | 242484 | 9292317 | 243390 preserve_comments | 147622 | 5255130 | 147753 all | 140269 | 3198177 | 141695 Bug: https://github.com/google/perfetto/issues/793 Change-Id: I15f7a96eefcff746ce6ba94c99753b0883131a09
6 daysUI: allow plugin-specific args in postMessage + fix null originPrimiano Tucci
1) Make post_message_handler.ts work when the origin is 'null'. This can happen when the opener is a file:// scheme. There is no point making the PONG response origin-restricted as it doesn't leak any useful data. 2) Allow the opener to pass plugin-specific args. Those are made available to the plugin trace context. Example usage: https://gist.github.com/primiano/348809059b3e369d846c0f9ed87f4050 Bug: 345152757 Change-Id: Idf511e59be77fde30377238eb7e97916dcc997e8
6 daysui: Roll stable and canarySteve Golton
Change-Id: I88e5d6e8c3dd3565e0ddb1bddbf2fdc6457d1604
6 daysMerge "Remove skyostil@google.com from ui/release/OWNERS" into mainJulie Pan
6 daysMerge "ui: histogram tab" into mainLydia Tse
6 daysRemove skyostil@google.com from ui/release/OWNERSOwner Cleanup Bot
This suggested change is automatically generated based on group memberships and affiliations. If this change is unnecessary or in error, vote CR -1 and the bot will abandon it. Vote CR +1/2 to approve this change. See the owner's recent activity for context: https://android-review.googlesource.com/q/skyostil@google.com To report an issue, file a bug in the Infra>Codereview component. Change-Id: I8b11274a9f6742dacd3f410afa8846abd83d80e3
6 daysUse stdlib helpers in startup and thread slicesRyan Zuklie
Using the standard library benefits from shared code or computations and is faster in both cases. Bug: 341994378 Change-Id: Ib2a826a3209db60132f10befd5fc3d908555651c
6 daysMake "network summary" a bit more useful.Simon MacMullen
* Instead of splitting by TX / RX, show the top 10 UIDs instead. * Put network device metadata next to that device, making it a bit easier to read. https://screenshot.googleplex.com/3ZyamUdyHh2om4Z Change-Id: I2130531872846f0ac095e4287a6b7cdd480ee191
7 daysui: histogram tabLydia Tse
Change-Id: I4da7bde78e18340d15b44ff7120fa3f9b24f74ad
7 daysMerge "migrate extension to manifest v3" into mainPatrick Kettner
7 daysMerge "[ETW] Adds start recording button to the 'Record new trace' on Win." ↵Alex Attar
into main
7 daysmigrate extension to manifest v3Patrick Kettner
Change-Id: I6657ceb36e0127e25ad9f91b158bf5e7e9e22feb
7 daysui: Format a handful of SQL queries for improved readabilitySteve Golton
Change-Id: I7a8e8842baf03ca3331dedcb9880a6e1ca14e0eb
8 days[ETW] Adds start recording button to the 'Record new trace' on Win.Alex Attar
This allows the users to start recording an ETW trace from the Perfetto UI. Important to know currently we need to run chrome in admin mode to start ETW from chrome. Change-Id: Ib05b33aee7323b6cceca2a79665206afc7048ec7
8 daysAdd scaling hints for modem and CPU tracks.Simon MacMullen
Fix issue with network summary that could use battery stats stdlib module before loading it. Change-Id: I6576959cbdd80ebc9107f1ef74b20646f27073eb
8 days[Scroll Jank Plugin] Refactor scroll offset plot using Scroll IDHarkiran Bolaria
The scroll offsets graphs filter offsets on scroll timestamp; it is cleaner to filter on scroll id, as this is now included in the offset tables. *Note - this is a precursor to adding predictor deltas to the graph. Bug: b/304474660 Change-Id: If772e24d670b6deeff7e7d4db023319cdb41bee9
9 daysMerge "Add GpuByProcess plugin" into mainJohn Bates
12 daysAdd GpuByProcess pluginJohn Bates
This adds new per-process GPU tracks, one per upid found in the GPU events. Bug: 343735025 Change-Id: Ibbf5f14244f0ee0c6eaa0e4af1b820da5808e991
12 daysMerge "ui: merge FlamegraphController into DetailsPanel" into mainTreehugger Robot
12 daysui: merge FlamegraphController into DetailsPanelLalit Maganti
This CL merges all the logic in flamegraph controller into the details panel and generally makes things a lot eaiser to follow. This is a pure refactoring CL: there should be no user-visible changes as a result of this CL. Future CLs will further improve the logic here, especially on the queries. This requires trace processor changes. Change-Id: Ice9800e3a1d64a3b3822a20e46fbcefb710df736
12 daysMerge "UI: fix debuggable chip" into mainSteve Golton
13 daysMerge "ui: Rename ChromeSlice* -> ThreadSlice*" into mainSteve Golton
13 daysMerge "UI: Fix TimelineSync plugin" into mainPrimiano Tucci
13 daysMerge "Add Plugin to automatically pin sysui relevant tracks" into mainSoumyadeep Paul
14 daysAdd Plugin to automatically pin sysui relevant trackspaulsoumyadeep
UI Plugin to add the following SysUI relevant tracks - 1. Expected/Actual Timeline of sysui 2. Sysui thread 3. IKeyguardService 4. All transition tracks that are found. These are named differently but same pattern. e.g.: "Transition: AOD -> LOCKSCREEN" 5. "UI Events" 6. All the actions that were added that are specific to a test. e.g.: "L<ACTION_FOLD_TO_AOD>" It also expands the com.android.systemui process track group. Test: Verified on a trace with unlocking captured for IKeyguardService and other tracks. Bug: 319242203 - [perfetto] Create a perfetto plugin that automatically pin useful tracks for SystemUI/Launcher devs Change-Id: I1f673482c6e4b7db136fc9ea0005c517b70a7b31
2024-05-29UI: fix debuggable chipPrimiano Tucci
A recent refactoring renamed debuggable -> isDebuggable on track tags, but that doesn't match the expectation that the code that renders the chip has. Also fix wrapping so it doesn't show like de\nbuggable. Change-Id: Ia7ff28192aefb354be86eb5bfc038068bc7fef4b
2024-05-29UI: Fix TimelineSync pluginPrimiano Tucci
A last minute change (the auto-select when clients==1) accidentally broke the dialog, requiring to unselect and re-select the item to work, because onChange is not fired if we pre-set the selected=true option. Also improve the advertise-on focus and reduce timer. Change-Id: I194a5d16f22fb9cf2b7125af1f1455385a88c3d1