Skip to content

fix: turbostat filename mismatch, missing post-process, and other bugs#55

Open
k-rister wants to merge 1 commit into
masterfrom
fix-critical-bugs-383
Open

fix: turbostat filename mismatch, missing post-process, and other bugs#55
k-rister wants to merge 1 commit into
masterfrom
fix-critical-bugs-383

Conversation

@k-rister

Copy link
Copy Markdown
Contributor

Summary

  • Turbostat data never archived: kerneltools-start writes to turbostat-stdout.txt but kerneltools-stop looks for turbostat-out.txt. Fixed filename in stop script to match.
  • Non-existent post-process script: rickshaw.json referenced kerneltools-post-process which doesn't exist. Removed the controller block.
  • Copy-paste in --interval handler: Echo printed turbo_freq instead of interval.
  • Undefined $trace_cmd_functions: Log message referenced a variable that was never set. Changed to use $trace_cmd_record_opts.
  • Scientific notation in boot_to_epoch.py: .6g format switches to scientific notation on long-uptime systems, breaking perf report --time parsing. Changed to .6f for fixed-point.
  • Typos: epocepoch (5x), offsectoffset, inidicateindicate.

Jira

Test plan

  • bash -n passes on both shell scripts
  • python3 -m py_compile passes on boot_to_epoch.py
  • jq . validates rickshaw.json
  • CI workflow passes

🤖 Generated with Claude Code

kerneltools-stop:
- turbostat-out.txt → turbostat-stdout.txt to match what
  kerneltools-start actually writes — turbostat data was never
  archived due to the filename mismatch

kerneltools-start:
- --interval echo printed turbo_freq instead of interval (copy-paste)
- trace-cmd log referenced undefined $trace_cmd_functions — changed
  to use $trace_cmd_record_opts which is actually set

rickshaw.json:
- Remove controller.post-script reference to non-existent
  kerneltools-post-process script

boot_to_epoch.py:
- .6g → .6f format — .6g switches to scientific notation on systems
  with long uptime, breaking perf report --time parsing
- Fix epoc → epoch, offsect → offset, inidicate → indicate typos
- Rename epoc variables to epoch for consistency

Closes: #54

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@k-rister k-rister self-assigned this Jun 30, 2026
@k-rister k-rister requested a review from a team June 30, 2026 15:35
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant