Skip to content

feat: port contrib/watch-sched-debug from Perl to Python3#30

Merged
k-rister merged 2 commits into
masterfrom
python-watch-sched-debug
May 12, 2026
Merged

feat: port contrib/watch-sched-debug from Perl to Python3#30
k-rister merged 2 commits into
masterfrom
python-watch-sched-debug

Conversation

@k-rister
Copy link
Copy Markdown
Contributor

Summary

  • Port contrib/watch-sched-debug from Perl to Python3
  • Add --file flag for configurable sched debug path with auto-detection of /sys/kernel/debug/sched/debug (newer kernels) and /proc/sched_debug (older kernels)
  • Remove the Perl version

Test plan

  • --help displays usage
  • --count 2 --interval 1 --cpus 0 produces correct diff output
  • Auto-detects sched debug file path
  • Syntax check passes

🤖 Generated with Claude Code

k-rister and others added 2 commits May 11, 2026 10:02
Adds --file flag for configurable sched debug path with auto-detection
of /sys/kernel/debug/sched/debug and /proc/sched_debug for older kernels.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replaced by watch-sched-debug.py in the previous commit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@k-rister k-rister self-assigned this May 11, 2026
@k-rister k-rister requested a review from a team May 11, 2026 15:03
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking May 11, 2026
@k-rister k-rister merged commit 4a66704 into master May 12, 2026
38 checks passed
@k-rister k-rister deleted the python-watch-sched-debug branch May 12, 2026 00:51
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Crucible Tracking May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants