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

Name each PD with seL4_DebugNameThread #235

Closed
midnightveil opened this issue Oct 27, 2024 · 5 comments · Fixed by #255
Closed

Name each PD with seL4_DebugNameThread #235

midnightveil opened this issue Oct 27, 2024 · 5 comments · Fixed by #255

Comments

@midnightveil
Copy link
Contributor

It would be useful if microkit setup the names of each thread with seL4_DebugNameThread() so that it was obvious which PD caused certain debug prints, e.g.

<<seL4(CPU 0) [decodeInvocation/646 T0x8040278400 "child of: 'rootserver'" @201d28]: Attempted to invoke a null cap #77.>>

Could tell us the name of the PD instead of just "child of 'rootserver'".

@Ivan-Velickovic
Copy link
Collaborator

I was thinking of doing this but wouldn't it just be solved by #174?

@midnightveil
Copy link
Contributor Author

Yeah probably. But it would still be useful...

@Ivan-Velickovic
Copy link
Collaborator

Agreed. Will add this as well then.

@andybui01
Copy link

The main use for this would be seL4_DebugDumpScheduler would actually display something useful :)

@Ivan-Velickovic
Copy link
Collaborator

The main use for this would be seL4_DebugDumpScheduler would actually display something useful :)

When have you found the need to use seL4_DebugDumpScheduler ?

If it's something people are doing often it means that Microkit should support more debugging infrastructure. I've only used it while developing Microkit from memory.

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 a pull request may close this issue.

3 participants