sched: Implement a SCHED_BUG() that prints more information
Bug such as #23751 (moved) and #23676 (moved) are very difficult to diagnose or reproduce so once we hit a BUG(), we should try to extract as much information as we can from the channel and state of the scheduler.
Thus I propose SCHED_BUG().
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information