Skip to content

Conversation

@devianb
Copy link
Contributor

@devianb devianb commented Oct 30, 2025

This table is a stdlib version of the android_jank_cuj table present at
src/trace_processor/metrics/sql/android/jank/cujs.sql
This table will read CUJ slices from a common place, to keep the cuj_id
logic unified.

Bug: 456326892

As part of the stdlib migration, we plan to move the
android_jank_cuj table to stdlib. As a first step, move the generic
tables to a separate module, which will contain CUJ jank information
for all relevant processes.

Bug: 456326892
Test: tools/diff_test_trace_processor.py --keep-input --name-filter ".*sysui_jank_cujs.*" out/linux_clang_debug/trace_processor_shell
This table is a stdlib version of the android_jank_cuj table present at
src/trace_processor/metrics/sql/android/jank/cujs.sql
This table will read CUJ slices from a common place, to keep the cuj_id
logic unified.

Bug: 456326892
@devianb devianb requested a review from a team as a code owner October 30, 2025 08:02
@devianb devianb requested review from elrakadm and nicomazz October 31, 2025 05:59
) AS
SELECT
cuj.*,
_extract_cuj_name_from_slice(cuj.cuj_slice_name) AS cuj_name,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this function should be part of the base module, and not in sysu_cujs modules as this will be a circular dependency ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in the base module. It was moved here in this PR:
#3457

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