Skip to content

fix(tls): create TLS for idle task when instrumenting the kernel#2227

Merged
mkroening merged 2 commits intomainfrom
idle-task-tls
Feb 10, 2026
Merged

fix(tls): create TLS for idle task when instrumenting the kernel#2227
mkroening merged 2 commits intomainfrom
idle-task-tls

Conversation

@jounathaen
Copy link
Member

@jounathaen jounathaen commented Feb 5, 2026

Fixes #2225

image

This PR introduces a instrument-mcount feature replacing --instrument-mcount. If that feature is present, we enable mcount-based instrumentation and create a TLS for the idle task.

Loading
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.

Thread local storage is not initialized for the idle/root task -> rftrace failing with infinite recursion in idle task

2 participants