Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Perfetto - Support Android 12 CPU Scheduling CallStacks #52

Open
ivberg opened this issue Oct 1, 2021 · 0 comments
Open

[Feature] Perfetto - Support Android 12 CPU Scheduling CallStacks #52

ivberg opened this issue Oct 1, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ivberg
Copy link
Contributor

ivberg commented Oct 1, 2021

Having this feature would enable the Perfetto plugin to show CPU Scheduling callstacks of both kernel & user-mode either at the system or process level. What is collected is dependent on the tracing config.

Users could easily see:
-In CPU Scheduling for a given High CPU% process (or any grouping/aggregation) the top callstacks aggregated together

This would mean users can perform manual wait analysis / critical path analysis; and improve system and app performance. Not only could they see the Process & Thread that led to a Wakeup, but the callstacks of what is about to run (what code was blocked before or not running) and the callstack of the alerter (the code that led to the wakeup)

Callstacks are dependent on this issue in Perfetto -
Feature - Support callstack capturing for cpu scheduling events

At the capture level, this is Android 12 only and supposedly works in that version although the documentation to capture a trace is a bit cryptic at the moment.

@ivberg ivberg added the enhancement New feature or request label Oct 1, 2021
@ivberg ivberg changed the title Support CPU Scheduling CallStacks [Feature] Support CPU Scheduling CallStacks Oct 1, 2021
@ivberg ivberg changed the title [Feature] Support CPU Scheduling CallStacks [Feature] Support Android 12 CPU Scheduling CallStacks Oct 1, 2021
@ivberg ivberg changed the title [Feature] Support Android 12 CPU Scheduling CallStacks [Feature] Perfetto - Support Android 12 CPU Scheduling CallStacks Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants