Skip to content

Add CUJ counters to stdlib.#1992

Merged
LalitMaganti merged 3 commits intogoogle:mainfrom
devianb:stdlib_migration
Jul 11, 2025
Merged

Add CUJ counters to stdlib.#1992
LalitMaganti merged 3 commits intogoogle:mainfrom
devianb:stdlib_migration

Conversation

@devianb
Copy link
Contributor

@devianb devianb commented Jul 2, 2025

Move CUJ counter information to perfetto stdlib. Remove local tables outside the stdlib, and eventually remove
src/trace_processor/metrics/sql/android/jank/internal/counters.sql.

Bug: 400855183
Test: tools/diff_test_trace_processor.py --keep-input --name-filter ".*android_jank_cuj\b" out/linux_clang_debug/trace_processor_shell

@devianb devianb requested a review from a team as a code owner July 2, 2025 06:14
@devianb devianb force-pushed the stdlib_migration branch from 0cad186 to 1353fdb Compare July 2, 2025 09:10
Move CUJ counter information to perfetto stdlib. Remove local tables
outside the stdlib, and eventually remove
src/trace_processor/metrics/sql/android/jank/internal/counters.sql.

Bug: 400855183
Test: tools/diff_test_trace_processor.py --keep-input --name-filter ".*android_jank_cuj\b" out/linux_clang_debug/trace_processor_shell
@devianb devianb force-pushed the stdlib_migration branch from 1353fdb to 4ff760d Compare July 10, 2025 09:55
@LalitMaganti LalitMaganti merged commit 759bb60 into google:main Jul 11, 2025
15 of 16 checks passed
devianb added a commit that referenced this pull request Oct 8, 2025
LalitMaganti pushed a commit that referenced this pull request Oct 8, 2025
This reverts commit 759bb60.

Reason: 450204550
devianb added a commit that referenced this pull request Dec 2, 2025
The original change was reverted as counter metrics reported were
incorrect in certain cases, due to different cuj_ids in the sysui jank
table. The change is re-applied now, but using the android_jank_cujs
base table from stdlib, instead of the android_sysui_jank_latency_cujs
table.

Test: tools/diff_test_trace_processor.py --keep-input --name-filter
".*android_jank_cuj\b" out/linux_clang_debug/trace_processor_shell
devianb added a commit that referenced this pull request Dec 11, 2025
The original change was reverted as counter metrics reported were
incorrect in certain cases, due to different cuj_ids in the sysui jank
table. The change is re-applied now, but using the android_jank_cujs
base table from stdlib, instead of the android_sysui_jank_latency_cujs
table.

Test: tools/diff_test_trace_processor.py --keep-input --name-filter
".*android_jank_cuj\b" out/linux_clang_debug/trace_processor_shell
devianb added a commit that referenced this pull request Dec 13, 2025
The original change was reverted as counter metrics reported were
incorrect in certain cases, due to different cuj_ids in the sysui jank
table. The change is re-applied now, but using the android_jank_cujs
base table from stdlib, instead of the android_sysui_jank_latency_cujs
table.

Test: tools/diff_test_trace_processor.py --keep-input --name-filter
".*android_jank_cuj\b" out/linux_clang_debug/trace_processor_shell
olehkuznetsov pushed a commit to olehkuznetsov/perfetto that referenced this pull request Mar 12, 2026
Move CUJ counter information to perfetto stdlib. Remove local tables
outside the stdlib, and eventually remove
src/trace_processor/metrics/sql/android/jank/internal/counters.sql.

Bug: 400855183
Test: tools/diff_test_trace_processor.py --keep-input --name-filter
".*android_jank_cuj\b" out/linux_clang_debug/trace_processor_shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants