Skip to content

feat: add android schedstat support#395

Merged
rcoh merged 2 commits into
dial9-rs:mainfrom
nickrobinson:android-schedstat
May 12, 2026
Merged

feat: add android schedstat support#395
rcoh merged 2 commits into
dial9-rs:mainfrom
nickrobinson:android-schedstat

Conversation

@nickrobinson
Copy link
Copy Markdown
Contributor

This PR updates the target_os flags to enable schedstat support for android. Android has the same /proc/self/task/<tid>/schedstat file descriptor as typical linux systems. The running process is able to access it without running into permissions issues.

Here is a screenshot of a trace pulled from a Pixel 7 emulator running locally:

Screenshot 2026-05-12 at 5 49 13 AM

Related: #393

This PR updates the target_os flags to enable schedstat support for android. Android has the same /proc/self/task/<tid>/schedstat file descriptor as typical linux systems. The running process is able to access it without running into permissions issues.
Copy link
Copy Markdown
Contributor

@rcoh rcoh left a comment

Choose a reason for hiding this comment

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

Thanks!

@rcoh rcoh enabled auto-merge May 12, 2026 10:24
@rcoh
Copy link
Copy Markdown
Contributor

rcoh commented May 12, 2026

Looks like a couple of CI failures

auto-merge was automatically disabled May 12, 2026 12:40

Head branch was pushed to by a user without write access

@rcoh rcoh added this pull request to the merge queue May 12, 2026
Merged via the queue into dial9-rs:main with commit 5e905e8 May 12, 2026
20 checks passed
@nickrobinson nickrobinson mentioned this pull request May 18, 2026
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.

2 participants