tp: parse process name, start seq id, and remap process start time - #7130
Draft
parthsane wants to merge 3 commits into
Draft
tp: parse process name, start seq id, and remap process start time#7130parthsane wants to merge 3 commits into
parthsane wants to merge 3 commits into
Conversation
Add AndroidProcessStateSnapshot and AndroidFreezerStateSnapshot trace packet extension protos. Extract UnfreezeReason enum into frameworks_base_common.proto and register track event extensions.
Add android_process_state Trace Processor plugin to parse AndroidProcessStateSnapshot and AndroidFreezerStateSnapshot dump packets, and synthesize initial process states combined with incremental track events. Includes unit tests and diff tests.
Adds support for process_name, start_seq_id, and start_time_ms to the android_process_state plugin. Specifically: - Adds process_name and start_seq_id columns to __intrinsic_android_process_state. - Overrides TokenizePacket on AndroidProcessStateModule to convert start_time_ms to boottime/monotonically-synchronized trace time and synthesize chronologically sorted single-record process state dump packets before normal packet ingestion. - Updates main process table name and start_ts from AndroidProcessState snapshot records.
parthsane
marked this pull request as draft
August 18, 2026 22:21
🎨 Perfetto UI Builds
|
parthsane
force-pushed
the
dev/parthsane/add_process_dump_module
branch
6 times, most recently
from
August 24, 2026 16:40
5067ce9 to
f96a019
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for process_name, start_seq_id, and start_time_ms to the android_process_state plugin.
Specifically: