Repository navigation
prof: the profiling device is #K, and prof(1) has a /prof to bind on - #1037
Merged
Merged
Conversation
prof(1) had not worked in this tree: profile.b binds the profiling device on /prof, and the emulators' root had no /prof, which upstream Inferno's has -- "cannot bind prof device to /prof: '/prof' file does not exist", on master, for any command. Every emulator config that builds the profiler has /prof in its root again. And the device moves from #P to #K, kprof's letter in Plan 9, 9front and Inferno's native kernels (docs/DEVICE-LETTERS.md), so that #P is arch everywhere: on a native kernel profile.b's bind of #P succeeded onto the arch device. devprof.c, profile.b, prof(3). tests/host/prof_test.sh, in CI: #K is the profiler, /prof exists, #P is not the profiler in the emulator, and prof -e samples a running sh. On master it fails; here it passes, three runs of three. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T5tjh7MFpJjYJnvTT33utv
pdfinn
pushed a commit
that referenced
this pull request
Nov 1, 2026
…y moved to devletters.py --check failed on master: #1037 and #1039 moved the devices and #1036, landing after, had them only as planned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0195u6z8JjsAy9yrE5TqKxzx
pdfinn
pushed a commit
that referenced
this pull request
Nov 1, 2026
#1037, #1038, #1039 and #1040 merged around the registry (#1036), so master's devletters_test failed: #K prof, #X vm, #x bench, #z wmsz and #h tfa were in use and still "reserved" here. Their rows are in use; #P is arch only; #b, #w and #F are free here, at their precedents' meanings, #w and #F now reserved for a watchdog and flash. The planned moves are the moves made. tools/devletters.py --check: PASS, 36 letters in use across 20 builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T5tjh7MFpJjYJnvTT33utv (cherry picked from commit d147d1b)
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two fixes, both found while aligning device letters (#1036).
1.
prof(1)had not worked in this tree.appl/lib/profile.bbinds the profiling device on/prof, but the emulators' root had no/prof; upstream Inferno's does. On master, for any command, it fails withprof: cannot initialize profile device: cannot bind prof device to /prof: '/prof' file does not exist./profin its root again.2. The profiler moves from
#Pto#K.#Kis kprof's letter in Plan 9, 9front and Inferno's native kernels. After the move,#Pis arch everywhere, as in all three.profile.b's bind of#Pused to succeed onto the arch device.emu/port/devprof.c,profile.b,prof(3).For hosted users: a script that binds
#Pitself must now bind#K. Nothing in this tree does, apart fromprofile.b.Test:
tests/host/prof_test.sh, in CI host tests.#Kis the profiler,/profexists,#Pis not the profiler in the emulator, andprof -esamples a runningsh.Order with #1036: whichever merges second must update the registry's
#Krow (prof, hosted) and its#Prow (arch only). The registry check will say so.🤖 Generated with Claude Code
https://claude.ai/code/session_01T5tjh7MFpJjYJnvTT33utv