Age | Commit message (Collapse) | Author |
|
main
|
|
|
|
Add a command to `chrome_tasks` to show the contents of chrome tasks table.
Change-Id: I185b76fbf005588496631b637be518222fece5ec
|
|
|
|
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
|
|
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
|
|
|
|
Before: https://screenshot.googleplex.com/8CWNKGhad9AXhG2.png
After: https://screenshot.googleplex.com/AeaE8FDa2GBYUJ2.png
Change-Id: If009546b4b744b8c9476b677db697beb8caba099
|
|
|
|
Change-Id: I6b466a6fb30a337861ab8b869534eca4f5c66e6b
|
|
note" into main
|
|
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
|
|
* changes:
ui: Port note selections
ui: Port area selections
ui: Tidy up "areas" and area notes
|
|
It's distracting, typically unactionable, and covers up the omnibar.
I would like to see it gone, especially on autopush.
Change-Id: I0f4af36f4084f8fd3a983bb5e35acd6b92678551
|
|
into main
|
|
Change-Id: I3e58d279798ff53c74d400aa38350bc2a7891d5f
|
|
Remove note selections from "legacy" selections and start using the new
`NoteSelections`s everywhere.
Change-Id: I3eac86d506d72fc67c6194c9d7a415766f75d19b
|
|
Remove area selections from "legacy" selections and start using the new
`AreaSelection`s everywhere.
Change-Id: I1cc19a5603aad3ac9ea1066e9b1aee56fe888b56
|
|
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
|
|
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
|
|
- 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
|
|
|
|
|
|
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
|
|
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
|
|
Change-Id: I88e5d6e8c3dd3565e0ddb1bddbf2fdc6457d1604
|
|
|
|
|
|
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
|
|
Using the standard library benefits from shared code or computations and
is faster in both cases.
Bug: 341994378
Change-Id: Ib2a826a3209db60132f10befd5fc3d908555651c
|
|
* 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
|
|
Change-Id: I4da7bde78e18340d15b44ff7120fa3f9b24f74ad
|
|
|
|
into main
|
|
Change-Id: I6657ceb36e0127e25ad9f91b158bf5e7e9e22feb
|
|
Change-Id: I7a8e8842baf03ca3331dedcb9880a6e1ca14e0eb
|
|
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
|
|
Fix issue with network summary that could use battery stats stdlib module before loading it.
Change-Id: I6576959cbdd80ebc9107f1ef74b20646f27073eb
|
|
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
|
|
|
|
This adds new per-process GPU tracks, one per upid found in the GPU events.
Bug: 343735025
Change-Id: Ibbf5f14244f0ee0c6eaa0e4af1b820da5808e991
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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
|
|
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
|
|
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
|