aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-12Merge "Amalgamated source for v27.1" into releases/v27.xv27.1releases/v27.xSami Kyostila
2022-07-12Amalgamated source for v27.1Sami Kyöstilä
perfetto: Add changelog for v27.1 Change-Id: I54845b1c5b9373897176ece80003e0fc4242b977
2022-07-12perfetto: Add changelog for v27.1Sami Kyöstilä
Change-Id: Ib81795e9cab876fa48cc4f6631be85bac04fc153
2022-07-12tracing: Add API to shut down PerfettoSami Kyöstilä
This patch adds an API call to shut down the Perfetto SDK and release any OS-level resources (threads, files, sockets, etc.). Note that it's not possible to reinitialize Perfetto again in the same process after shutdown. Instead, this call is meant for ensuring no Perfetto-related threads are running so that the entire module using Perfetto can be unloaded with dlclose(). (Cherry-pick of https://android-review.googlesource.com/c/platform/external/perfetto/+/2146891) Bug: b/237740008 Test: `adb shell cmd gpu vkjson` => check that virgl_render_server doesn't crash Change-Id: If82163f12c2eb426dae9cc99ccd9eb3b25bae741
2022-07-01Amalgamated source for v27.0v27.0Lalit Maganti
Change-Id: I041c5e278f4bf8e545c53fc32d3ba98319fe991a
2022-07-01Merge "perfetto: add changelog for v27"Lalit Maganti
2022-07-01perfetto: add changelog for v27Lalit Maganti
Change-Id: I6dc3af6422dba5277c4b326acb971c13a077129c
2022-07-01Ignore incomplete suspend/resume slices.Simon MacMullen
Also, finally remove the "trustworthy" hack, it's no longer referenced anywhere. Bug: 237670962 Bug: 232094454 Change-Id: I9ee1b474972cf896d44d5c6421cc874fd50c9743
2022-07-01Fix android_sysui_cuj_surfaceflinger metricMarcin Oczeretko
aosp/2141257 renamed `name` column to `process_name` Bug: b/237506848 Change-Id: Ifb3b6410c59def9e4c3002398072fd75291310e8
2022-07-01Merge "Remove dead file"Hector Dearman
2022-07-01Merge "ui: Separate recording Settings sections into components"Octavian Tuchila
2022-07-01ui: Separate recording Settings sections into componentsTuchila Octavian
Change the Settings sections of the recording page from functions to Mithril components. Move these sections into different files. Change how the Mithril components are referenced in the recording page. prior, they were stored as keys in a map. Now, they are referenced directly, as Mithril components. Bug: 209947455 Change-Id: I2765996e602507fe76b36795462ba9f99241a056
2022-07-01Merge "Remove android_jank.sql and related files"Marcin Oczeretko
2022-07-01Merge "ui: Change interface to support datasources for targets"Octavian Tuchila
2022-07-01Merge "startup: fix failure when top process has a null name"Ioannis Ilkos
2022-07-01ui: Change interface to support datasources for targetsTuchila Octavian
Define a DataSource to have a name and an `unknown` which will contain the information. This field will be opaque to the recording code, but the caller can cast it using the name. Remove DynamicTargetInfo because now there are multiple pieces of information that we can get dynamically from the device and the nesting under a single field is too restrictive. Bug: 209947455 Change-Id: I6e0bb7ea15d2661616ea70a671f191913e842c96
2022-07-01Remove android_jank.sql and related filesMarcin Oczeretko
This metric had only a small set of warnings for jank-causing patterns and very little usage Change-Id: If2bc35a516ff3b2974a79ccdcf0a426a3f1064b0
2022-07-01Merge "Use CUJ instrumentation markers to detect canceled CUJs"Marcin Oczeretko
2022-07-01startup: fix failure when top process has a null nameLalit Maganti
Bug: 237506848 Change-Id: I1cfc6b9d63a60fd9ec132c146fc3a89420d490dc
2022-06-30Remove dead fileHector Dearman
Change-Id: I396f718759e87eb93f8665faffd57d7d9723179f
2022-06-30Merge "Revert "[ui] Sort processes by slice count as a fallback""Treehugger Robot
2022-06-30Revert "[ui] Sort processes by slice count as a fallback"Lalit Maganti
This reverts commit b1f6f169b38655ac5060560377f899fa7c0b1bd4. Reason for revert: Running out of memory and taking far too long Bug: 237582165 Change-Id: I62462c0b78664e9197ea7fff609f19e8e9e10141
2022-06-30Merge "tools: require prebuilt command to match exactly with passed arch"Lalit Maganti
2022-06-30Merge "tp: be more strict when deciding launch types"Treehugger Robot
2022-06-30Merge "Fix warnings in windows build"Daniele Di Proietto
2022-06-30Merge "gn: Minimize rebuilding when commit hash changes"Daniele Di Proietto
2022-06-30Merge "tp: migrate counter dur generator to use modern iterators"Lalit Maganti
2022-06-30Merge "tp: improve vtable benchmark"Lalit Maganti
2022-06-30tools: require prebuilt command to match exactly with passed archLalit Maganti
If we don't exact match the arch, we can end up accidentially choosing the wrong binary in tools/record_android_trace Change-Id: I7c2ea02b2d6895d7fa4e1f6f399339609fa476cd Fixed: 237662520
2022-06-30Merge "docs: add info about versioned traceconv downloads"Hector Dearman
2022-06-30Merge "[ui] Optimise the query to select flow chrome custom names."Alexander Timin
2022-06-30tp: improve vtable benchmarkLalit Maganti
Change-Id: I574146e1e704110a5bfcf60d66158e7d07754a9f
2022-06-30Merge "[ui] Do not use half-width table in the slice details panel"Alexander Timin
2022-06-30tp: be more strict when deciding launch typesLalit Maganti
Hot starts are now a strict subset of warm which are strict subset of cold. This prevents bindService calls (which also bindApplication) from being counted as startups. Bug: 237506848 Change-Id: I40693d7a0877b0a2511188273937a4331f574e8c
2022-06-30tp: migrate counter dur generator to use modern iteratorsLalit Maganti
Change-Id: Id86b0362edf057baeb0f9a436e58441b37088944
2022-06-30Merge "[ui] Fix stack sampling panel auto-closing when clicking on a slice."Alexander Timin
2022-06-30[ui] Optimise the query to select flow chrome custom names.Alexander Timin
Current query degrades into O(N^2) complexity with the sqlite implementation. Use a function instead. R=ddrone@google.com Change-Id: I48f81669c156b9c509204dccca71ea3a2f08dfe0
2022-06-30[ui] Do not use half-width table in the slice details panelAlexander Timin
R=ddrone@google.com Change-Id: I94e116d2e0cb9a3ae0a03bb690f6aea15927f82b
2022-06-30gn: Minimize rebuilding when commit hash changesDaniele Di Proietto
Today, src/base:base depends on a generated header that embeds the perfetto version (therefore the repository commit hash). Since almost everything depends on src/base:base, when the commit hash changes, everything is rebuilt. This is kind of wasteful when changing commits often (e.g., when doing bisects). This commit fixes the problem by putting version header into its own gn target, which is going to be depended on by only a few other targets. This avoids, for example, rebuilding the protoc_plugin, which triggers the recompilation on most of the perfetto code. Change-Id: I68140570e1abda489d9f30582eed5f8ddb7b3ead
2022-06-30Fix warnings in windows buildDaniele Di Proietto
Commit 7690522fa("perfetto: remove protobuf gn config from pbzero generator") removed some flags that disabled a bunch of warnings. It broke the windows build (at least on my machine). This commit fixes all the warnings on windows. Change-Id: I2651ba34f3031d72aee894559fe3a0eb613688f3
2022-06-30Merge "tools: allow specifying a different origin for open_trace_in_ui"Lalit Maganti
2022-06-30Use CUJ instrumentation markers to detect canceled CUJsMarcin Oczeretko
Also adds an ID column to the cujs table. This is a first step to start processing >1 CUJ a single trace Change-Id: Icc2a559f7912f5a3fb9a56d14e2a4146710f43e6
2022-06-30Merge "Project import generated by Copybara."Kartar Singh
2022-06-30Merge "[Client API] Add WillClearIncrementalState callback"Mikhail Khokhlov
2022-06-30[Client API] Add WillClearIncrementalState callbackMikhail Khokhlov
Some Chrome trace events require to be emitted periodically on incremental state reset. Examples include application state tracing and power mode tracing. Without client library, this is done by subscribing for a 'OnIncrementalStateCleared' callback from TraceLog. This CL adds a similar callback to the client library. Bug: b/231966583 Change-Id: I290997664094364f9c2592fe56e4a365f596d816
2022-06-29Merge "tp: cleanup functions even if they error"Treehugger Robot
2022-06-29Merge "update-statsd-descriptor: Include all protos in the descriptor"Lalit Maganti
2022-06-29tools: allow specifying a different origin for open_trace_in_uiLalit Maganti
This allows the trace to be opened in a local UI instance not just in ui.perfetto.dev. Change-Id: If5f0eaac700c04ded102f839f5bdf884d82dd1e3
2022-06-29tp: cleanup functions even if they errorLalit Maganti
Bug: 237506848 Change-Id: Ibb642563ee788ad29db06e4760d84438f70beba4
2022-06-29Merge "Remove extraneous "1" from AndroidManifest.xml"Treehugger Robot