google / google/perfetto

UI: improve Android Logs filtering while preserving timeline interaction

Open
#7,429 1 comment 0 reactions 0 assignees View on GitHub
ui
Dominant language
C++
Stars
6.5k
Forks
868
Avg merge
2d 1h
Merged PRs (30d)
218

Description

Android logs can be filtered arbitrarily with SQL, but query results lose an important interaction available only in timeline Android Logs panel: hovering over a line of log shows its timestamp as a vertical line on the timeline.

This is extremely useful for quickly:

- correlating a log with nearby atrace events;
- seeing whether logs are dense or sparse;
- recognizing bursts of logs separated by idle periods.

PR #3576 makes the filtering feature more powerful by adding pid/tid filter in addition to tag/level/whole_line and there is even autocomplete, very neat. I think it is already a valuable improvement and worth merging.

More advanced features such as NOT, explicit boolean expressions, clearer AND/OR semantics, and process/thread-name filtering would be useful follow-ups, but should not block the current patch.

Contributor guide

Open the contributing guide

Research direction

Start with PR #3576 and the timeline Android Logs panel, since the issue describes the filtering changes and the interaction that must be preserved. Verify that the added filters and autocomplete work while hovering a log still shows its timestamp as a vertical timeline line; the existing correlations and density views should remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cpp, sql
Domain
data-visualization, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.