diff options
author | Tejun Heo <[email protected]> | 2024-08-07 14:52:50 -1000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2024-08-08 13:42:37 -1000 |
commit | 344576fa6a69ce1292ef669c8d50c2088c36dc1e (patch) | |
tree | 5dffcd338f0e464dcd7e41445c44dfbcde488bd7 /scripts/gdb/linux/stackdepot.py | |
parent | 991ef53a4832941c8130008ef35c66ec88c7fa0f (diff) |
sched_ext: Improve logging around enable/disable
sched_ext currently doesn't generate messages when the BPF scheduler is
enabled and disabled unless there are errors. It is useful to have paper
trail. Improve logging around enable/disable:
- Generate info messages on enable and non-error disable.
- Update error exit message formatting so that it's consistent with
non-error message. Also, prefix ei->msg with the BPF scheduler's name to
make it clear where the message is coming from.
- Shorten scx_exit_reason() strings for SCX_EXIT_UNREG* for brevity and
consistency.
v2: Use pr_*() instead of KERN_* consistently. (David)
Signed-off-by: Tejun Heo <[email protected]>
Suggested-by: Phil Auld <[email protected]>
Reviewed-by: Phil Auld <[email protected]>
Acked-by: David Vernet <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions